Question
I've tried to install the Headlines Plugin. Although the installer detected no dependencies and the plugin seems to be correctly installed, I get the following error message:
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Can't locate object method "new" via package "URI"
The error log of my apache server has a more detailed error information.:
Can't locate object method "new" via package "URI" at /usr/perl5/site_perl/5.8.4/HTTP/Request.pm line 82.
HTTP::Request::uri('HTTP::Request=HASH(0xf0b98c)', 'http://slashdot.org/slashdot.rdf') called at /usr/perl5/site_perl/5.8.4/HTTP/Request.pm line 18
HTTP::Request::new('HTTP::Request', 'GET', 'http://slashdot.org/slashdot.rdf') called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/Plugins/HeadlinesPlugin/Core.pm line 929
TWiki::Plugins::HeadlinesPlugin::Core::getUrlLWP('http://slashdot.org/slashdot.rdf') called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/Plugins/HeadlinesPlugin/Core.pm line 370
TWiki::Plugins::HeadlinesPlugin::Core::readRssFeed('http://slashdot.org/slashdot.rdf', 60) called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/Plugins/HeadlinesPlugin/Core.pm line 412
TWiki::Plugins::HeadlinesPlugin::Core::handleHeadlinesTag('TWiki', 'HeadlinesPlugin', 'undef', 'undef') called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/Plugins/HeadlinesPlugin.pm line 68
TWiki::Plugins::HeadlinesPlugin::handleHeadlinesTag('TWiki', 'HeadlinesPlugin', 'undef', 'undef') called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/Plugins/HeadlinesPlugin.pm line 46
TWiki::Plugins::HeadlinesPlugin::commonTagsHandler('<!--\x{a}\x{a} PLEASE DO NOT EDIT THIS TOPIC\x{a}\x{a} It is automaticall...', 'HeadlinesPlugin', 'TWiki', 0) called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/Plugin.pm line 225
TWiki::Plugin::invoke('TWiki::Plugin=HASH(0xffa278)', 'commonTagsHandler', '<!--\x{a}\x{a} PLEASE DO NOT EDIT THIS TOPIC\x{a}\x{a} It is automaticall...', 'HeadlinesPlugin', 'TWiki', 0) called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/Plugins.pm line 303
TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0xf33048)', 'commonTagsHandler', '<!--\x{a}\x{a} PLEASE DO NOT EDIT THIS TOPIC\x{a}\x{a} It is automaticall...', 'HeadlinesPlugin', 'TWiki', 0) called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/Plugins.pm line 439
TWiki::Plugins::commonTagsHandler('TWiki::Plugins=HASH(0xf33048)', '<!--\x{a}\x{a} PLEASE DO NOT EDIT THIS TOPIC\x{a}\x{a} It is automaticall...', 'HeadlinesPlugin', 'TWiki', 0) called at /export/www/CONTENT/server/docs/twiki/lib/TWiki.pm line 2464
TWiki::handleCommonTags('TWiki=HASH(0x10fdb3c)', '<!--\x{a}\x{a} PLEASE DO NOT EDIT THIS TOPIC\x{a}\x{a} It is automaticall...', 'TWiki', 'HeadlinesPlugin') called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/UI/View.pm line 322
TWiki::UI::View::_prepare('<!--\x{a}\x{a} PLEASE DO NOT EDIT THIS TOPIC\x{a}\x{a} It is automaticall...', 'TWiki=HASH(0x10fdb3c)', 'TWiki', 'HeadlinesPlugin', 'TWiki::Meta=HASH(0xed3624)', 0) called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/UI/View.pm line 306
TWiki::UI::View::view('TWiki=HASH(0x10fdb3c)') called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/UI.pm line 109
TWiki::UI::__ANON__() called at /export/www/CONTENT/server/docs/twiki/lib/CPAN/lib/Error.pm line 379
eval {...} called at /export/www/CONTENT/server/docs/twiki/lib/CPAN/lib/Error.pm line 371
Error::subs::try('CODE(0xd1c23c)', 'HASH(0x14d10ec)') called at /export/www/CONTENT/server/docs/twiki/lib/TWiki/UI.pm line 158
TWiki::UI::run('CODE(0x236494)') called at /export/www/CONTENT/server/docs/twiki/bin/view line 31
ModPerl::ROOT::ModPerl::Registry::export_www_CONTENT_server_docs_twiki_bin_view::handler('Apache2::RequestRec=SCALAR(0xfdde4c)') called at /export/local/apache/lib/perl/ModPerl/RegistryCooker.pm line 203
eval {...} called at /export/local/apache/lib/perl/ModPerl/RegistryCooker.pm line 203
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x14685f4)') called at /export/local/apache/lib/perl/ModPerl/RegistryCooker.pm line 169
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x14685f4)') called at /export/local/apache/lib/perl/ModPerl/Registry.pm line 30
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xfdde4c)') called at -e line 0
eval {...} called
I'd be really thankful for any idea or guess what might be wrong with my setup here.
Thanks
Alex
Environment
--
AlexRaabe - 28 Aug 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
One month passed, closing this question as unanswered.
--
PeterThoeny - 01 Oct 2006