Can't locate RT/Calendar.pm - Compilation Error

Hi,

I installed MyCalendar Extension and after I selected on my dashboard, RT
show me this error on my dashboard “An internal RT error has occurred. Your
administrator can find more details in RT’s log files.”

(RT 4.2.12 ; Centos 6.7.)

Looking into my logs:

[25525] [Fri Dec 4 16:56:28 2015] [error]: Error during compilation of
/opt/rt4/share/html/Elements/MyCalendar:

Can’t locate RT/Calendar.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/lib /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/opt/rt4/share/html/Elements/MyCalendar line 41.

Stack:

[/opt/rt4/share/html/Elements/MyCalendar:41]

[RT/Calendar.pm:41]

[/usr/local/share/perl5/HTML/Mason/Interp.pm:817]

[/usr/local/share/perl5/HTML/Mason/Interp.pm:445]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

[/opt/rt4/share/html/Elements/MyRT:96]

[/opt/rt4/share/html/index.html:78]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:681]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:369]

[/opt/rt4/share/html/autohandler:53]

BEGIN failed–compilation aborted at /opt/rt4/share/html/Elements/MyCalendar
line 41.

Stack:

[/opt/rt4/share/html/Elements/MyCalendar:41]

[/usr/local/share/perl5/HTML/Mason/Interp.pm:817]

[/usr/local/share/perl5/HTML/Mason/Interp.pm:445]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

[/opt/rt4/share/html/Elements/MyRT:96]

[/opt/rt4/share/html/index.html:78]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:681]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:369]

[/opt/rt4/share/html/autohandler:53]

Stack:

[/usr/local/share/perl5/HTML/Mason/Interp.pm:450]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

[/opt/rt4/share/html/Elements/MyRT:96]

[/opt/rt4/share/html/index.html:78]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:681]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:369]

[/opt/rt4/share/html/autohandler:53]
(/opt/rt4/sbin/…/lib/RT/Interface/Web/Handler.pm:208)

A quick help will be appreciated as we are missing critical requests.

Thanks.

Hi there!

The problem was solved by creating manually … “mkdir
/opt/rt4/local/plugins/RTx-Calendar/”.

Run again!

perl Makefile.PL

make

make install

And…voalaaaaaaa works fine…:)From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Marcelo Calado | TBS TAX Services
Sent: Monday, December 07, 2015 9:40 AM
To: ‘rt-users’ rt-users@lists.bestpractical.com
Subject: [rt-users] Can’t locate RT/Calendar.pm - Compilation Error

Hi,

I installed MyCalendar Extension and after I selected on my dashboard, RT
show me this error on my dashboard “An internal RT error has occurred. Your
administrator can find more details in RT’s log files.”

(RT 4.2.12 ; Centos 6.7.)

Looking into my logs:

[25525] [Fri Dec 4 16:56:28 2015] [error]: Error during compilation of
/opt/rt4/share/html/Elements/MyCalendar:

Can’t locate RT/Calendar.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/lib /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/opt/rt4/share/html/Elements/MyCalendar line 41.

Stack:

[/opt/rt4/share/html/Elements/MyCalendar:41]

[RT/Calendar.pm:41]

[/usr/local/share/perl5/HTML/Mason/Interp.pm:817]

[/usr/local/share/perl5/HTML/Mason/Interp.pm:445]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

[/opt/rt4/share/html/Elements/MyRT:96]

[/opt/rt4/share/html/index.html:78]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:681]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:369]

[/opt/rt4/share/html/autohandler:53]

BEGIN failed–compilation aborted at /opt/rt4/share/html/Elements/MyCalendar
line 41.

Stack:

[/opt/rt4/share/html/Elements/MyCalendar:41]

[/usr/local/share/perl5/HTML/Mason/Interp.pm:817]

[/usr/local/share/perl5/HTML/Mason/Interp.pm:445]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

[/opt/rt4/share/html/Elements/MyRT:96]

[/opt/rt4/share/html/index.html:78]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:681]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:369]

[/opt/rt4/share/html/autohandler:53]

Stack:

[/usr/local/share/perl5/HTML/Mason/Interp.pm:450]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

[/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

[/opt/rt4/share/html/Elements/MyRT:96]

[/opt/rt4/share/html/index.html:78]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:681]

[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:369]

[/opt/rt4/share/html/autohandler:53]
(/opt/rt4/sbin/…/lib/RT/Interface/Web/Handler.pm:208)

A quick help will be appreciated as we are missing critical requests.

Thanks.

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus