[RELEASE] uTorrent Control Plugin - Manage your µTorrent queue from within XBMC

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Laureus1 Offline
Junior Member
Posts: 8
Joined: Jan 2011
Reputation: 0
Post: #11
Hi,

Somehow I get the following error 'error in script plugin.program.utorrent' when trying to open the Utorrent-plugin 1.0.1 on my W7-machine. I checked the settings in uTorrent, both webUI and token authentication are enabled.

I have also set the same user and password in both the plugin and uTorrent itself. The port is set to 8080 in both the plugin and uTorrent.

Can anybody help me with this?
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 396
Joined: Jan 2009
Reputation: 0
Post: #12
Laureus1 Wrote:Hi,

Somehow I get the following error 'error in script plugin.program.utorrent' when trying to open the Utorrent-plugin 1.0.1 on my W7-machine. I checked the settings in uTorrent, both webUI and token authentication are enabled.

I have also set the same user and password in both the plugin and uTorrent itself. The port is set to 8080 in both the plugin and uTorrent.

Can anybody help me with this?

log file please.
find quote
Laureus1 Offline
Junior Member
Posts: 8
Joined: Jan 2011
Reputation: 0
Post: #13
15:04:50 T:3948 M:151613440 NOTICE: -->Python Interpreter Initialized<--
15:05:12 T:3948 M:151089152 ERROR: Error Type: urllib2.URLError
15:05:12 T:3948 M:151089152 ERROR: Error Contents: <urlopen error (10060, 'Operation timed out')>
15:05:12 T:3948 M:151068672 ERROR: Traceback (most recent call last):
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 257, in ?
listTorrents()
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 94, in listTorrents
tupList = updateList()
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 64, in updateList
torrentList = getList()
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 49, in getList
token = getToken()
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 39, in getToken
data = myClient.HttpCmd(tokenUrl)
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\resources\l​ib\utilities.py", line 89, in HttpCmd
response = urllib2.urlopen(req)
File "special://xbmc/system/python/Lib\urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "special://xbmc/system/python/Lib\urllib2.py", line 358, in open
response = self._open(req, data)
File "special://xbmc/system/python/Lib\urllib2.py", line 376, in _open
'_open', req)
File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 1021, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "special://xbmc/system/python/Lib\urllib2.py", line 996, in do_open
raise URLError(err)
URLError: <urlopen error (10060, 'Operation timed out')>
15:05:12 T:1192 M:150597632 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.utorrent/
15:05:12 T:1192 M:150597632 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.utorrent/) failed
15:05:12 T:404 M:150560768 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
find quote
splatter Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #14
Hello,

first of all thank you for the script!

But I think I found a minor bug
I think this script got a problem with commas in the Torrent name.

Note this line:
ValueError: invalid literal for int(): Wild (Season 1 Complete)"

The whole torrent name is "Man, Woman, Wild (Season 1 Complete).torrent"
I deleted the torrent and the script worked fine

Full Debug Log:
Pastebin-link
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 396
Joined: Jan 2009
Reputation: 0
Post: #15
Laureus1 Wrote:15:04:50 T:3948 M:151613440 NOTICE: -->Python Interpreter Initialized<--
15:05:12 T:3948 M:151089152 ERROR: Error Type: urllib2.URLError
15:05:12 T:3948 M:151089152 ERROR: Error Contents: <urlopen error (10060, 'Operation timed out')>
15:05:12 T:3948 M:151068672 ERROR: Traceback (most recent call last):
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 257, in ?
listTorrents()
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 94, in listTorrents
tupList = updateList()
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 64, in updateList
torrentList = getList()
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 49, in getList
token = getToken()
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\default.py", line 39, in getToken
data = myClient.HttpCmd(tokenUrl)
File "C:\Users\Laureus\AppData\Roaming\XBMC\addons\plugin.program.utorrent\resources\l​ib\utilities.py", line 89, in HttpCmd
response = urllib2.urlopen(req)
File "special://xbmc/system/python/Lib\urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "special://xbmc/system/python/Lib\urllib2.py", line 358, in open
response = self._open(req, data)
File "special://xbmc/system/python/Lib\urllib2.py", line 376, in _open
'_open', req)
File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 1021, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "special://xbmc/system/python/Lib\urllib2.py", line 996, in do_open
raise URLError(err)
URLError: <urlopen error (10060, 'Operation timed out')>
15:05:12 T:1192 M:150597632 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.utorrent/
15:05:12 T:1192 M:150597632 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.utorrent/) failed
15:05:12 T:404 M:150560768 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn

