2010-04-18, 17:27
Hmm i am having some problems getting the script to accept the pin code that twitter have given me, even thoug am 100% it is correct.
Doomstone Wrote:Been at it for some time now, i have also installed some debugging inside the code to check if the pin number got in correcty. It done, all the way to "get_access_token", it is in there something happens that makes it think that the pin code in incorrect.
Quote:19:21:22 T:2985155472 M:1890353152 INFO: -->Python script returned the following error<--
19:21:22 T:2985155472 M:1890353152 ERROR: Error Type: exceptions.TypeError
19:21:22 T:2985155472 M:1890353152 ERROR: Error Contents: unpack non-sequence
19:21:22 T:2985155472 M:1890353152 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/scripts/xbTweet/default.py", line 297, in ?
api, auth = Twitter_Login()
TypeError: unpack non-sequence
19:21:22 T:2985155472 M:1890353152 INFO: -->End of Python script error report<--
Doomstone Wrote:Here you go
http://pastebin.org/157315
20:56:17 T:2428922736 M:2943451136 ERROR: ClearBlock: Trying to clear non existent block /usr/share/xbmc/scripts/xbTweet
20:56:18 T:2428922736 M:2943324160 INFO: -->Python script returned the following error<--
20:56:18 T:2428922736 M:2943324160 ERROR: Error Type: webbrowser.Error
20:56:18 T:2428922736 M:2943324160 ERROR: Error Contents: could not locate runnable browser
20:56:18 T:2428922736 M:2943021056 ERROR: Traceback (most recent call last):
File "/usr/share/xbmc/scripts/xbTweet/default.py", line 297, in ?
api, auth = Twitter_Login()
File "/usr/share/xbmc/scripts/xbTweet/resources/lib/twitter_wrapper.py", line 103, in Twitte$
webbrowser.open(redirect_url)
File "/usr/share/xbmc/system/python/python24.zip/webbrowser.py", line 43, in open
get().open(url, new, autoraise)
File "/usr/share/xbmc/system/python/python24.zip/webbrowser.py", line 38, in get
raise Error("could not locate runnable browser")
Error: could not locate runnable browser
20:56:18 T:2428922736 M:2943021056 INFO: -->End of Python script error report<--
20:59:07 T:2327833456 M:2937282560 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/scripts/Common Scripts/xbTweet/default.py", line 297, in ?
api, auth = Twitter_Login()
TypeError: unpack non-sequence
20:59:07 T:2327833456 M:2937282560 INFO: -->End of Python script error report<--
asantosjr Wrote:I´m using XBMC Live 9.11 but I don't know where I should put the PIN code that I got from...
piotr Wrote:On XBMCLive 9.11 and xbTweet 0.9999.
Using 0Auth:
...Code:20:56:17 T:2428922736 M:2943451136 ERROR: ClearBlock: Trying to clear non existent block /usr/share/xbmc/scripts/xbTweet
20:56:18 T:2428922736 M:2943324160 INFO: -->Python script returned ...
mr. kav Wrote:Thanks for the feedback, I found the bug and both issues above are linked to the same root cause.
I updated the project's SVN, but I'm waiting for a couple more translations before releasing a new version.
I'll post here when it's ready.
Thanks again
asantosjr Wrote:Thanks for replying! I solved my problem installing on Windows and generating the .cfg file and then i copied to XBMC Live. It work´s fine!
I will translate to Brazilian Portuguese, ok?
Regards!
mr. kav Wrote:Great stuff!
You can find the strings.xml file here. I'll PM you with my email address for the translation.
Thanks!!