[rt-users] RTFM error

Joshua Ginsberg jag at fsf.org
Mon Apr 3 18:07:08 EDT 2006


Using RT 3.0.12 and RTFM 2.0.3 on Breezy installed from apt, trying to
get to /RTFM/index.html I get the following error:

error: 
Can't locate object method "new" via package "RT::FM::ArticleCollection" (perhaps you forgot to load "RT::FM::ArticleCollection"?) at /usr/share/request-tracker3/html/RTFM/Elements/NewestArticles line 60.

context: 
... 

56: 
<%INIT>
57: 
my $rows = 10;
58: 
my $i;
59: 
my $MyArticles;
60: 
$MyArticles = new RT::FM::ArticleCollection ($session{'CurrentUser'});
61: 
$MyArticles->UnLimit;
62: 
$MyArticles->RowsPerPage($rows);
63: 
$MyArticles->OrderBy(FIELD => 'LastUpdated', ORDER => 'DESC');
64: 

... 

code stack: 
/usr/share/request-tracker3/html/RTFM/Elements/NewestArticles:60
/usr/share/request-tracker3/html/RTFM/index.html:24
/usr/share/request-tracker3/html/autohandler:200

raw error


Can't locate object method "new" via package "RT::FM::ArticleCollection" (perhaps you forgot to load "RT::FM::ArticleCollection"?) at /usr/share/request-tracker3/html/RTFM/Elements/NewestArticles line 60.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 128
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "new" via package "RT::FM::ArticleCollection" (perhaps you forgot to load "RT::FM::ArticleCollection"?) at /usr/share/request-tracker3/html/RTFM/Elements/NewestArticles line 60.^J') called at /usr/share/request-tracker3/html/RTFM/Elements/NewestArticles line 60
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x995b944)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1232
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1226
HTML::Mason::Request::comp(undef, undef) called at /usr/share/request-tracker3/html/RTFM/index.html line 24
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x98ae44c)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1232
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1226
HTML::Mason::Request::comp(undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 898
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x987f2b4)') called at /usr/share/request-tracker3/html/autohandler line 200
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x98ad348)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1227
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1226
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 458
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 458
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 410
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x987f2b4)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 160
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x987f2b4)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 810
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x839baa8)', 'Apache=SCALAR(0x839bc4c)') called at /usr/share/request-tracker3/libexec/webmux.pl line 139
eval {...} at /usr/share/request-tracker3/libexec/webmux.pl line 139
RT::Mason::handler('Apache=SCALAR(0x839bc4c)') called at /dev/null line 0
eval {...} at /dev/null line 0

It seems I'm not the only one to have encountered this:
http://www.gossamer-threads.com/lists/rt/devel/38405

And probably also this guy here:
http://lists.fsck.com/pipermail/rt-users/2003-July/015156.html
http://lists.fsck.com/pipermail/rt-users/2003-July/015358.html

And for fear of invoking a link back to the Wiki's How to as questions:

1) "whether your problem is on a new installation, or a system which has
been running properly in production." : This is after doing an apt-get
dist-upgrade
2) "shell> uname-a - OS, Distribution" : "Linux rt
2.6.8.1-tyan-mini-tower #1 Tue Oct 11 11:50:27 EDT 2005 i686 GNU/Linux"
on Breezy Badger
3) "RT, Perl, RTFM, DBIx::SearchBuilder, Apache, ModPerl, FastCGI,
MySQL, PostgresSQL versions."
||/ Name           Version        Description
+++-==============-==============-============================================
ii  apache         1.3.33-8ubuntu versatile, high-performance HTTP server
ii  libapache-mod- 1.29.0.3-8ubun integration of perl with the Apache web serv
ii  libdbix-search 1.27-1         Encapsulate SQL queries and rows in simple p
ii  mysql-server   4.0.24-10ubunt mysql database server binaries
ii  perl           5.8.7-5ubuntu1 Larry Wall's Practical Extraction and Report
ii  request-tracke 3.0.12-8       Extensible trouble-ticket tracking system
ii  rtfm           2.0.3-1        RT FAQ Manager

4) "Don't forget to attach errors, logs, think about debug log level." - Output includes stack trace
5) "In any case try to search in the archives of the RT mailing lists." - Clearly I've searched
6) "If you are not running the most recent stable version of RT/RTFM/RTIR then upgrade before asking your question. 
" - No. :-)

Thanks!

-jag

-- 
Joshua Ginsberg <jag at fsf.org>
Free Software Foundation - Senior Systems Administrator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060403/0d17c61c/attachment.sig>


More information about the rt-users mailing list