Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62592 - Tools/Offline.html page isn't working.
Summary: Tools/Offline.html page isn't working.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Renat Lumpau (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-02 01:37 UTC by rob holland (RETIRED)
Modified: 2004-09-02 10:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rob holland (RETIRED) gentoo-dev 2004-09-02 01:37:17 UTC
I get this error:

error:   	Error during compilation of /var/www/localhost/htdocs/rt/Tools/Offline.html:
Can't locate RT/Action/CreateTickets.pm in @INC (@INC contains: PERL5LIB /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl . /etc/apache/ /etc/apache/lib/perl) at /var/www/localhost/htdocs/rt/Tools/Offline.html line 83.

Stack:
[/var/www/localhost/htdocs/rt/Tools/Offline.html:83]
[RT/Action/CreateTickets.pm:83]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:534]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:311]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm:198]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm:166]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:60]
[/usr/lib/perl5/vendor_perl/5.8.4/Class/Container.pm:265]
[/usr/lib/perl5/vendor_perl/5.8.4/Class/Container.pm:343]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:213]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:863]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:789]
[/usr/bin/webmux.pl:105]
[RT/Action/CreateTickets.pm:83]
BEGIN failed--compilation aborted at /var/www/localhost/htdocs/rt/Tools/Offline.html line 83.

Stack:
[/var/www/localhost/htdocs/rt/Tools/Offline.html:83]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:534]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:311]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm:198]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm:166]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:60]
[/usr/lib/perl5/vendor_perl/5.8.4/Class/Container.pm:265]
[/usr/lib/perl5/vendor_perl/5.8.4/Class/Container.pm:343]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:213]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:863]
[/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:789]
[/usr/bin/webmux.pl:105]
[/var/www/localhost/htdocs/rt/Tools/Offline.html:83]

This looks like an @INC buglet as the rt paths don't appear anywhere in that list. I had a quick look but couldn't see why as I'd expect it to inherit @INC from webmux.pl (which sets it up correctly).

If you want help debugging this, please let me know, I have an RT instance I can play about with.
Comment 1 rob holland (RETIRED) gentoo-dev 2004-09-02 01:57:57 UTC
Adding this line to the .htaccess file fixes it:

PerlSetEnv PERL5LIB /usr/lib

Also, its probably worth suggesting that this stuff goes into the configuration file somewhere, rather than a .htaccess file. I'm not sure of the speed implication of doing mod_perl'y stuff from a .htaccess.
Comment 2 Renat Lumpau (RETIRED) gentoo-dev 2004-09-02 10:06:05 UTC
Added it to postinstall instructions. In CVS, thanks