[ensembl-dev] changed code causes errr

陈岗 danielchen06 at gmail.com
Fri May 18 08:49:26 BST 2012


Hi All

I updated Ensembl from release-66 to 67, and get following error message:


!!! UNKNOWN RSS METHOD DEFINED at
/usr/local/Ensembl/modules/EnsEMBL/Web/Document/HTML.pm line 143.
EnsEMBL::Web::Root: failed to use EnsEMBL::Web::Document::HTML::WhatsNew
EnsEMBL::Web::Root: Can't locate HTML/Strip.pm in @INC (@INC contains:
/usr/local/Ensembl/public-plugins/ensembl/modules
/usr/local/Ensembl/public-plugins/ensembl/modules
/usr/local/Ensembl/ensembl/modules
/usr/local/Ensembl/ensembl-compara/modules
/usr/local/Ensembl/ensembl-draw/modules
/usr/local/Ensembl/ensembl-variation/modules
/usr/local/Ensembl/ensembl-functgenomics/modules
/usr/local/Ensembl/ensembl-external/modules /usr/local/Ensembl/bioperl-live
/usr/local/Ensembl/modules /usr/local/Ensembl/conf/ /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . /usr/local/Ensembl) at
/usr/local/Ensembl/modules/EnsEMBL/Web/DBSQL/WebsiteAdaptor.pm line 12.
BEGIN failed--compilation aborted at
/usr/local/Ensembl/modules/EnsEMBL/Web/DBSQL/WebsiteAdaptor.pm line 12.
Compilation failed in require at
/usr/local/Ensembl/modules/EnsEMBL/Web/Document/HTML/WhatsNew.pm line 11.
BEGIN failed--compilation aborted at
/usr/local/Ensembl/modules/EnsEMBL/Web/Document/HTML/WhatsNew.pm line 11.
Compilation failed in require at (eval 325) line 3.
 at /usr/local/Ensembl/modules/EnsEMBL/Web/Root.pm line 136

EnsEMBL::Web::Root::dynamic_use('EnsEMBL::Web::Controller::SSI=HASH(0x6a30ee8)',
'EnsEMBL::Web::Document::HTML::WhatsNew') called at
/usr/local/Ensembl/modules/EnsEMBL/Web/Controller.pm line 395

EnsEMBL::Web::Controller::_use('EnsEMBL::Web::Controller::SSI=HASH(0x6a30ee8)',
'EnsEMBL::Web::Document::HTML::WhatsNew',
'EnsEMBL::Web::Hub=HASH(0x6937990)') called at
/usr/local/Ensembl/modules/EnsEMBL/Web/Controller/SSI.pm line 167

EnsEMBL::Web::Controller::SSI::template_SCRIPT('EnsEMBL::Web::Controller::SSI=HASH(0x6a30ee8)',
undef) called at /usr/local/Ensembl/modules/EnsEMBL/Web/Controller/SSI.pm
line 78

EnsEMBL::Web::Controller::SSI::content('EnsEMBL::Web::Controller::SSI=HASH(0x6a30ee8)')
called at /usr/local/Ensembl/modules/EnsEMBL/Web/Controller/SSI.pm line 87

EnsEMBL::Web::Controller::SSI::render_page('EnsEMBL::Web::Controller::SSI=HASH(0x6a30ee8)')
called at /usr/local/Ensembl/modules/EnsEMBL/Web/Controller/SSI.pm line 47

EnsEMBL::Web::Controller::SSI::_init('EnsEMBL::Web::Controller::SSI=HASH(0x6a30ee8)')
called at /usr/local/Ensembl/modules/EnsEMBL/Web/Controller/SSI.pm line 22

EnsEMBL::Web::Controller::SSI::init('EnsEMBL::Web::Controller::SSI=HASH(0x6a30ee8)')
called at /usr/local/Ensembl/modules/EnsEMBL/Web/Controller.pm line 91
        EnsEMBL::Web::Controller::new('EnsEMBL::Web::Controller::SSI',
'Apache2::RequestRec=SCALAR(0x255f5f0)', 'HASH(0x68ff648)') called at
/usr/local/Ensembl/modules/EnsEMBL/Web/Apache/SSI.pm line 64

EnsEMBL::Web::Apache::SSI::handler('Apache2::RequestRec=SCALAR(0x255f5f0)',
'HASH(0x68ff648)') called at
/usr/local/Ensembl/modules/EnsEMBL/Web/Apache/Handlers.pm line 473

EnsEMBL::Web::Apache::Handlers::handler('Apache2::RequestRec=SCALAR(0x255f5f0)')
called at -e line 0
        eval {...} called at -e line 0
[Fri May 18 14:13:13 2012] [error] [client 192.168.30.5] Can't locate
object method "render" via package "EnsEMBL::Web::Document::HTML::WhatsNew"
at /usr/local/Ensembl/modules/EnsEMBL/Web/Controller/SSI.pm line 174.\n


I installed package HTML::Strip from CPAN, add its directory
to WebsiteAdaptor.pm, as

BEGIN {unshift
(@INC,'/usr/local/lib/perl5/site_perl/5.14.1/x86_64-linux-thread-multi'); }

But still get error:

!!! UNKNOWN RSS METHOD DEFINED at
/usr/local/Ensembl/modules/EnsEMBL/Web/Document/HTML.pm line 143.
EnsEMBL::Web::Root: failed to use EnsEMBL::Web::Document::HTML::WhatsNew
EnsEMBL::Web::Root: Can't locate HTML/Strip.pm in @INC (@INC
.........................
...........................................................................................................................

Where should I modify the directory  ?

Thanks
-- 
Gang Chen
TILSI
Taicang Institute For Life Science Information
Address: A2/162, Renmin South Road, Taicang, 215400, Jiangsu Province,
P.R.China
Phone:(+86)512-82782588
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20120518/5d29a8f3/attachment.html>


More information about the Dev mailing list