Tags:
create new tag
view all tags

Question

I have been battling for several hours to install ActionTrackerPlugin, I have searched and not found (so far) an answer for this problem.

When installing the ActionTrackerPlugin I get the following error

"illegal characters in file name component NOT SET of filename NOT SET/TWiki/ActionTrackerPlugin.txt at /Twiki/lib/TWiki/Sandbox.pm line 140."

I don't know what this means or what I should do to track it/where I should go to look... I am asking for help as I have spent 4 or 5 hours on getting my Twiki to work and I am getting quite frustrated at the difficulty in getting things working.... Any help appreciated

This is the full install output:-

I will keep a backup of any files I overwrite.
Fetching the archive for TWiki::Plugins::ActionTrackerPlugin.
/Twiki/ActionTrackerPlugin.tgz exists on this machine; would you like me to use it?
It was created on Fri Mar  9 17:05:43 2007.
If not, I will try to download a new one.
Use existing /Twiki/ActionTrackerPlugin.tgz? [y/n] y
Got a local archive from /Twiki/ActionTrackerPlugin.tgz
    ActionTrackerPlugin_installer
    ActionTrackerPlugin_installer.pl
    data/
    data/TWiki/
    data/TWiki/ActionTrackerPlugin.txt
    data/TWiki/ActionTrackerPluginQBE.txt
    lib/
    lib/TWiki/
    lib/TWiki/Plugins/
    lib/TWiki/Plugins/ActionTrackerPlugin.pm
    lib/TWiki/Plugins/ActionTrackerPlugin/
    lib/TWiki/Plugins/ActionTrackerPlugin/Action.pm
    lib/TWiki/Plugins/ActionTrackerPlugin/ActionNotify.pm
    lib/TWiki/Plugins/ActionTrackerPlugin/ActionSet.pm
    lib/TWiki/Plugins/ActionTrackerPlugin/AttrDef.pm
    lib/TWiki/Plugins/ActionTrackerPlugin/Format.pm
    pub/
    pub/TWiki/
    pub/TWiki/ActionTrackerPlugin/
    pub/TWiki/ActionTrackerPlugin/styles.css
    pub/TWiki/ActionTrackerPlugin/juggle.gif
    templates/
    templates/actionnotify.tmpl
    templates/edit.action.tmpl
    templates/actionform.tmpl
    tools/
    tools/actionnotify
Archive unpacked
Install templates/actionnotify.tmpl, permissions 0440
Install data/TWiki/ActionTrackerPlugin.txt, permissions 0660
Install tools/actionnotify, permissions 0555
Install lib/TWiki/Plugins/ActionTrackerPlugin/AttrDef.pm, permissions 0440
Install lib/TWiki/Plugins/ActionTrackerPlugin/Action.pm, permissions 0440
Install lib/TWiki/Plugins/ActionTrackerPlugin.pm, permissions 0440
Install templates/actionform.tmpl, permissions 0440
Install templates/edit.action.tmpl, permissions 0440
Install pub/TWiki/ActionTrackerPlugin/styles.css, permissions 0660
Install pub/TWiki/ActionTrackerPlugin/juggle.gif, permissions 0660
Install lib/TWiki/Plugins/ActionTrackerPlugin/Format.pm, permissions 0440
Install lib/TWiki/Plugins/ActionTrackerPlugin/ActionNotify.pm, permissions 0440
Install data/TWiki/ActionTrackerPluginQBE.txt, permissions 0660
Install lib/TWiki/Plugins/ActionTrackerPlugin/ActionSet.pm, permissions 0440
Add topic TWiki.ActionTrackerPlugin
##########################################################
Adding topic: TWiki.ActionTrackerPlugin to installation ....
********************************
illegal characters in file name component NOT SET of filename NOT SET/TWiki/ActionTrackerPlugin.txt at /Twiki/lib/TWiki/Sandbox.pm line 140.

********************************
********************************
illegal characters in file name component NOT SET of filename NOT SET/TWiki/ActionTrackerPlugin.txt at /Twiki/lib/TWiki/Sandbox.pm line 140.

********************************
illegal characters in file name component NOT SET of filename NOT SET/TWiki/ActionTrackerPlugin.txt at /Twiki/lib/TWiki/Sandbox.pm line 140.

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian 2.6.8-2-686
Web server: Apache 2.0.52-5sarge1
Perl version: 5.8.4-8sarge5
Client OS: Windows xp
Web Browser: Firefox
Categories: Plugins

-- JulianGuppy - 09 Mar 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Have you tried just enabling it in configure and seeing if it works? Most of the install scripts take care of some nicities like checking dependancies and makeing sure attachements are set up properly, but once the files are unpacked, you usually have everything you actually need

-- JustinLove - 10 Mar 2007

It doesn't appear in the configure listings for me to enable...

-- JulianGuppy - 12 Mar 2007

Have discovered that the script is creating a directory called "not set" in the wiki root and its then complaining about that.... any idea why the script would create a directory called "NOT SET"

-- JulianGuppy - 13 Mar 2007


Adding topic: TWiki.ActionTrackerPlugin to installation ....
********************************
illegal characters in file name component NOT SET of filename NOT SET/TWiki/ActionTrackerPlugin.txt at /Twiki/lib/TWiki/Sandbox.pm line 140.
========================================================
This is the function that complains....

sub normalizeFileName {
    my ($string) = @_;
    return '' unless $string;
    my $absolute = $string =~ /^\//;
    my @result;
    for my $component (split /\//, $string) {
        next unless $component;
        next if $component eq '.';
        if ($component eq '..') {
            throw Error::Simple( 'relative path in filename '.$string );
        } elsif ($component !~ /$TWiki::cfg{NameFilter}/) {
            # We need to untaint the string explicitly.
            # FIXME: This might be a Perl bug.
            push @result, untaintUnchecked( $component );
        } else {
            throw Error::Simple( 'illegal characters in file name component '.
                                   $component.' of filename '.$string );
        }
    }
=====================================================

However I dont know what is being created that gives NOT SET in the filename... i have spent another dayon this and I am desperate for guidance or pointing in the right place as I just don't know where to look...


-- JulianGuppy - 13 Mar 2007

Your TWiki configuration is incomplete. The NOT SET is a default value used if TWiki can't find a valid LocalSite.cfg file. Are you trying to install over a TWiki installation that is known to work? Can the user you are installing as read all the files in the TWiki installation?

-- CrawfordCurrie - 14 Mar 2007

I installed twiki on my debian system by using apt-get install twiki.... and most things seem to work..we have users, logins, we are only using the Main web and we have created pages etc... however, I have obviously missed something somewhere but I dont know enough to find what it is I have a localsite.cfg file which is in my /etc/twiki... should this be somewhere else...

-- JulianGuppy - 15 Mar 2007

Julian, there should be a configure cgi script in /usr/lib/cgi-bin/twiki

this should be accessible via http://yourshos/cgi-bin/configure

it is however secured to localhost in /etc/twiki/apache.conf - so you may need to open that up to get to it from outside the server itself

the last time i heard of this issue, it was due to an old version of the debian package - it should be 4.0.5-9 (stable) or 4.1.2-1 (unstable)

-- SvenDowideit - 24 Apr 2007

Closing this after more than 30 days inactivity; re-open if needed...

-- PeterThoeny - 02 Jun 2007

Change status to:
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2007-06-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.