Package: twiki
Version: 1:4.1.2-5
Severity: wishlist

I tried to install
http://twiki.org/cgi-bin/view/Plugins/ActionTrackerPlugin, but so far
have been unable to get it to work.  This report details the steps I
took and then offers some comments and requests.

I downloaded the file and unpacked it in /var/lib/twiki.
I ran ./ActionTrackerPlugin_installer.  This told me
************************************************************
Could not load installer script from tools/extender.pl.

If this is a TWiki release prior to 4.2, please download the
latest version of the script from:

http://twiki.org/cgi-bin/view/Codev/ExtenderScript

and place it in the 'tools' directory below your installation
root (create the directory if necessary).

If this is TWiki 4.2 or later, the script is missing from
your installation, or may be broken.
************************************************************
The URL was invalid, but I found
http://twiki.org/cgi-bin/view/Codev/WebHome?topic=ExtenderScript and
installed that.

I ran the install.  
I think the plugin did not appear in twiki's configuration page.
The plugin files all had user and group root and permissions that did
not give access to others.  I reset ownership on some files to
www-data.

I also tried using the install script to remove the plugin (as root)
and then install it as www-data.  The latter failed because it
couldn't write to some directories, and so I reinstalled as root and
changed some ownership.

I enabled the plugin on the twiki configuration page.

Now I get errors in the apache log like
[Sat Nov 22 19:52:17 2008] [error] [client 198.144.201.14] Subroutine 
TWiki::Configure::Checker::tmpnam redefined at (eval 108) line 2, referer: 
http://betterworld.us/twiki/bin/view/TWiki/TWikiPlugins
[Sat Nov 22 19:52:17 2008] [error] [client 198.144.201.14] Subroutine 
TWiki::Configure::Checker::tmpfile redefined at (eval 108) line 2, referer: 
http://betterworld.us/twiki/bin/view/TWiki/TWikiPlugins
[Sat Nov 22 19:54:39 2008] [error] [client 198.144.201.14] Subroutine 
TWiki::Configure::Checker::tmpnam redefined at (eval 108) line 2
[Sat Nov 22 19:54:39 2008] [error] [client 198.144.201.14] Subroutine 
TWiki::Configure::Checker::tmpfile redefined at (eval 108) line 2
[Sat Nov 22 19:56:16 2008] [error] [client 198.144.201.14] Can't locate 
TWiki/Plugins/AccessStatsPlugin.pm in @INC (@INC contains: /etc/twiki /etc/perl 
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .) at (eval 53) line 1., referer: 
http://betterworld.us/twiki/bin/configure
[Sat Nov 22 19:56:16 2008] [error] [client 198.144.201.14] BEGIN 
failed--compilation aborted at (eval 53) line 1., referer: 
http://betterworld.us/twiki/bin/configure
[and many more modules unlocatable]

COMMENTS
1. I am new to twiki, and so may be doing something wrong.

2. The failure of the install script on TWiki 4.1 is as expected from
the plugin documentation.  The dead reference to the ExtenderScript is
the fault either of the plugin or the website, or both.

3. Although providing 4.2, as requested in bug #462560, would
presumably fix the problem, I actually want to use 4.1 since the
production site, which I do not control and is probably not on Debian,
uses it.

4. Adding the extender.pl script to the package would be helpful.

5. Unpacking the tar file in /var/lib/twiki may have been a mistake,
though the plugin installation instructions seem to say to do that:
  "2. Unpack the archive in the root directory of your TWiki
  installation. "
At first I tried just untarring and running.  This didn't work, and is
also inconsistent with the installation instructions.

6. Most of the stuff in the Debian package seems to be root:root but
world readable/executable.  In contrast, the installation script seems
to install with modes that give no world access, and therefore assumes
that the apache daemon is in the installation group (I think this is
www-data on Debian).  If the plugins approach is conventional, it
might be good to change the ownership of the files in the package.

7. Some hints in README.Debian might be a solution to this problem.

8. The plugin may just be broken under 4.1.

9. Bug #292474 requests a separate spot under /usr/local for locally
installed plugins.  I don't think that would directly solve the
problems above, but it would certainly make things cleaner.

10. The Perl @INC path does not include the twiki directories.  I'm
not sure if that's a problem.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (40, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages twiki depends on:
ii  apache2-mpm-worker [apache 2.2.9-10      Apache HTTP Server - high speed th
ii  debconf [debconf-2.0]      1.5.24        Debian configuration management sy
ii  libalgorithm-diff-perl     1.19.02-1     a perl library for finding Longest
ii  libcgi-session-perl        4.35-1        Persistent session data in CGI app
ii  libdigest-sha1-perl        2.11-2+b1     NIST SHA-1 message digest algorith
ii  liberror-perl              0.17-1        Perl module for error/exception ha
ii  libhtml-parser-perl        3.56-1+b1     A collection of modules that parse
ii  liblocale-maketext-lexicon 0.66-1        Lexicon-handling backends for "Loc
ii  libtext-diff-perl          0.35-3        Perform diffs on files and record 
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  perl [libmime-base64-perl] 5.10.0-17     Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl] 5.10.0-17     Core Perl modules
ii  rcs                        5.7-23        The GNU Revision Control System

twiki recommends no packages.

Versions of packages twiki suggests:
ii  libunicode-maputf8-perl       1.11-2     Perl module for conversing between

-- debconf information:
* twiki/samplefiles: true
* twiki/wikiwebmaster: [EMAIL PROTECTED]
* twiki/defaultUrlHost: http://localhost/
* twiki/apacheUserCreationNote:
* twiki/adminuser: admin
  twiki/password_mismatch:



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to