This question about Using an extension: Answered

Error after transfer to new server

Hi

After I have transfered my old Foswiki installation to a new server I get the following error when I try to enter a page that uses the Action Tracker mplugin:
Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.

Can't locate Timepath in @INC (@INC contains: D:path . C:path C:path D:path D:path-x86-multi-thread D:path D:path)

In the Foswiki log it say:

2012-08-22T08:54:12Z warning Can't locate Time/ParseDate.pm in @INC (@INC contains: D:/www/foswiki/lib . ...

Any good ideas what the issue is about?

Thanks, Peter

-- PeterSvendsen - 22 Aug 2012

Looks like you might have missed one of the perl CPAN dependencies for that plugin. From the dependencies file:

  • = Time::ParseDate,>=2003.0211,cpan,Required. Available from the CPAN archive.=

The extension installer should have reported it while installing the extension, but the message might have been lost in the noise. You can rerun the dependencies check from the command line for any extension installed from configure:

> perl working/configure/pkgdata/ActionTrackerPlugin_installer dependencies

Or if you need to download the package again:

> perl tools/extension_installer ActionTrackerPlugin dependencies
Do you want to use locally found installer scripts and archives to install ActionTrackerPlugin and any dependencies.                                                                                                           
If you reply n, then fresh copies will be downloaded from this repository.? [y/n] y                                                                                                                                            
Package repository set to http://foswiki.org/pub/Extensions                                                                                                          
                                                                                                                                                                                                                            
 ... locally found installer scripts and archives will be used if available 
                               
Unable to find ActionTrackerPlugin locally in /var/www/Foswiki-1.1.5 ...fetching installer from http://foswiki.org/pub/Extensions/ ... succeeded

Time::ParseDate version 2011.0517 loaded

Foswiki::Contrib::JSCalendarContrib version 1.5.1 loaded
  
Foswiki::Plugins::JQueryPlugin version 4.44 loaded

JSON version 2.53 loaded                                                                                                                          

-- GeorgeClark - 22 Aug 2012

Hi George Thanks for your help. I'm a bit unsecure what you think I should do, should I: Install the ActionTrackerPlugin agian

I tried to do the command "perl tools/extension_installer ActionTrackerPlugin dependencies" but the server is not connected to the internet (and I can not get to the net either) and got this error insted

D:\www\foswiki>perl tools/extension_installer ActionTrackerPlugin dependencies Use of qw(...) as parentheses is deprecated at D:/www/foswiki/lib/Foswiki/Plugin s/ChartPlugin.pm line 90. Use of qw(...) as parentheses is deprecated at D:/www/foswiki/lib/Foswiki/Plugin s/JHotDrawPlugin.pm line 248. Use of qw(...) as parentheses is deprecated at D:/www/foswiki/lib/Foswiki/Plugin s/WorkflowPlugin.pm line 537. Use of qw(...) as parentheses is deprecated at D:/www/foswiki/lib/Foswiki/Plugin s/WorkflowPlugin.pm line 604.

It looks like you don't have a C compiler and make utility installed. Trying to install dmake and the MinGW gcc compiler using the Perl Package Manager. This may take a a few minutes...

Downloading ActiveState Package Repository packlist...Terminating on signal SIGI NT(2)

When I tried the command "perl working/configure/pkgdata/ActionTrackerPlugin_installer dependencies" I got the same error as above.....

-- PeterSvendsen - 23 Aug 2012

Looks like there are a couple of issues.

  • The initial issue - Can't locate Time/ParseDate.pm ... That's external to foswiki. You need to install the Time::ParseDate module from CPAN or whatever tool your installed perl uses to install modules.

  • The Use of qw() is deprecated issue. Are the 4 plugins listed the newest versions? You appear to be using a newer perl. And the versions of those plugins you have, have not been updated. If you don't have the latest versions, you'll need to download the latest versions from the Extensions Web. if you already have the latest, then please report the error in Tasks.WebHome.

If you can come onto the IRC channel, we can probably help you patch your extensions. What version and "brand" of perl are you using on Windows? Strawberry Perl, ActiveState, Cygwin? ...

-- GeorgeClark - 23 Aug 2012

After help from you and the chat it seems that it finally works... Installed strawberry perl insted of activeperl and ParseDate module.....

Thanks for your help. BR, Peter

-- PeterSvendsen - 24 Aug 2012
 

QuestionForm edit

Subject Using an extension
Extension ActionTrackerPlugin
Version Foswiki 1.1.5
Status Answered
Related Topics
Topic revision: r5 - 24 Aug 2012, PeterSvendsen - This page was cached on 15 Jan 2018 - 21:15.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License