Script load fail; Attribute (password) does not pass the type constraint
Closed this issue · 3 comments
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_with__Legacy::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_with__Legacy', '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.
- Net::Twitter 3.18003
- Irssi 0.8.14 (previous Ubuntu LTS, belive me I'll get off it as soon as possible :D)
Any other info needed, just yell and I shall provide.
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?
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.
Oddly enough after an accidental server restart it's working. I guess whatever it was about it's now gone.