[rt-users] Perl broken?

Sears, Mark Mark.Sears at GDIT.com
Mon May 19 15:30:39 EDT 2014


Not sure what you mean by see if that's in the @INC array

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png at 01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears at gdit.com<mailto:mark.sears at gdit.com>
www.gdit.com<http://www.gdit.com/>

From: lenjaffe at gmail.com [mailto:lenjaffe at gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 3:09 PM
To: Sears, Mark
Cc: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see if that's in the @INC array.

On Mon, May 19, 2014 at 2:24 PM, Sears, Mark <Mark.Sears at gdit.com<mailto:Mark.Sears at gdit.com>> wrote:
Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone: Can't locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. Compilation failed in require at (eval 2195) line 3, line 1662. Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88] [/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958] [/opt/rt3/share/html/Elements/SelectTimezone:60] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239] [/opt/rt3/share/html/User/Prefs.html:83] [/opt/rt3/share/html/Widgets/TitleBox:51] [/opt/rt3/share/html/User/Prefs.html:86] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/../lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53]

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png at 01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062<tel:%28407%29%20541-4062>
fax: (407) 380-3823<tel:%28407%29%20380-3823>
mark.sears at gdit.com<mailto:mark.sears at gdit.com>
www.gdit.com<http://www.gdit.com/>

From: lenjaffe at gmail.com<mailto:lenjaffe at gmail.com> [mailto:lenjaffe at gmail.com<mailto:lenjaffe at gmail.com>] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users at lists.bestpractical.com<mailto:rt-users at lists.bestpractical.com>

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made.  So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they're not on Perl's @INC path, because that is what the eror message is saying.

Len.

On Mon, May 19, 2014 at 1:45 PM, Sears, Mark <Mark.Sears at gdit.com<mailto:Mark.Sears at gdit.com>> wrote:
Sorry I am running V 3.8.7...and I realize it is not officially supported.  Thought I would see if anyone had run into this error before.  I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.


Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062<tel:%28407%29%20541-4062>
fax: (407) 380-3823<tel:%28407%29%20380-3823>
mark.sears at gdit.com<mailto:mark.sears at gdit.com>
www.gdit.com<http://www.gdit.com>


-----Original Message-----
From: rt-users [mailto:rt-users-bounces at lists.bestpractical.com<mailto:rt-users-bounces at lists.bestpractical.com>] On Behalf Of Kevin Falcone
Sent: Monday, May 19, 2014 1:40 PM
To: rt-users at lists.bestpractical.com<mailto:rt-users at lists.bestpractical.com>
Subject: Re: [rt-users] Perl broken?

On Mon, May 19, 2014 at 01:07:41PM +0000, Sears, Mark wrote:
>    I am receiving the following error when I go into Preferences>About me:
>    Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone:Can't locate
>    DateTime/TimeZone/OlsonDB/Rule.pm in...
>
>    Also mentions issue with TimeZone::Africa::Abidjan.
>
>    I have run fix deps; test deps; rt-test-deps script and from cpan>
> installed TimeZone module

You forgot to mention your RT version, but since you have /opt/rt3 in your error patch, I'll mention that no release of RT3 is currently supported.

RT can optionally use DateTime::TimeZone if installed (it's not a required dependency of RT) but something must be wrong in your older version of RT.  You likely need to install DateTime::TimeZone from cpan

-kevin
--
RT Training - Dallas May 20-21
http://bestpractical.com/training



--
lenjaffe at jaffesystems.com<mailto:lenjaffe at jaffesystems.com>   614-404-4214<tel:614-404-4214>    @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code Jam<http://www.meetup.com/techlifecolumbus/>
www.lenjaffe.com<http://www.lenjaffe.com/>     http://www.theycomewithcheese.com<http://www.theycomewithcheese.com/>
Advent Planet<http://www.lenjaffe.com/AdventPlanet/> - An Aggregation of Online Advent Calendars.




--
lenjaffe at jaffesystems.com<mailto:lenjaffe at jaffesystems.com>   614-404-4214    @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code Jam<http://www.meetup.com/techlifecolumbus/>
www.lenjaffe.com<http://www.lenjaffe.com/>     http://www.theycomewithcheese.com<http://www.theycomewithcheese.com/>
Advent Planet<http://www.lenjaffe.com/AdventPlanet/> - An Aggregation of Online Advent Calendars.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140519/49820521/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1262 bytes
Desc: image001.png
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140519/49820521/attachment.png>


More information about the rt-users mailing list