splatter Wrote:Hello,

first of all thank you for the script!

But I think I found a minor bug
I think this script got a problem with commas in the Torrent name.

Note this line:
ValueError: invalid literal for int(): Wild (Season 1 Complete)"

The whole torrent name is "Man, Woman, Wild (Season 1 Complete).torrent"
I deleted the torrent and the script worked fine

Full Debug Log:
Pastebin-link

need more detail debug message. please change the debug mode of utorrent plugin and paste the log file again. change debug mode in this way: modify line 5
in script file plugin.program.utorrent\resources\lib\utilities.py , change to 'DEBUG_MODE = 4'
find quote
splatter Offline
Junior Member
Posts: 2
Joined: Jan 2011
Reputation: 0
Post: #16
taxigps Wrote:need more detail debug message. please change the debug mode of utorrent plugin and paste the log file again. change debug mode in this way: modify line 5
in script file plugin.program.utorrent\resources\lib\utilities.py , change to 'DEBUG_MODE = 4'

I will send you a PM...to much personal information in the log Wink
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 396
Joined: Jan 2009
Reputation: 0
Post: #17
splatter Wrote:I will send you a PM...to much personal information in the log Wink

done. please update to 1.0.3 and test again.
find quote
olafvs Offline
Member
Posts: 57
Joined: Jan 2010
Reputation: 0
Post: #18
Thanks. Tried it today and works great! I can imagine your current focus is on fixing issues, but will this include torrent search in future releases?
find quote
Targettio Offline
Senior Member
Posts: 160
Joined: Aug 2010
Reputation: 0
Post: #19
1.0.3 now works for me, thanks.
find quote
Pims Offline
Junior Member
Posts: 1
Joined: Feb 2011
Reputation: 0
Post: #20
Hi, it's my first post and my first plugin with XBMC.

I use XBMC 10.0 with Win. XP SP3 32bit and utorrent 2.2

I tried tu use your plugin in V. 1.0.5

I use XBMC and utorrent on the same machine: config plugin
Code:
ip : 127.0.0.1
port 8080 (the same as i configure in utorrent)
user : pims (the same as i configure in utorrent)
pwd : xxx (the same as i configure in utorrent)

My WebUI is fonctionnal , i arrived to use it with Firefox but when i use your plugin i have an error :

Code:
17:19:48 T:7408 M:926642176  NOTICE: initializing playlistplayer
17:19:48 T:7408 M:926629888  NOTICE: DONE initializing playlistplayer
17:19:49 T:7408 M:921014272  NOTICE: initialize done
17:19:49 T:7408 M:921194496  NOTICE: Running the application...
17:19:49 T:7408 M:921182208  NOTICE: Webserver: Starting...
17:19:49 T:7408 M:920080384  NOTICE: WebServer: Started the webserver
17:19:49 T:7408 M:920064000  NOTICE: ES: Starting event server
17:19:49 T:7684 M:920002560  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
17:19:49 T:7684 M:919928832  NOTICE: UDP: Listening on port 9777
17:19:51 T:6716 M:928694272 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
17:19:52 T:6224 M:926265344  NOTICE: -->Python Interpreter Initialized<--
17:20:21 T:6224 M:932749312   ERROR: Error Type: exceptions.SystemExit
17:20:21 T:6224 M:932749312   ERROR: Error Contents: <NULL>
17:20:21 T:6224 M:932724736   ERROR: Traceback (most recent call last):
                                              File "C:\Documents and Settings\pims\Application Data\XBMC\addons\plugin.program.utorrent\default.py", line 253, in ?
                                                listTorrents()
                                              File "C:\Documents and Settings\pims\Application Data\XBMC\addons\plugin.program.utorrent\default.py", line 90, in listTorrents
                                                tupList = updateList()
                                              File "C:\Documents and Settings\pims\Application Data\XBMC\addons\plugin.program.utorrent\default.py", line 53, in updateList
                                                token = getToken()
                                              File "C:\Documents and Settings\pims\Application Data\XBMC\addons\plugin.program.utorrent\default.py", line 45, in getToken
                                                sys.exit()
                                            SystemExit
17:20:21 T:7408 M:932773888   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.utorrent/
17:20:21 T:7408 M:932773888   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.utorrent/) failed
17:20:21 T:6972 M:932679680 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn


I tired tu change my DEbug mode , but i dont find it in plugin.program.utorrent\resources\lib\utilities.py

Thanks

( ps : scuze for my english , i m french, i tried as i can )
(This post was last modified: 2011-02-04 18:58 by Pims.)
find quote
Post Reply