Tags:
create new tag
view all tags

SID-02410: Errors with Calender plugin

Status: Answered Answered TWiki version: 6.1.0 Perl version: 5.26.1
Category: CalendarPlugin Server OS: Ubuntu 18.04.02, kernel 4.15.0-54-generic Last update: 6 years ago

Hi,

first a little bug report concerning your website: https://twiki.org/cgi-bin/view/Plugins/CalendarPlugin returns the error message: "missing HTML::CalendarMonthSimple"

The first problem I ran in when installing the CalenderMonthSimple2 plugin was caused by a perl version-related issue in Line 267, 268 of /twiki/lib/TWiki/Plugins/CalendarPlugin.pm Here, the '{}' needed to be escaped '\{ \}' using perl 5.26.1

The second issue which I could not solve yet causes the following error message: "missing HTML::CalendarMonthSimple2" from line 511 of the CalendarPlugin.pm. The first perl library path is /twiki/lib/, and "eval 'require HTML::CalendarMonthSimple';" was finding HTML/CalendarMonthSimple.pm correctly. In the same directory resides the CalendarMonthSimple2.pm with the same permissions and I have no clue what could be the actual cause.

Best wishes, Rene

-- TWiki Guest - 2019-07-12

Discussion and Answer

Actually, when searching plugins by tag, one gets a list https://twiki.org/cgi-bin/view/Plugins/SearchByTags?tag=calendar which allows downloading the plugin without entering the website. Interestingly, the content of this file is quite different from what I downloaded some days ago. Below, the content of the two files is listed.

Archive: CalendarPlugin.zip Length Date Time Name


---------- ----- ---- 0 2010-01-22 00:16 bin/ 1136 2009-06-24 18:10 bin/getical 4104 2010-01-22 01:42 CalendarPlugin _installer 0 2010-01-22 00:16 data/ 0 2010-01-22 00:16 data/TWiki/ 23227 2010-03-29 15:49 data/TWiki/CalendarPlugin.txt 0 2010-01-22 00:16 lib/ 0 2010-01-22 00:26 lib/HTML/ 3648 2009-09-01 17:24 lib/HTML/bubble.js 4079 2010-01-21 12:01 lib/HTML/Cal.css 9592 2009-08-05 22:16 lib/HTML/calendar2.html 50805 2009-08-05 21:08 lib/HTML/CalendarMonthSimple.pm 33869 2010-01-21 20:33 lib/HTML/CalendarMonthSimple2.pm 0 2010-01-22 00:21 lib/HTML/images/ 84 2009-04-22 00:08 lib/HTML/images/btn_next.gif 82 2009-04-22 00:08 lib/HTML/images/btn_prev.gif 4375 2010-01-21 12:08 lib/HTML/images/bubble.png 71 2009-06-27 17:48 lib/HTML/images/continue.gif 9216 2010-01-22 00:18 lib/HTML/images/Thumbs.db 0 2010-01-22 00:16 lib/TWiki/ 0 2010-03-29 15:31 lib/TWiki/Contrib/ 3915 2010-03-29 15:30 lib/TWiki/Contrib/CalSync.pm 0 2010-03-29 15:31 lib/TWiki/Plugins/ 97068 2010-03-29 15:30 lib/TWiki/Plugins/CalendarPlugin.pm 0 2010-01-22 00:16 pub/ 0 2010-01-22 00:16 pub/TWiki/ 0 2010-03-29 15:48 pub/TWiki/CalendarPlugin/ 79 2008-12-11 02:43 pub/TWiki/CalendarPlugin/exclam.gif 2280 2010-01-24 17:55 pub/TWiki/CalendarPlugin/ICal.gif 6144 2010-03-29 15:48 pub/TWiki/CalendarPlugin/Thumbs.db
-------
  1. 30 files

Archive: Downloads/CalendarPlugin(1).zip Length Date Time Name


---------- ----- ---- 3682 2012-12-04 08:26 CalendarPlugin _installer 0 2012-12-04 08:26 data/ 0 2012-12-04 08:26 data/TWiki/ 6738 2012-12-04 08:26 data/TWiki/VarCALENDAR.txt 24184 2012-12-04 08:26 data/TWiki/CalendarPlugin.txt 0 2012-12-04 08:26 lib/ 0 2012-12-04 08:26 lib/TWiki/ 0 2012-12-04 08:26 lib/TWiki/Plugins/ 52905 2012-12-04 08:26 lib/TWiki/Plugins/CalendarPlugin.pm 0 2012-12-04 08:26 pub/ 0 2012-12-04 08:26 pub/TWiki/ 0 2012-12-04 08:26 pub/TWiki/CalendarPlugin/ 79 2012-12-04 08:26 pub/TWiki/CalendarPlugin/exclam.gif
------- 87588 13 files

-- TWiki Guest - 2019-07-12

Thanks for reporting the issue "missing HTML::CalendarMonthSimple" issue, is now fixed on TWiki.org.

This plugin depends on CPAN:HTML::CalendarMonthSimple, not HTML::CalendarMonthSimple2.

-- Peter Thoeny - 2019-07-14

Not sure where you got the zip with 30 files. The correct one from the plugin page and SearchByTags?tag=calendar has 13 files, including directories.

-- Peter Thoeny - 2019-07-14

I downloaded the version with the 30 files that created the reported issues from the bottom of this page: https://twiki.org/cgi-bin/view/Plugins/CalendarPlugin2 From what you say I assume that it would be better to use the version with 13 files? (Does it contain the same functionalities/graphics?)

-- TWiki Guest - 2019-07-15

For test reasons I installed the version 1 with the 13 files. Also here the brackets needed to be escaped in twiki/lib/TWiki/Plugins/CalendarPlugin.pm lines 154, 199, 480 when using perl 5.26.1. Then it worked fine.

-- TWiki Guest - 2019-07-16

However, it would be excellent to get version 2 running, as this allows hh:mm and 'click-through' months.

-- TWiki Guest - 2019-07-16

TWiki is open source. You or someone in the community could merge these two plugins back into CalendarPlugin. I think it makes sense to rename/bundle the CPAN:CalendarMonthSimple with the plugin.

-- Peter Thoeny - 2019-07-20

      Change status to:
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.
SupportForm
Status Answered
Title Errors with Calender plugin
SupportCategory CalendarPlugin
TWiki version 6.1.0
Server OS Ubuntu 18.04.02, kernel 4.15.0-54-generic
Web server Apache 2.4.29
Perl version 5.26.1
Browser & version Firefox 67.0.4 (64-bit), Opera 62.0.3331.66
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2019-07-20 - 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.