[rt-users] Can't locate object method "new" via package "RTx::AssetTracker::Assets"
Stefan Maier
maier at idowa.de
Wed Oct 8 12:08:05 EDT 2008
We're running mod_perl 2.0.1 and apache 2.0.54.
Loaded perl modules
Perl v5.8.7 under linux
Apache2::Access v2.000001;
Apache2::Connection v2.000001;
Apache2::Const v2.000001;
Apache2::Log v2.000001;
Apache2::RequestIO v2.000001;
Apache2::RequestRec v2.000001;
Apache2::RequestUtil v2.000001;
Apache2::Response v2.000001;
Apache2::ServerRec v2.000001;
Apache2::ServerUtil v2.000001;
Apache2::Status v3.00;
Apache::DBI v0.94;
Apache::Session v1.6;
Apache::Session::Generate::MD5 v2.1;
Apache::Session::Lock::MySQL v1.00;
Apache::Session::MySQL v1.01;
Apache::Session::Serialize::Storable v1.00;
Apache::Session::Store::DBI v1.02;
Apache::Session::Store::MySQL v1.04;
APR v0.009000;
APR::Const v0.009000;
APR::Pool v0.009000;
APR::Status v0.009000;
APR::Table v0.009000;
AutoLoader v5.60;
base v2.07;
Benchmark v1.07;
bytes v1.02;
Cache::Simple::TimedExpiry v0.23;
Carp v1.04;
CGI v3.10;
CGI::Cookie v1.25;
CGI::Util v1.5;
Class::Container v0.12;
Class::Data::Inheritable v0.04;
Class::ReturnValue v0.53;
Clone v0.20;
constant v1.05;
Cwd v3.19;
Data::Dumper v2.121_04;
Date::Format v2.22;
Date::Parse v2.27;
DBD::mysql v3.0002;
DBI v1.48;
DBIx::SearchBuilder v1.43;
DBIx::SearchBuilder::Union v0;
DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.13;
Devel::StackTraceFrame v0.6;
Digest::base v1.00;
Digest::MD5 v2.33;
DynaLoader v1.05;
Encode v2.10;
Encode::Alias v2.03;
Encode::Config v2.00;
Encode::Encoding v2.02;
Errno v1.0901;
Exception::Class v1.23;
Exception::Class::Base v1.2;
Exporter v5.58;
Exporter::Heavy v5.58;
Fcntl v1.05;
File::Basename v2.73;
File::Glob v1.04;
File::Path v1.06;
File::Spec v3.19;
File::Spec::Functions v1.3;
File::Spec::Unix v1.5;
File::Temp v0.17;
FileHandle v2.01;
HTML::Element v3.16;
HTML::Entities v1.29;
HTML::Formatter v2.04;
HTML::FormatText v2.04;
HTML::Mason v1.33;
HTML::Mason::ApacheHandler v1.69;
HTML::Mason::Exception v1.1;
HTML::Mason::Exception::Abort v1.1;
HTML::Mason::Exception::Compilation v1.1;
HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
HTML::Mason::Exception::Compiler v1.1;
HTML::Mason::Exception::Decline v1.1;
HTML::Mason::Exception::Params v1.1;
HTML::Mason::Exception::Syntax v1.1;
HTML::Mason::Exception::System v1.1;
HTML::Mason::Exception::TopLevelNotFound v1.1;
HTML::Mason::Exception::VirtualMethod v1.1;
HTML::Mason::Exceptions v1.43;
HTML::Parser v3.45;
HTML::Scrubber v0.08;
HTML::Tagset v3.04;
HTML::TreeBuilder v3.13;
HTTP::Date v1.46;
I18N::LangTags v0.35;
I18N::LangTags::Detect v1.03;
integer v1.00;
IO v1.21;
IO::File v1.11;
IO::Handle v1.24;
IO::InnerFile v2.110;
IO::Lines v2.110;
IO::Scalar v2.110;
IO::ScalarArray v2.110;
IO::Seekable v1.09;
IO::Wrap v2.110;
IO::WrapTie v2.110;
IPC::Open2 v1.01;
IPC::Open3 v1.0106;
lib v0.5565;
List::Util v1.18;
Locale::Maketext v1.09;
Locale::Maketext::Fuzzy v0.02;
Locale::Maketext::Lexicon v0.49;
Locale::Maketext::Lexicon::Gettext v0.14;
Log::Dispatch v2.11;
Log::Dispatch::Base v1.09;
Log::Dispatch::Output v1.26;
Log::Dispatch::Screen v1.17;
Log::Dispatch::Syslog v1.18;
Mail::Address v1.74;
Mail::Field v1.74;
Mail::Field::AddrList v1.74;
Mail::Field::Date v1.74;
Mail::Header v1.74;
Mail::Internet v1.74;
MIME::Base64 v3.05;
MIME::Body v5.420;
MIME::Decoder v5.420;
MIME::Entity v5.420;
MIME::Field::ContDisp v5.420;
MIME::Field::ConTraEnc v5.420;
MIME::Field::ContType v5.420;
MIME::Field::ParamVal v5.420;
MIME::Head v5.420;
MIME::Parser v5.420;
MIME::QuotedPrint v3.03;
MIME::Tools v5.420;
MIME::Words v5.420;
mod_perl v2.000001;
mod_perl2 v2.000001;
ModPerl::Const v2.000001;
ModPerl::Global v2.000001;
ModPerl::Registry v1.99;
ModPerl::RegistryCooker v1.99;
ModPerl::Util v2.000001;
Module::Versions::Report v1.02;
overload v1.03;
Params::Validate v0.78;
POSIX v1.08;
re v0.04;
Regexp::Common v2.120;
Regexp::Common::delimited v2.104;
RT v3.6.4;
RT::FM v2.2.0RC6;
RT::Interface::Email v2;
RTx::AssetTracker v0.0.0;
Scalar::Util v1.18;
SelectSaver v1.01;
Socket v1.77;
Storable v2.13;
strict v1.03;
Symbol v1.06;
Sys::Hostname v1.11;
Sys::Syslog v0.06;
Text::Autoformat v1.13;
Text::Quoted v1.8;
Text::Reform v1.11;
Text::Tabs v98.112801;
Text::Template v1.44;
Text::Wrapper v1.000;
Time::HiRes v1.66;
Time::JulianDay v2003.1125;
Time::Local v1.11;
Time::ParseDate v2003.1126;
Time::Timezone v2003.0211;
Time::Zone v2.22;
UNIVERSAL v1.01;
UNIVERSAL::require v0.10;
URI v1.35;
URI::Escape v3.28;
URI::URL v5.03;
URI::WithBase v2.19;
utf8 v1.05;
vars v1.01;
warnings v1.03;
warnings::register v1.00;
XSLoader v0.02;
RT Variables
RT::AmbiguousDayInPast 1
RT::BasePath /opt/rt3
RT::BinPath /opt/rt3/bin
RT::CORE_CONFIG_FILE /opt/rt3/etc/RT_Config.pm
RT::CommentAddress support-comment at idowa.de
RT::CorrespondAddress support at idowa.de
RT::DatabaseHost db0.vn.idowa.de
RT::DatabaseName rt3
RT::DatabasePassword Password not printed
RT::DatabaseRTHost db0.vn.idowa.de
RT::DatabaseType mysql
RT::DatabaseUser rt_user
RT::DateDayBeforeMonth 1
RT::DefaultSearchResultFormat '<B><A
HREF="/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A
HREF="/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
Status, QueueName,
OwnerName, Priority, '__NEWLINE__', '',
'<small>__Requestors__</small>', '<small>__CreatedRelative__</small>',
'<small>__ToldRelative__</small>',
'<small>__LastUpdatedRelative__</small>',
'<small>__TimeLeft__</small>'
RT::DefaultSummaryRows 10
RT::EmailOutputEncoding utf-8
RT::EtcPath /opt/rt3/etc
RT::FriendlyFromLineFormat "%s via RT" <%s>
RT::FriendlyToLineFormat "%s of VGSTLZ Ticket #%s":;
RT::LocalEtcPath /opt/rt3/local/etc
RT::LocalLexiconPath /opt/rt3/local/po
RT::LocalPath /opt/rt3/local
RT::LogDir /opt/rt3/var/log
RT::LogToFileNamed rt.log
RT::LogToScreen error
RT::LogToSyslog debug
RT::LogoURL /NoAuth/images/bplogo.gif
RT::LoopsToRTOwner 1
RT::MailCommand sendmailpipe
RT::MasonComponentRoot /opt/rt3/share/html
RT::MasonDataDir /opt/rt3/var/mason_data
RT::MasonLocalComponentRoot /opt/rt3/local/html
RT::MasonSessionDir /opt/rt3/var/session_data
RT::MaxAttachmentSize 10000000
RT::MaxInlineBody 13456
RT::MessageBoxWidth 72
RT::MessageBoxWrap HARD
RT::MinimumPasswordLength 8
RT::MyTicketsLength 20
RT::OldestTransactionsFirst 1
RT::Organization idowa.de
RT::OwnerEmail root at idowa.de
RT::RTAddressRegexp ^rt\@example.com$
RT::RecordOutgoingEmail 1
RT::RedistributeAutoGeneratedMessages privileged
RT::SITE_CONFIG_FILE /opt/rt3/etc/RT_SiteConfig.pm
RT::SendmailArguments -oi -t
RT::SendmailBounceArguments -f "<>"
RT::SendmailPath /usr/sbin/sendmail
RT::ShowTransactionImages 1
RT::StrictLinkACL 1
RT::Timezone CET
RT::UseFriendlyFromLine 1
RT::VERSION 3.6.4
RT::VarPath /opt/rt3/var
RT::WebBaseURL http://helpdesk.vn.idowa.de
RT::WebDefaultStylesheet 3.5-default
RT::WebFlushDbCacheEveryRequest 1
RT::WebImagesURL /NoAuth/images/
RT::WebPort 80
RT::WebURL http://helpdesk.vn.idowa.de/
RT::rtname VGSTLZ
Perl configuration
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=linux, osvers=2.6.12, archname=x86_64-linux-thread-multi
uname='linux g226 2.6.12 #1 smp tue jun 28 14:58:56 utc 2005
x86_64 x86_64 x86_64 gnulinux '
config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr
-Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm
-Duseshrplib=true -Doptimize=-O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -Wall
-pipe'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g
-Wall -pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -pipe'
ccversion='', gccversion='4.0.2 20050901 (prerelease) (SUSE
Linux)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib64'
libpth=/lib64 /usr/lib64 /usr/local/lib64
libs=-lm -ldl -lcrypt -lpthread
perllibs=-lm -ldl -lcrypt -lpthread
libc=/lib64/libc-2.3.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.5'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64'
Quoting Todd Chapman <todd at chaka.net>:
> Stefan,
>
> I have never seen that error. Are you running mod_perl or fastcgi?
>
> -Todd
>
> On Wed, Oct 8, 2008 at 9:26 AM, Stefan Maier <maier at idowa.de> wrote:
>
>> Hi,
>>
>> we're having some sporadic system errors on RT/AssetTracker. Every once
>> in a while when browsing assets we get (typed from a screenshot so it
>> might contain spelling errors, source is unmodified though):
>>
>> error: Can't locate object method "new" via package
>> "RTx::AssetTracker::Assets" at
>> /opt/rt3/local/html/AssetTracker/Search/Results.html line 91
>> context: ...
>> 87: </div>
>> 88: <%INIT>
>> 89: my($title, $assetcount);
>> 90: $session{'i'}++;
>> 91: $session{'assets'} =
>> RTx::AssetTracker::Assets->new($session{'CurrentUser'});
>> 92: $session{'assets'}->FromSQL($Query) if ($Query);
>> 93: $session{'assets'}->OrderBy(FIELD => $OrderBy, ORDER =>
>> $Order);
>> 94:
>> 95:
>> ...
>> code stack: /opt/rt3/local/html/AssetTracker/Search/Results.html:91
>> /opt/rt3/share/html/autohandler:291
>>
>>
>> This only happens on one machine, running Windows XP and Firefox3.
>>
>> Thanks in advance,
>>
>> --
>> Mit freundlichen Grüßen
>>
>> Stefan Maier
>>
>> ==========================================================
>> Straubinger Tagblatt
>> EDV-Abteilung Straubing FON: +49 9421 940 256
>> Ludwigsplatz 30 FAX: +49 9421 940 6236
>> D-94315 Straubing
>> http://www.idowa.de Email: maier at idowa.de
>> ==========================================================
>> Zeitungsgruppe Straubinger Tagblatt / Landshuter Zeitung
>> Cl. Attenkofer'sche Buch- und Kunstdruckerei
>> Verlagsbuchhandlung Straubing KG
>> Registergericht: Amtsgericht Straubing, HRA 1118
>> ==========================================================
>>
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>
More information about the rt-users
mailing list