(2013-05-07 16:44)kuismak Wrote: Got "Failed to get new token" when putting code. Even tried that longer code.
I'll need a log to have any hope of figuring out the problem. Please use pastebin or such to share the log.
ruuk
Skilled Python Coder Joined: Aug 2005 Reputation: 123 Location: Bremerton, WA USA |
2013-05-07 19:42
Post: #231
(2013-05-07 16:44)kuismak Wrote: Got "Failed to get new token" when putting code. Even tried that longer code. I'll need a log to have any hope of figuring out the problem. Please use pastebin or such to share the log. |
| find quote |
jgbreezer
Junior Member Posts: 2 Joined: May 2013 Reputation: 0 |
Yesterday 21:25
Post: #232
Me too ("Failed to get new token" error after I typed in the token having typed in the correct email/password)
xbmclog's posted (from fresh release install of raspbmc) to: xbmclogs.com (20476) I asterisk('*')d out the majority (all but first-4,last-4) of the url token at 19:51:43 and there's an error message just below it - also a complaint I noticed earlier about not being able to load social media. I used just the 4-digit token to try and auth myself; as facebook says if you're using a different IP you might need the full token length version, I used xbmc's web browser to auth myself and get the token which worked ok (though coulda done with a larger font to read it clearly, and I couldn't copy-paste it). Have checked for passwords/other tokens, removed some of the CeC log line clutter and one or two other lines early on related to other plugin stuff (irrelevant - video add-ons). Am a developer and happy with ssh access/shell/programming in python so if there's anything more technical you need me to do to figure it out/test a fix, ask and I should be able to help.
(This post was last modified: Yesterday 21:25 by jgbreezer.)
|
| find quote |
ruuk
Skilled Python Coder Joined: Aug 2005 Reputation: 123 Location: Bremerton, WA USA |
Yesterday 22:09
Post: #233
(Yesterday 21:25)jgbreezer Wrote: Me too ("Failed to get new token" error after I typed in the token having typed in the correct email/password) Thanks for the log. I think I see the issue. I have some code that checks the length of the token in case it needed to parse it out of html and instead got some random chunk. Apparently the token size is growing ![]() I'm going make the size it accepts bigger and put up an update. That should fix the issue. Thanks for you care in preparing the log. You obfuscated your token, but allowed me to verify that it was probably an actual token by leaving the start and end. And assuming you kept the length, that helped too (though the length is the only likely thing to throw that particular error in this case) |
| find quote |
ruuk
Skilled Python Coder Joined: Aug 2005 Reputation: 123 Location: Bremerton, WA USA |
Yesterday 23:19
Post: #234
Version 0.8.3
Changes: - Fixed a bug caused by new longer Facebook token lengths - Fixed a bug with login notifications forms and improved forms handling (fixes "no control matching name 'submit[Don't Save]'" errors) On my REPO. This will likely fix the recent "Failed to get new token" errors, even for the users that didn't bother to get me a log
|
| find quote |
jgbreezer
Junior Member Posts: 2 Joined: May 2013 Reputation: 0 |
Today 03:09
Post: #235
Yep, I used vim and 171-ish replaces of characters in the token by '*', so the length was kept; am familiar with things you might want to check on and thought that would be safe for me and most useful for you (the token might still have been valid as I posted it...)
Thankyou for the quick response and update. I know facebook change things every now and then, so am glad you're still actively here and ready to update the addon! (I guess that means you still use it probably too) |
| find quote |