zigdon / twirssi

An irssi script allowing the use of Twitter from within the IRC client.
http://twirssi.com
133 stars 27 forks source link

Script load fail; Attribute (password) does not pass the type constraint #59

Closed jinnatar closed 12 years ago

jinnatar commented 12 years ago

On script load Twirssi (stable & beta) fails with the following error;

Attribute (password) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor Net::Twitter_v3_18003_withLegacy::new (defined at /usr/local/share/perl/5.10.1/Net/Twitter.pm line 75) line 192. 18:17:20 INet::Twitter_v3_18003_with__Legacy::new('Net::Twitter_v3_18003_withLegacy', 'source', 'twirssi', 'password', undef, 'ssl', 0, 'username', undef) called at /usr/local/share/perl/5.10.1/Net/Twitter.pm line 137 18:17:20 INet::Twitter::new('Net::Twitter', 'username', undef, 'password', undef, 'source', 'twirssi', 'ssl', 0) called at /home/artanicus/.irssi/scripts/twirssi.pl line 915 18:17:20 IIrssi::Script::twirssi::cmd_login(' ') called at /home/artanicus/.irssi/scripts/twirssi.pl line 806

.. And proceeds to unhelpfully dump the whole script contents to screen.

Any other info needed, just yell and I shall provide.

zigdon commented 12 years ago

Are you trying to log in with a password? Twitter doesn't support that anymore. We should have twirssi just reject the idea.

Unless you're trying to log in to a different service?

jinnatar commented 12 years ago

I've never used anything but oauth and since the script dies already on load, I'm not actively trying to log in with anything. I removed my old twirssi.oauth but nothing changed.

jinnatar commented 12 years ago

Oddly enough after an accidental server restart it's working. I guess whatever it was about it's now gone.