
sunnavy at bestpractical
Jun 4, 2008, 3:19 AM
Post #4 of 4
(1424 views)
Permalink
|
|
Re: 3.8 beta 2 - Ticket Relations / GraphViz Problem/Error
[In reply to]
|
|
Hi Torsten good news: we don't need to hack FCGI.pm in the latest version in svn :) but just let you know, it's in FCGI.pm: try to find 'sub FILENO', you'll see. if can't find it, you can simply just add the following line manually: sub FILENO { return -2 }; > Hi Sunnavy, > > You removed the # but pls tell me where???? > > Torsten > > > Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann > (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), > Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt > (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, > Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, > Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/ > Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael Kühne > > > -----Ursprüngliche Nachricht----- > Von: sunnavy [mailto:sunnavy [at] bestpractical] > Gesendet: Montag, 2. Juni 2008 21:44 > An: Ham MI-ID, Torsten Brumm > Cc: RT developers > Betreff: Re: [Rt-devel] 3.8 beta 2 - Ticket Relations / GraphViz > Problem/Error > > IPC::Run uses 'fileno', which caused this problem. > > I looked into FCGI.pm, and found there exists sub FILENO already, > though it's been commented out. In fact, it's also a bogus sub. > > After I removed the comment signs(#), everything seems ok. > > Seems as long as we don't use fileno to do some serious work, we > won't be hurt. :) > > On May 27, 2008, at 10:45 PM, Ham MI-ID, Torsten Brumm wrote: > >> Hi RT Developers, >> >> Tried out today the actual RT 3.8 Beta, the GraphViz Module for >> Ticket >> Relations ends up with the following Error: >> >> Can't locate object method "FILENO" via package "FCGI::Stream" at / >> usr/lib/perl5/vendor_perl/5.8.8/IPC/Run.pm line 1118. Stack: [/usr/ >> lib/perl5/vendor_perl/5.8.8/IPC/Run.pm:1118] [/usr/lib/perl5/ >> vendor_perl/5.8.8/IPC/Run.pm:2097] [/usr/lib/perl5/vendor_perl/5.8.8/ >> IPC/Run.pm:2754] [/usr/lib/perl5/vendor_perl/5.8.8/IPC/Run.pm:1434] >> [/usr/lib/perl5/vendor_perl/5.8.8/GraphViz.pm:1160] [/usr/lib/perl5/ >> vendor_perl/5.8.8/GraphViz.pm:981] [/opt/rt38/share/html/Ticket/ >> Graphs/Elements/ShowGraph:49] [/opt/rt38/share/html/Ticket/Graphs/ >> index.html:57] [/opt/rt38/share/html/autohandler:306] Can't locate >> object method "FILENO" via package "FCGI::Stream" at /usr/lib/perl5/ >> vendor_perl/5.8.8/IPC/Run.pm line 1118. Stack: [/usr/lib/perl5/ >> vendor_perl/5.8.8/IPC/Run.pm:1118] [/usr/lib/perl5/vendor_perl/5.8.8/ >> IPC/Run.pm:2216] [/usr/lib/perl5/vendor_perl/5.8.8/IPC/Run.pm:2754] >> [/usr/lib/perl5/vendor_perl/5.8.8/IPC/Run.pm:1434] [/usr/lib/perl5/ >> vendor_perl/5.8.8/GraphViz.pm:1160] [/usr/lib/perl5/vendor_perl/ >> 5.8.8/GraphViz.pm:981] [/opt/rt38/share/html/Ticket/Graphs/Elements/ >> ShowGraph:49] [/opt/rt38/share/html/Ticket/Graphs/index.html:57] [/ >> opt/rt38/share/html/autohandler:306] Stack: [/usr/lib/perl5/ >> vendor_perl/5.8.8/IPC/Run.pm:2320] [/usr/lib/perl5/vendor_perl/5.8.8/ >> IPC/Run.pm:2754] [/usr/lib/perl5/vendor_perl/5.8.8/IPC/Run.pm:1434] >> [/usr/lib/perl5/vendor_perl/5.8.8/GraphViz.pm:1160] [/usr/lib/perl5/ >> vendor_perl/5.8.8/GraphViz.pm:981] [/opt/rt38/share/html/Ticket/ >> Graphs/Elements/ShowGraph:49] [/opt/rt38/share/html/Ticket/Graphs/ >> index.html:57] [/opt/rt38/share/html/autohandler:306] >> >> Configuration: >> >> Loaded perl modules >> >> Perl v5.8.8 under linux >> Apache::Session v1.86; >> Apache::Session::Generate::MD5 v2.1; >> Apache::Session::Lock::MySQL v1.01; >> Apache::Session::MySQL v1.01; >> Apache::Session::Serialize::Storable v1.01; >> Apache::Session::Store::DBI v1.02; Apache::Session::Store::MySQL >> v1.04; AutoLoader v5.64; base v2.12; bytes v1.02; >> Cache::Simple::TimedExpiry v0.27; capitalization v0.03; Carp v1.04; >> CGI v3.37; CGI::Cookie v1.29; CGI::Fast v1.07; CGI::Util v1.5_01; >> Class::Container v0.12; Class::Data::Inheritable v0.08; >> Class::Inspector v1.22; Class::MethodMaker v2.11; >> Class::MethodMaker::Engine v2.11; Class::ReturnValue v0.55; >> Class::Struct v0.63; Clone v0.28; constant v1.15; Cwd v3.2701; >> Data::Dumper v2.121_08; Date::Format v2.22; Date::Parse v2.27; >> DBD::mysql v4.006; DBI v1.602; DBIx::SearchBuilder v1.53; >> DBIx::SearchBuilder::Union v0; DBIx::SearchBuilder::Unique v0.01; >> Devel::StackTrace v1.16; Devel::StackTraceFrame v0.6; >> Devel::Symdump >> v2.08; Digest::base v1.00; >> Digest::MD5 v2.36; >> DynaLoader v1.05; >> Encode v2.23; >> Encode::Alias v2.07; >> Encode::Config v2.04; >> Encode::Encoding v2.05; >> English v1.02; >> Errno v1.1; >> Exception::Class v1.23; >> Exception::Class::Base v1.2; >> Exporter v5.62; >> Exporter::Heavy v5.62; >> Fatal v1.03; >> FCGI v0.67; >> Fcntl v1.05; >> File::Basename v2.74; >> File::Glob v1.05; >> File::Path v2.04; >> File::ShareDir v0.05; >> File::Spec v3.2701; >> File::Spec::Unix v3.2701; >> File::Temp v0.20; >> FileHandle v2.01; >> FindBin v1.47; >> GnuPG::Interface v0.36; >> GraphViz v2.03; >> HTML::Element v3.23; >> HTML::Entities v1.35; >> HTML::Formatter v2.04; >> HTML::FormatText v2.04; >> HTML::Mason v1.39; >> HTML::Mason::CGIHandler v1.00; >> 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.56; HTML::Scrubber v0.08; HTML::Tagset >> v3.20; HTML::TreeBuilder v3.23; I18N::LangTags v0.35; integer >> v1.00; IO v1.23; IO::File v1.14; IO::Handle v1.27; IO::InnerFile >> v2.110; IO::Lines v2.110; IO::ScalarArray v2.110; IO::Seekable >> v1.1; IO::WrapTie v2.110; >> IPC::Open2 v1.02; >> IPC::Open3 v1.02; >> IPC::Run v0.80; >> List::Util v1.19; >> Locale::Maketext v1.12; >> Locale::Maketext::Fuzzy v0.10; >> Locale::Maketext::Lexicon v0.66; >> Locale::Maketext::Lexicon::Gettext v0.16; Log::Dispatch v2.21; >> Log::Dispatch::Base v1.09; Log::Dispatch::Output v1.26; >> Log::Dispatch::Screen v1.17; Log::Dispatch::Syslog v1.18; >> Mail::Address v2.02; Mail::Field v2.02; Mail::Field::AddrList >> v2.02; >> Mail::Field::Date v2.02; Mail::Field::Generic v2.02; Mail::Header >> v2.02; Mail::Internet v2.02; Mail::Util v2.02; >> MIME::Base64 v3.07; >> MIME::Body v5.425; >> MIME::Decoder v5.425; >> MIME::Entity v5.425; >> MIME::Field::ContDisp v5.425; >> MIME::Field::ConTraEnc v5.425; >> MIME::Field::ContType v5.425; >> MIME::Field::ParamVal v5.425; >> MIME::Head v5.425; >> MIME::Parser v5.425; >> MIME::QuotedPrint v3.07; >> MIME::Tools v5.425; >> MIME::Words v5.425; >> Module::Versions::Report v1.03; >> overload v1.04; >> Params::Util v0.31; >> Params::Validate v0.89; >> POSIX v1.09; >> re v0.05; >> Regexp::Common v2.120; >> Regexp::Common::delimited v2.104; >> RT v3.7.82; >> RT::Interface::Email v2; >> RT::Interface::Web::Request v0.30; >> Scalar::Util v1.19; >> SelectSaver v1.01; >> Socket v1.78; >> Storable v2.18; >> strict v1.03; >> Symbol v1.06; >> Sys::Syslog v0.24; >> Text::Template v1.44; >> Text::Wrapper v1.01; >> Time::HiRes v1.9712; >> Time::JulianDay v2003.1125; >> Time::Local v1.18; >> Time::ParseDate v2006.0814; >> Time::Timezone v2006.0814; >> Time::Zone v2.22; >> UNIVERSAL v1.01; >> UNIVERSAL::require v0.11; >> URI v1.35; >> URI::Escape v3.28; >> utf8 v1.06; >> vars v1.01; >> warnings v1.05; >> warnings::register v1.01; >> XSLoader v0.08; >> >> RT Config >> (?-xism:\[.+? #\d+\]) Regexp >> (?-xism:\[rt38\-messenger\.int\.kn #\d+\]) Regexp >> (?x-ism:^ (?:/+NoAuth/ | /+REST/\d+\.\d+/NoAuth/) ) Regexp >> ARRAY(0x946b1cc) QuickCreate, Quicksearch, MyAdminQueues, >> MySupportQueues, MyReminders, RefreshHomepage >> ActiveStatus new, open, stalled >> Active_MakeClicky >> AmbiguousDayInPast 1 >> AutoLogoff 0 >> CanonicalizeOnCreate 0 >> CommentAddress RT_CommentAddressNotSet >> CorrespondAddress RT_CorrespondAddressNotSet >> DatabaseHost localhost >> DatabaseName rt38 >> DatabasePassword Password not printed >> DatabasePort >> DatabaseRTHost localhost >> DatabaseType mysql >> DatabaseUser rt_user >> DateDayBeforeMonth 1 >> DateTimeFormat DefaultFormat >> DefaultSearchResultFormat '<B><A HREF="__WebPath__/Ticket/ >> Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A >> HREF="__WebPath__/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>' >> DefaultSummaryRows 10 >> DevelMode 0 >> DisableGraphViz 0 >> EmailFrequency Individual messages >> EmailInputEncodings utf-8, iso-8859-1, us-ascii >> EmailOutputEncoding utf-8 >> ExtractSubjectTagMatch Regexp >> ExtractSubjectTagNoMatch Regexp >> ForwardFromUser 0 >> FriendlyFromLineFormat "%s via RT" <%s> >> FriendlyToLineFormat "%s of rt38-messenger.int.kn Ticket #%s":; >> GnuPG Enable, 1, AllowEncryptDataInDB, 0, OutgoingMessagesFormat, >> RFC >> GnuPGOptions homedir, var/data/gpg >> HomepageComponents QuickCreate, Quicksearch, MyAdminQueues, >> MySupportQueues, MyReminders, RefreshHomepage >> InactiveStatus resolved, rejected, deleted >> LexiconLanguages * >> LinkTransactionsRun1Scrip 0 >> LogDir var/log >> LogStackTraces >> LogToFileNamed rt.log >> LogToScreen info >> LogToSyslog debug >> LogToSyslogConf >> LogoURL /NoAuth/images/bplogo.gif >> LoopsToRTOwner 1 >> MailCommand sendmailpipe >> MailParams >> MasonParameters >> MaxAttachmentSize 10000000 >> MaxInlineBody 12000 >> MessageBoxHeight 15 >> MessageBoxRichText 1 >> MessageBoxWidth 72 >> MessageBoxWrap HARD >> MinimumPasswordLength 5 >> NotifyActor 0 >> OldestTransactionsFirst 0 >> Organization rt38-messenger.int.kn >> OwnerEmail root >> RTAddressRegexp ^rt\@example.com$ >> RecordOutgoingEmail 1 >> RedistributeAutoGeneratedMessages privileged >> SMTPDebug 0 >> SendmailArguments -oi -t >> SendmailBounceArguments -f "<>" >> SendmailPath /usr/sbin/sendmail >> ShowBccHeader 0 >> ShowTransactionImages 1 >> StrictLinkACL 1 >> Timezone GMT >> UseFriendlyFromLine 1 >> UseFriendlyToLine 0 >> WebBaseURL http://rt38-messenger.int.kn:80 >> WebDefaultStylesheet web2 >> WebFlushDbCacheEveryRequest 1 >> WebImagesURL /NoAuth/images/ >> WebNoAuthRegex Regexp >> WebPath >> WebPort 80 >> WebSecureCookies 0 >> WebURL http://rt38-messenger.int.kn:80/ >> WikiImplicitLinks 0 >> rtname rt38-messenger.int.kn >> RT Variables >> RT::BasePath /opt/rt38 >> RT::BinPath /opt/rt38/bin >> RT::EtcPath /opt/rt38/etc >> RT::LocalEtcPath /opt/rt38/local/etc >> RT::LocalLexiconPath /opt/rt38/local/po >> RT::LocalLibPath /opt/rt38/local/lib >> RT::LocalPath /opt/rt38/local >> RT::LocalPluginPath /opt/rt38/local/plugins >> RT::MasonComponentRoot /opt/rt38/share/html >> RT::MasonDataDir /opt/rt38/var/mason_data >> RT::MasonLocalComponentRoot /opt/rt38/local/html >> RT::MasonSessionDir /opt/rt38/var/session_data >> RT::SbinPath /opt/rt38/sbin >> RT::VERSION 3.7.82 >> RT::VarPath /opt/rt38/var >> Perl configuration >> >> Summary of my perl5 (revision 5 version 8 subversion 8) >> configuration: >> Platform: >> osname=linux, osvers=2.6.9-42.0.3.elsmp, archname=i386-linux- >> thread-multi >> uname='linux builder7.centos.org 2.6.9-42.0.3.elsmp #1 smp fri oct >> 6 06:21:39 cdt 2006 i686 i686 i386 gnulinux ' >> config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,- >> D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer- >> size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables - >> Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root [at] localhos - >> Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr - >> Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr - >> Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid - >> Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog - >> Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 - >> Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto - >> Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto >> -Ud_setprotoent_r_proto -Ud_endservent_r_proto - >> Ud_setservent_r_proto >> -Dinc_version_list=5.8.7 5.8.6 5.8.5 - Dscriptdir=/usr/bin' >> 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=undef use64bitall=undef uselongdouble=undef >> usemymalloc=n, bincompat5005=undef >> Compiler: >> cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict- >> aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include - >> D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', >> optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >> -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 - >> mtune=generic -fasynchronous-unwind-tables', >> cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe - >> Wdeclaration-after-statement -I/usr/local/include -I/usr/include/ >> gdbm' >> ccversion='', gccversion='4.1.1 20061011 (Red Hat 4.1.1-30)', >> gccosandvers='' >> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 >> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 >> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', >> lseeksize=8 >> alignbytes=4, prototype=define >> Linker and Libraries: >> ld='gcc', ldflags =' -L/usr/local/lib' >> libpth=/usr/local/lib /lib /usr/lib >> libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread >> -lc >> perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc >> libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so >> gnulibc_version='2.5' >> Dynamic Linking: >> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E - >> Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE' >> cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,- >> D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer- >> size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables - >> L/usr/local/lib' >> >> >> Kühne + Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann >> (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), >> Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt >> (Stellv.), >> Jens Wollesen, Rainer Wunn, Sitz: Bremen, >> Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, >> Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/ >> Luxemburg Geschäftsführender Verwaltungsrat: Klaus-Michael Kühne >> >> >> >> _______________________________________________ >> List info: >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel > > > best wishes > sunnavy > > > > > > best wishes sunnavy _______________________________________________ List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
|