SID-00118: Perl 5.10 trashes my CalendarPlugin
| Status: |
Answered |
TWiki version: |
4.2.0 |
Perl version: |
5.10 |
| Category: |
CalendarPlugin |
Server OS: |
Debian etch |
Last update: |
17 years ago |
After foolishly updating my servers to perl 5.10 now my wiki's calendar plugin refuses to work at all. The error is "TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
missing HTML::CalendarMonthSimple"
I have installed this module and it still does not work. Any help!!!!
ZK
--
ZakaiKinan - 20 Feb 2009
Discussion and Answer
Verify in the
twiki/bin/view script which Perl is used, typically
/usr/bin/perl. Verify that
HTML/CalendarMonthSimple.pm is in one of it's Perl lib path.
--
PeterThoeny - 20 Feb 2009
I have verified every suggestion from above and still no sugar. I have to say this perl upgrade has been a disaster for me.
TIA for anymore help
Zak
--
ZakaiKinan - 20 Feb 2009
Check the file permissions of
CalendarMonthSimple.pm and its parent directories. They need to be readable by the webserver user.
--
PeterThoeny - 21 Feb 2009
With Debian Etch or Lenny you will need to use CPAN to install the HTML::CalendarMonthSimple.pm module required by
CalendarPlugin. With the Debian package manager (
apt-get install ) , you will install either
libtemplate-plugin-calendar-simple-perl 
containing
Calendar/Simple.pm, or
libhtml-calendarmonth-perl 
containing
CalendarMonth.pm, but there is no debian package containing any file called
CalendarMonthSimple as required by
CalendarPlugin ( ie "missing HTML::CalendarMonthSimple").
See
--
OlivierThompson - 21 Feb 2009
Peter, the
CalendarMonthSimple.pm is under perl and changing the permission did not do anything. Is it supposed to be under twiki?
Olivier, I had already tried both CPAN modules and debian packages and I still get the same error.
Anymore ideas,
Zak
--
ZakaiKinan - 22 Feb 2009
See
http://www.perlmonks.org/?node_id=691399
for how to keep perl 5.8 and perl 5.10 in two separate trees.
BTW, the Debian "Etch" system uses internally perl 5.8, and the Debian "Lenny" uses perl 5.10. Debian "Lenny" is now current stable release since
last week 
. You will get perl 5.10 "out of the box" after a fresh Debian Stable "Lenny" install ( and then use tarball from
http://twiki.org/download.html
) or after
a system upgrade from "Etch" to "Lenny"
( I see you wrote "perl upgrade has been a disaster" : take a look at the debian
"cruft"
command : it will help you check what is installed with apt on your system and what is installed from cpan).
--
OlivierThompson - 22 Feb 2009
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.