Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^9: Net::Twitter - fatal , but no error?

by ultranerds (Pilgrim)
on Feb 08, 2013 at 16:48 UTC ( #1017860=note: print w/ replies, xml ) Need Help??


in reply to Re^8: Net::Twitter - fatal , but no error?
in thread Net::Twitter - fatal , but no error?

Hi,

Thanks for the reply. Sounds a bit out of my league <G> This is the full stack:

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 &#039;ArrayRef[Str]&#03 +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(&#039;M +oose::Meta::Attribute=HASH(0x1c82350)&#039;, &#039;ARRAY(0x21b92a8)&# +039;, &#039;instance&#039;, &#039;Net::Twitter::Meta::Method=HASH(0x2 +1b8d08)&#039;) 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(&#039;Moose::Meta:: +Attribute=HASH(0x1c82350)&#039;, &#039;ARRAY(0x21b92a8)&#039;, &#039; +Net::Twitter::Meta::Method=HASH(0x21b8d08)&#039;) 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(&#039;Moose:: +Meta::Attribute=HASH(0x1c82350)&#039;, &#039;Moose::Meta::Instance=HA +SH(0x2077740)&#039;, &#039;Net::Twitter::Meta::Method=HASH(0x21b8d08) +&#039;, &#039;HASH(0xab69f8)&#039;) called at /usr/lib64/perl5/vendor +_perl/5.10.1/x86_64-linux/Class/MOP/Class.pm line 525 Class::MOP::Class::_construct_instance(&#039;Moose::Meta::Clas +s=HASH(0x2098b38)&#039;, &#039;HASH(0xab69f8)&#039;) 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(&#039;Moose::Meta::Class=HASH(0x +2098b38)&#039;, &#039;HASH(0xab69f8)&#039;) 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(&#039;Moose::Meta::Class=HASH(0 +x2098b38)&#039;, &#039;HASH(0xab69f8)&#039;) 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(&#039;Net::Twitter::Meta::Method&#03 +9;, &#039;HASH(0xab69f8)&#039;) called at /usr/lib64/perl5/vendor_per +l/5.10.1/x86_64-linux/Class/MOP/Method.pm line 46 Class::MOP::Method::wrap(&#039;Net::Twitter::Meta::Method&#039 +;, &#039;name&#039;, &#039;update_with_media&#039;, &#039;package_nam +e&#039;, &#039;Net::Twitter::Role::API::Upload&#039;, &#039;body&#039 +;, &#039;CODE(0x21b2c58)&#039;, &#039;returns&#039;, &#039;Status&#03 +9;, &#039;datetime_parser&#039;, &#039;DateTime::Format::Strptime=HAS +H(0x2018cf8)&#039;, &#039;path&#039;, &#039;statuses/update_with_medi +a&#039;, &#039;description&#039;, &#039;Updates the authenticating us +er\&#039;s status and attaches media ...&#039;, &#039;base_url_method +&#039;, &#039;upload_url&#039;, &#039;booleans&#039;, &#039;ARRAY(0x2 +1b2bf8)&#039;, &#039;params&#039;, &#039;ARRAY(0x20aa6d0)&#039;, ...) + called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/API.pm lin +e 141 Net::Twitter::Meta::Method::new(&#039;Net::Twitter::Meta::Meth +od&#039;, &#039;name&#039;, &#039;update_with_media&#039;, &#039;pack +age_name&#039;, &#039;Net::Twitter::Role::API::Upload&#039;, &#039;bo +dy&#039;, &#039;CODE(0x21b2c58)&#039;, &#039;returns&#039;, &#039;Sta +tus&#039;, &#039;datetime_parser&#039;, &#039;DateTime::Format::Strpt +ime=HASH(0x2018cf8)&#039;, &#039;path&#039;, &#039;statuses/update_wi +th_media&#039;, &#039;description&#039;, &#039;Updates the authentica +ting user\&#039;s status and attaches media ...&#039;, &#039;base_url +_method&#039;, &#039;upload_url&#039;, &#039;booleans&#039;, &#039;AR +RAY(0x21b2bf8)&#039;, &#039;params&#039;, &#039;ARRAY(0x20aa6d0)&#039 +;, ...) called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter/API +.pm line 96 Net::Twitter::API::twitter_api_method(&#039;Net::Twitter::Role +::API::Upload&#039;, &#039;update_with_media&#039;, &#039;path&#039;, + &#039;statuses/update_with_media&#039;, &#039;method&#039;, &#039;PO +ST&#039;, &#039;params&#039;, &#039;ARRAY(0x20aa6d0)&#039;, &#039;req +uired&#039;, &#039;ARRAY(0x2057e78)&#039;, &#039;booleans&#039;, &#03 +9;ARRAY(0x21b2bf8)&#039;, &#039;returns&#039;, &#039;Status&#039;, &# +039;description&#039;, &#039;Updates the authenticating user\&#039;s +status and attaches media ...&#039;) 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(&#039;update_with_media& +#039;, &#039;path&#039;, &#039;statuses/update_with_media&#039;, &#03 +9;method&#039;, &#039;POST&#039;, &#039;params&#039;, &#039;ARRAY(0x2 +0aa6d0)&#039;, &#039;required&#039;, &#039;ARRAY(0x2057e78)&#039;, &# +039;booleans&#039;, &#039;ARRAY(0x21b2bf8)&#039;, &#039;returns&#039; +, &#039;Status&#039;, &#039;description&#039;, &#039;Updates the auth +enticating user\&#039;s status and attaches media ...&#039;) 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(&#039;Net::Twitter::Role::API: +:Upload&#039;) 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(&#039;CODE(0xd07fe0)&#039;, &#039;CODE(0xd90ef0 +)&#039;) called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm +line 205 Class::Load::try_load_class(&#039;Net::Twitter::Role::API::Upl +oad&#039;, undef) called at /usr/lib64/perl5/vendor_perl/5.10.1/Class +/Load.pm line 64 Class::Load::load_class(&#039;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(&#039;Moose::Meta::Role=HASH(0xd +055b8)&#039;, undef, &#039;Net::Twitter::Role::API::Upload&#039;) cal +led at /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Util.pm + line 99 Moose::Util::apply_all_roles(&#039;Moose::Meta::Role=HASH(0xd0 +55b8)&#039;, &#039;Net::Twitter::Role::API::Upload&#039;) called at / +usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux/Moose/Role.pm line 29 Moose::Role::with(&#039;Moose::Meta::Role=HASH(0xd055b8)&#039; +, &#039;Net::Twitter::Role::API::Upload&#039;) called at /usr/lib64/p +erl5/vendor_perl/5.10.1/x86_64-linux/Moose/Exporter.pm line 382 Moose::Role::with(&#039;Net::Twitter::Role::API::Upload&#039;) + 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(&#039;Net::Twitter::Role::API: +:REST&#039;) 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(&#039;CODE(0x20853c8)&#039;, &#039;CODE(0xd90ef +0)&#039;) called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/Load.pm + line 205 Class::Load::try_load_class(&#039;Net::Twitter::Role::API::RES +T&#039;, undef) called at /usr/lib64/perl5/vendor_perl/5.10.1/Class/L +oad.pm line 64 Class::Load::load_class(&#039;Net::Twitter::Role::API::REST&#0 +39;) called at /usr/lib64/perl5/vendor_perl/5.10.1/Net/Twitter.pm lin +e 48 Net::Twitter::_resolve_traits(&#039;Net::Twitter&#039;, &#039; +API::REST&#039;, &#039;OAuth&#039;) called at /usr/lib64/perl5/vendor +_perl/5.10.1/Net/Twitter.pm line 131 Net::Twitter::new(&#039;Net::Twitter&#039;, &#039;traits&#039; +, &#039;ARRAY(0x1cca048)&#039;, &#039;consumer_key&#039;, &#039;CyMlY +WmE6YCbgghRYJDfg&#039;, &#039;consumer_secret&#039;, &#039;Yy7ajd6I6Y +cOQj1hu0zKgPerMbte7TsfveQedE&#039;, &#039;access_token&#039;, &#039;4 +43538909-6E7PTN2lcAzX5eJq74sqADhmNN4xKUlBbHkNG19Y&#039;, &#039;access +_token_secret&#039;, &#039;egS6XuXzJ7dWpdlSfpyWWls2CuliVYXVpVtyM8Bz2o +0&#039;) 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


TIA

Andy


Comment on Re^9: Net::Twitter - fatal , but no error?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017860]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2014-09-23 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (241 votes), past polls