Subject: | Catalyst::Plugin::Server does not work with RPC::XML v 0.69 |
RPC::XML has made quite significant changes in version 0.69 concerning
classes
- RPC::XML::Parser
- RPC::XML::Parser::XMLParser
- RPC::XML::ParserFactory
These changes seem to be a reason why Catalyst::Plugin::Server now does
not install properly - I have experienced the following test failures:
t/001_use.t ............ 1/2 # Failed test 'use
Catalyst::Plugin::Server::XMLRPC;'
# at t/001_use.t line 10.
# Tried to use 'Catalyst::Plugin::Server::XMLRPC'.
# Error: RPC::XML::Parser::new: This method should have been
overridden by the RPC::XML::Parser class at
C:/strawberry/perl/site/lib/RPC/XML/Parser.pm line
46.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
t/001_use.t ............ 2/2 # Looks like you failed 1 test of 2.
t/001_use.t ............ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
t/002_live.t ........... Could not load class (TestApp) because : Could
not load class (Catalyst::Plugin::Server::XMLRPC) because :
RPC::XML::Parser::new: This
method should have been overridden by the RPC::XML::Parser class at
C:/strawberry/perl/site/lib/RPC/XML/Parser.pm line 46.
Compilation failed in require at
C:/strawberry/perl/site/lib/Class/MOP.pm line 129.
at C:/strawberry/perl/site/lib/Class/MOP.pm line 114
Class::MOP::load_first_existing_class('Catalyst::Plugin::Server::XMLRPC') called
at C:/strawberry/perl/site/lib/Class/MOP.pm line 135
Class::MOP::load_class('Catalyst::Plugin::Server::XMLRPC')
called at C:/strawberry/perl/site/lib/Catalyst.pm line 2570
Catalyst::setup_plugins('TestApp', 'ARRAY(0x19e903c)') called at
C:/strawberry/perl/site/lib/Catalyst.pm line 1032
Catalyst::setup('TestApp') called at
C:/strawberry/_test/Catalyst-Plugin-Server-0.24/t/lib/TestApp.pm line 15
require TestApp.pm called at
C:/strawberry/perl/site/lib/Class/MOP.pm line 129
eval {...} called at C:/strawberry/perl/site/lib/Class/MOP.pm
line 129
Class::MOP::_try_load_one_class('TestApp') called at
C:/strawberry/perl/site/lib/Class/MOP.pm line 90
Class::MOP::load_first_existing_class('TestApp') called at
C:/strawberry/perl/site/lib/Class/MOP.pm line 135
Class::MOP::load_class('TestApp') called at
C:/strawberry/perl/site/lib/Catalyst/Test.pm line 23
Catalyst::Test::__ANON__('Catalyst::Test', 'all',
'HASH(0xb6b044)', 'HASH(0x9ff714)') called at
C:/strawberry/perl/site/lib/Sub/Exporter.pm line 493
Sub::Exporter::_expand_group('Catalyst::Test',
'HASH(0x13e9434)', 'ARRAY(0x13e8664)', 'HASH(0x9ff714)',
'HASH(0xb6b094)', 'HASH(0x13e8ac4)') called at C
:/strawberry/perl/site/lib/Sub/Exporter.pm line 424
Sub::Exporter::_expand_groups('Catalyst::Test',
'HASH(0x13e9434)', 'ARRAY(0xb6ab04)', 'HASH(0x9ff714)') called at
C:/strawberry/perl/site/lib/Sub/Export
er.pm line 742
Sub::Exporter::__ANON__('Catalyst::Test', '-all',
'HASH(0x9ff684)') called at C:/strawberry/perl/site/lib/Catalyst/Test.pm
line 106
Catalyst::Test::import('Catalyst::Test', 'TestApp') called at
t/002_live.t line 17
main::BEGIN() called at
C:/strawberry/_test/Catalyst-Plugin-Server-0.24/t/lib/TestApp.pm line 0
eval {...} called at
C:/strawberry/_test/Catalyst-Plugin-Server-0.24/t/lib/TestApp.pm line 0
Compilation failed in require at
C:/strawberry/perl/site/lib/Class/MOP.pm line 129.
at C:/strawberry/perl/site/lib/Class/MOP.pm line 114
Class::MOP::load_first_existing_class('TestApp') called at
C:/strawberry/perl/site/lib/Class/MOP.pm line 135
Class::MOP::load_class('TestApp') called at
C:/strawberry/perl/site/lib/Catalyst/Test.pm line 23
Catalyst::Test::__ANON__('Catalyst::Test', 'all',
'HASH(0xb6b044)', 'HASH(0x9ff714)') called at
C:/strawberry/perl/site/lib/Sub/Exporter.pm line 493
Sub::Exporter::_expand_group('Catalyst::Test',
'HASH(0x13e9434)', 'ARRAY(0x13e8664)', 'HASH(0x9ff714)',
'HASH(0xb6b094)', 'HASH(0x13e8ac4)') called at C
:/strawberry/perl/site/lib/Sub/Exporter.pm line 424
Sub::Exporter::_expand_groups('Catalyst::Test',
'HASH(0x13e9434)', 'ARRAY(0xb6ab04)', 'HASH(0x9ff714)') called at
C:/strawberry/perl/site/lib/Sub/Export
er.pm line 742
Sub::Exporter::__ANON__('Catalyst::Test', '-all',
'HASH(0x9ff684)') called at C:/strawberry/perl/site/lib/Catalyst/Test.pm
line 106
Catalyst::Test::import('Catalyst::Test', 'TestApp') called at
t/002_live.t line 17
main::BEGIN() called at t/002_live.t line 17
eval {...} called at t/002_live.t line 17
BEGIN failed--compilation aborted at t/002_live.t line 17.
t/002_live.t ........... Dubious, test returned 9 (wstat 2304, 0x900)
No subtests run
+ many similar
Unfortunately this creates a big trouble for users of Catalyst + XML::RPC.
--
kmx