in reply to Re^8: Net::Twitter - fatal , but no error?
in thread Net::Twitter - fatal , but no error?
Would be doing twitter post... Content-type: text/html; charset=utf-8 <p><font face='Tahoma,Arial,Helvetica' size=2>A fatal error has occure +d:</font></p><blockquote><pre>Attribute (aliases) does not pass the t +ype constraint because: Validation failed for 'ArrayRef[Str] +9; with value ARRAY(0x21b92a8) at /usr/lib64/perl5/vendor_perl/5.10.1 +/x86_64-linux/Moose/Meta/Attribute.pm line 1274 Moose::Meta::Attribute::verify_against_type_constraint('M +oose::Meta::Attribute=HASH(0x1c82350)', 'ARRAY(0x21b92a8)&# +039;, 'instance', 'Net::Twitter::Meta::Method=HASH(0x2 +1b8d08)') called at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-l +inux/Moose/Meta/Attribute.pm line 1261 Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta:: +Attribute=HASH(0x1c82350)', 'ARRAY(0x21b92a8)', ' +Net::Twitter::Meta::Method=HASH(0x21b8d08)') called at /usr/lib6 +4/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Meta/Attribute.pm line +531 Moose::Meta::Attribute::initialize_instance_slot('Moose:: +Meta::Attribute=HASH(0x1c82350)', 'Moose::Meta::Instance=HA +SH(0x2077740)', 'Net::Twitter::Meta::Method=HASH(0x21b8d08) +', 'HASH(0xab69f8)') called at /usr/lib64/perl5/vendor +_perl/5.10.1/x86_64-linux/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance('Moose::Meta::Clas +s=HASH(0x2098b38)', 'HASH(0xab69f8)') called at /usr/l +ib64/perl5/vendor_perl/5.10.1/x86_64-linux/Class/MOP/Class.pm line 49 +8 Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0x +2098b38)', 'HASH(0xab69f8)') called at /usr/lib64/perl +5/vendor_perl/5.10.1/x86_64-linux/Moose/Meta/Class.pm line 274 Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0 +x2098b38)', 'HASH(0xab69f8)') called at constructor Mo +ose::Meta::Method::_new (defined at /usr/lib64/perl5/vendor_perl/5.10 +.1/x86_64-linux/Moose.pm line 233) line 4 Moose::Meta::Method::_new('Net::Twitter::Meta::Method +9;, 'HASH(0xab69f8)') called at /usr/lib64/perl5/vendor_per +l/5.10.1/x86_64-linux/Class/MOP/Method.pm line 46 Class::MOP::Method::wrap('Net::Twitter::Meta::Method' +;, 'name', 'update_with_media', 'package_nam +e', 'Net::Twitter::Role::API::Upload', 'body' +;, 'CODE(0x21b2c58)', 'returns', 'Status +9;, 'datetime_parser', 'DateTime::Format::Strptime=HAS +H(0x2018cf8)', 'path', 'statuses/update_with_medi +a', 'description', 'Updates the authenticating us +er\'s status and attaches media ...', 'base_url_method +', 'upload_url', 'booleans', 'ARRAY(0x2 +1b2bf8)', 'params', 'ARRAY(0x20aa6d0)', ...) + called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/API.pm lin +e 141 Net::Twitter::Meta::Method::new('Net::Twitter::Meta::Meth +od', 'name', 'update_with_media', 'pack +age_name', 'Net::Twitter::Role::API::Upload', 'bo +dy', 'CODE(0x21b2c58)', 'returns', 'Sta +tus', 'datetime_parser', 'DateTime::Format::Strpt +ime=HASH(0x2018cf8)', 'path', 'statuses/update_wi +th_media', 'description', 'Updates the authentica +ting user\'s status and attaches media ...', 'base_url +_method', 'upload_url', 'booleans', 'AR +RAY(0x21b2bf8)', 'params', 'ARRAY(0x20aa6d0)' +;, ...) called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/API +.pm line 96 Net::Twitter::API::twitter_api_method('Net::Twitter::Role +::API::Upload', 'update_with_media', 'path', + 'statuses/update_with_media', 'method', 'PO +ST', 'params', 'ARRAY(0x20aa6d0)', 'req +uired', 'ARRAY(0x2057e78)', 'booleans',  +9;ARRAY(0x21b2bf8)', 'returns', 'Status', &# +039;description', 'Updates the authenticating user\'s +status and attaches media ...') called at /usr/lib64/perl5/vendo +r_perl/5.10.1/x86_64-linux/Moose/Exporter.pm line 361 Net::Twitter::API::twitter_api_method('update_with_media& +#039;, 'path', 'statuses/update_with_media',  +9;method', 'POST', 'params', 'ARRAY(0x2 +0aa6d0)', 'required', 'ARRAY(0x2057e78)', &# +039;booleans', 'ARRAY(0x21b2bf8)', 'returns' +, 'Status', 'description', 'Updates the auth +enticating user\'s status and attaches media ...') called a +t /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/Role/API/Upload.pm +line 21 require Net/Twitter/Role/API/Upload.pm called at /usr/lib64/pe +rl5/vendor_perl/5.10.1/Module/Runtime.pm line 205 Module::Runtime::require_module('Net::Twitter::Role::API: +:Upload') called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Lo +ad.pm line 199 Class::Load::__ANON__() called at /usr/lib64/perl5/vendor_perl +/5.10.1/Try/Tiny.pm line 42 eval {...} called at /usr/lib64/perl5/vendor_perl/5.10.1/Try/T +iny.pm line 39 Try::Tiny::try('CODE(0xd07fe0)', 'CODE(0xd90ef0 +)') called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm +line 205 Class::Load::try_load_class('Net::Twitter::Role::API::Upl +oad', undef) called at /usr/lib64/perl5/vendor_perl/5.10.1/Class +/Load.pm line 64 Class::Load::load_class('Net::Twitter::Role::API::Upload& +#039;, undef) called at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-li +nux/Moose/Util.pm line 132 Moose::Util::_apply_all_roles('Moose::Meta::Role=HASH(0xd +055b8)', undef, 'Net::Twitter::Role::API::Upload') cal +led at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Util.pm + line 99 Moose::Util::apply_all_roles('Moose::Meta::Role=HASH(0xd0 +55b8)', 'Net::Twitter::Role::API::Upload') called at / +usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Role.pm line 29 Moose::Role::with('Moose::Meta::Role=HASH(0xd055b8)' +, 'Net::Twitter::Role::API::Upload') called at /usr/lib64/p +erl5/vendor_perl/5.10.1/x86_64-linux/Moose/Exporter.pm line 382 Moose::Role::with('Net::Twitter::Role::API::Upload') + called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/Role/API/R +EST.pm line 10 require Net/Twitter/Role/API/REST.pm called at /usr/lib64/perl +5/vendor_perl/5.10.1/Module/Runtime.pm line 205 Module::Runtime::require_module('Net::Twitter::Role::API: +:REST') called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load +.pm line 199 Class::Load::__ANON__() called at /usr/lib64/perl5/vendor_perl +/5.10.1/Try/Tiny.pm line 42 eval {...} called at /usr/lib64/perl5/vendor_perl/5.10.1/Try/T +iny.pm line 39 Try::Tiny::try('CODE(0x20853c8)', 'CODE(0xd90ef +0)') called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm + line 205 Class::Load::try_load_class('Net::Twitter::Role::API::RES +T', undef) called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/L +oad.pm line 64 Class::Load::load_class('Net::Twitter::Role::API::REST� +39;) called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter.pm lin +e 48 Net::Twitter::_resolve_traits('Net::Twitter', ' +API::REST', 'OAuth') called at /usr/lib64/perl5/vendor +_perl/5.10.1/Net/Twitter.pm line 131 Net::Twitter::new('Net::Twitter', 'traits' +, 'ARRAY(0x1cca048)', 'consumer_key', 'CyMlY +WmE6YCbgghRYJDfg', 'consumer_secret', 'Yy7ajd6I6Y +cOQj1hu0zKgPerMbte7TsfveQedE', 'access_token', '4 +43538909-6E7PTN2lcAzX5eJq74sqADhmNN4xKUlBbHkNG19Y', 'access +_token_secret', 'egS6XuXzJ7dWpdlSfpyWWls2CuliVYXVpVtyM8Bz2o +0') called at twitter_test.cgi line 45 main::post_twitter(175) called at twitter_test.cgi line 30 Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.10.1/M +odule/Runtime.pm line 205. at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Role.pm lin +e 29 Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.10.1/M +odule/Runtime.pm line 205. at twitter_test.cgi line 45 </pre></blockquote><p><font face='Tahoma,Arial,Helvetica' size=2>Pleas +e enable debugging in setup for more details.</font></p> Attribute (aliases) does not pass the type constraint because: Validat +ion failed for 'ArrayRef[Str]' with value ARRAY(0x21b92a8) at /usr/li +b64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Meta/Attribute.pm lin +e 1274 Moose::Meta::Attribute::verify_against_type_constraint('Moose: +:Meta::Attribute=HASH(0x1c82350)', 'ARRAY(0x21b92a8)', 'instance', 'N +et::Twitter::Meta::Method=HASH(0x21b8d08)') called at /usr/lib64/perl +5/vendor_perl/5.10.1/x86_64-linux/Moose/Meta/Attribute.pm line 1261 Moose::Meta::Attribute::_coerce_and_verify('Moose::Meta::Attri +bute=HASH(0x1c82350)', 'ARRAY(0x21b92a8)', 'Net::Twitter::Meta::Metho +d=HASH(0x21b8d08)') called at /usr/lib64/perl5/vendor_perl/5.10.1/x86 +_64-linux/Moose/Meta/Attribute.pm line 531 Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta: +:Attribute=HASH(0x1c82350)', 'Moose::Meta::Instance=HASH(0x2077740)', + 'Net::Twitter::Meta::Method=HASH(0x21b8d08)', 'HASH(0xab69f8)') call +ed at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Class/MOP/Clas +s.pm line 525 Class::MOP::Class::_construct_instance('Moose::Meta::Class=HAS +H(0x2098b38)', 'HASH(0xab69f8)') called at /usr/lib64/perl5/vendor_pe +rl/5.10.1/x86_64-linux/Class/MOP/Class.pm line 498 Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0x2098b +38)', 'HASH(0xab69f8)') called at /usr/lib64/perl5/vendor_perl/5.10.1 +/x86_64-linux/Moose/Meta/Class.pm line 274 Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x2098 +b38)', 'HASH(0xab69f8)') called at constructor Moose::Meta::Method::_ +new (defined at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moos +e.pm line 233) line 4 Moose::Meta::Method::_new('Net::Twitter::Meta::Method', 'HASH( +0xab69f8)') called at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linu +x/Class/MOP/Method.pm line 46 Class::MOP::Method::wrap('Net::Twitter::Meta::Method', 'name', + 'update_with_media', 'package_name', 'Net::Twitter::Role::API::Uploa +d', 'body', 'CODE(0x21b2c58)', 'returns', 'Status', 'datetime_parser' +, 'DateTime::Format::Strptime=HASH(0x2018cf8)', 'path', 'statuses/upd +ate_with_media', 'description', 'Updates the authenticating user\'s s +tatus and attaches media ...', 'base_url_method', 'upload_url', 'bool +eans', 'ARRAY(0x21b2bf8)', 'params', 'ARRAY(0x20aa6d0)', ...) called +at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/API.pm line 141 Net::Twitter::Meta::Method::new('Net::Twitter::Meta::Method', +'name', 'update_with_media', 'package_name', 'Net::Twitter::Role::API +::Upload', 'body', 'CODE(0x21b2c58)', 'returns', 'Status', 'datetime_ +parser', 'DateTime::Format::Strptime=HASH(0x2018cf8)', 'path', 'statu +ses/update_with_media', 'description', 'Updates the authenticating us +er\'s status and attaches media ...', 'base_url_method', 'upload_url' +, 'booleans', 'ARRAY(0x21b2bf8)', 'params', 'ARRAY(0x20aa6d0)', ...) +called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/API.pm line + 96 Net::Twitter::API::twitter_api_method('Net::Twitter::Role::API +::Upload', 'update_with_media', 'path', 'statuses/update_with_media', + 'method', 'POST', 'params', 'ARRAY(0x20aa6d0)', 'required', 'ARRAY(0 +x2057e78)', 'booleans', 'ARRAY(0x21b2bf8)', 'returns', 'Status', 'des +cription', 'Updates the authenticating user\'s status and attaches me +dia ...') called at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/ +Moose/Exporter.pm line 361 Net::Twitter::API::twitter_api_method('update_with_media', 'pa +th', 'statuses/update_with_media', 'method', 'POST', 'params', 'ARRAY +(0x20aa6d0)', 'required', 'ARRAY(0x2057e78)', 'booleans', 'ARRAY(0x21 +b2bf8)', 'returns', 'Status', 'description', 'Updates the authenticat +ing user\'s status and attaches media ...') called at /usr/lib64/perl +5/vendor_perl/5.10.1/Net/Twitter/Role/API/Upload.pm line 21 require Net/Twitter/Role/API/Upload.pm called at /usr/lib64/pe +rl5/vendor_perl/5.10.1/Module/Runtime.pm line 205 Module::Runtime::require_module('Net::Twitter::Role::API::Uplo +ad') called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm line + 199 Class::Load::__ANON__() called at /usr/lib64/perl5/vendor_perl +/5.10.1/Try/Tiny.pm line 42 eval {...} called at /usr/lib64/perl5/vendor_perl/5.10.1/Try/T +iny.pm line 39 Try::Tiny::try('CODE(0xd07fe0)', 'CODE(0xd90ef0)') called at / +usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm line 205 Class::Load::try_load_class('Net::Twitter::Role::API::Upload', + undef) called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm l +ine 64 Class::Load::load_class('Net::Twitter::Role::API::Upload', und +ef) called at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/ +Util.pm line 132 Moose::Util::_apply_all_roles('Moose::Meta::Role=HASH(0xd055b8 +)', undef, 'Net::Twitter::Role::API::Upload') called at /usr/lib64/pe +rl5/vendor_perl/5.10.1/x86_64-linux/Moose/Util.pm line 99 Moose::Util::apply_all_roles('Moose::Meta::Role=HASH(0xd055b8) +', 'Net::Twitter::Role::API::Upload') called at /usr/lib64/perl5/vend +or_perl/5.10.1/x86_64-linux/Moose/Role.pm line 29 Moose::Role::with('Moose::Meta::Role=HASH(0xd055b8)', 'Net::Tw +itter::Role::API::Upload') called at /usr/lib64/perl5/vendor_perl/5.1 +0.1/x86_64-linux/Moose/Exporter.pm line 382 Moose::Role::with('Net::Twitter::Role::API::Upload') called at + /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/Role/API/REST.pm lin +e 10 require Net/Twitter/Role/API/REST.pm called at /usr/lib64/perl +5/vendor_perl/5.10.1/Module/Runtime.pm line 205 Module::Runtime::require_module('Net::Twitter::Role::API::REST +') called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm line 1 +99 Class::Load::__ANON__() called at /usr/lib64/perl5/vendor_perl +/5.10.1/Try/Tiny.pm line 42 eval {...} called at /usr/lib64/perl5/vendor_perl/5.10.1/Try/T +iny.pm line 39 Try::Tiny::try('CODE(0x20853c8)', 'CODE(0xd90ef0)') called at +/usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm line 205 Class::Load::try_load_class('Net::Twitter::Role::API::REST', u +ndef) called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm lin +e 64 Class::Load::load_class('Net::Twitter::Role::API::REST') calle +d at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter.pm line 48 Net::Twitter::_resolve_traits('Net::Twitter', 'API::REST', 'OA +uth') called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter.pm li +ne 131 Net::Twitter::new('Net::Twitter', 'traits', 'ARRAY(0x1cca048)' +, 'consumer_key', 'CyMlYWmE6YCbgghRYJDfg', 'consumer_secret', 'Yy7ajd +6I6YcOQj1hu0zKgPerMbte7TsfveQedE', 'access_token', '443538909-6E7PTN2 +lcAzX5eJq74sqADhmNN4xKUlBbHkNG19Y', 'access_token_secret', 'egS6XuXzJ +7dWpdlSfpyWWls2CuliVYXVpVtyM8Bz2o0') called at twitter_test.cgi line +45 main::post_twitter(175) called at twitter_test.cgi line 30 Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.10.1/M +odule/Runtime.pm line 205. at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Role.pm lin +e 29 Compilation failed in require at /usr/lib64/perl5/vendor_perl/5.10.1/M +odule/Runtime.pm line 205. at twitter_test.cgi line 45
|
|---|