Kodi Community Forum
[RELEASE] xbTweet - a Twitter Script for XBMC (notify your followers from XBMC) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] xbTweet - a Twitter Script for XBMC (notify your followers from XBMC) (/showthread.php?tid=66060)

Pages: 1 2 3 4 5 6 7 8 9


- Doomstone - 2010-04-18

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 - 2010-04-18

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.


- mr. kav - 2010-04-18

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.

Thanks for the help Smile.
Any chance for a pastebin copy of the log? I tried different scenarios with the PIN and OAuth and all worked (except the initial bug you reported, of course).


- Doomstone - 2010-04-18

Here you go
http://pastebin.org/157315

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 - 2010-04-18

The other pastbit did not go down to where the scrips was runed.
Use this instead of the other http://pastebin.org/157319


- mr. kav - 2010-04-18

Doomstone Wrote:Here you go
http://pastebin.org/157315

TypeError: unpack non-sequence

Says it all, it's a bug. I'm working on a fix Smile


- isamu.dragon - 2010-04-19

Version 0.999 (latest version) fixed everything, and i even got the Oauth to work.

And i was using the WINDOWS version of XBMC.

Keep up the good work man.


- piotr - 2010-04-20

Sent you a Dutch translation about a week ago.


- asantosjr - 2010-04-20

I´m using XBMC Live 9.11 but I don't know where I should put the PIN code that I got from this page.
When I run the script I receive a message saying that I have to put my PIN on the next page, but the only action available is close.
Where I have to put the PIN code?

Thx!


- piotr - 2010-04-21

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 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<--

Using normal authentication:

Code:
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<--



- mr. kav - 2010-04-25

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 ...
...

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 - 2010-04-25

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

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 - 2010-04-25

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!

Great stuff!
You can find the strings.xml file here. I'll PM you with my email address for the translation.

Thanks!!


- asantosjr - 2010-04-25

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!!

Just sent to your gmail account.
Please let me know if you recieved.

Regards!


- ostfriesengott - 2010-05-01

Hi, just downloaded 0.99. When starting it for the first time a message appears saying that another windows will popup where I have to enter the Oauth-PIN. However, I then close the messenge followed by a "script error". Where do I change the script to common twitter access (w/o oAuthent). I am using xbmc Live/Ubuntu).