metabaron / Gomiso-XBMC

Gomiso integration within XBMC
GNU General Public License v2.0
5 stars 2 forks source link

Issue with Windows 7 64 bits #4

Open metabaron opened 13 years ago

metabaron commented 13 years ago

19:29:39 T:3868 M:3084136448 NOTICE: -->Python Interpreter Initialized<-- 19:29:39 T:3868 M:3083325440 ERROR: Error Type: <type 'exceptions.ImportError'> 19:29:39 T:3868 M:3083325440 ERROR: Error Contents: No module named message 19:29:39 T:3868 M:3083194368 ERROR: Traceback (most recent call last): File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\default.py", line 136, in json_result = json.loads(letsGo.getUserInfo()) File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\gomiso.py", line 97, in getUserInfo resp, token = client.request('http://gomiso.com/api/oauth/v1/users/show.json', method="GET") File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\oauth2.py", line 683, in request connection_type=connection_type) File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\httplib2.py", line 1021, in request info = email.Message.Message() File "C:\Program Files (x86)\XBMC\system\python\Lib\emailinit.py", line 79, in getattr import(self.name) ImportError: No module named message 19:29:45 T:1244 M:3082706944 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn 19:29:46 T:3856 M:3087351808 NOTICE: -->Python Interpreter Initialized<-- 19:29:46 T:3856 M:3087261696 ERROR: Error Type: <type 'exceptions.ImportError'> 19:29:46 T:3856 M:3087261696 ERROR: Error Contents: No module named message 19:29:46 T:3856 M:3087118336 ERROR: Traceback (most recent call last): File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\default.py", line 136, in json_result = json.loads(letsGo.getUserInfo()) File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\gomiso.py", line 97, in getUserInfo resp, token = client.request('http://gomiso.com/api/oauth/v1/users/show.json', method="GET") File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\oauth2.py", line 683, in request connection_type=connection_type) File "C:\Users\Zotac\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\httplib2.py", line 1021, in request info = email.Message.Message() File "C:\Program Files (x86)\XBMC\system\python\Lib\emailinit.py", line 79, in getattr import(self.name) ImportError: No module named message 19:29:51 T:3776 M:3087360000 NOTICE: -->Python Interpreter Initialized<--

metabaron commented 13 years ago

This Windows 7 64bits is going to get me crazy...

bitIO commented 13 years ago

I don't want you to get crazy but ... I have a new error with the same platform: (I've removed the oauth tokens - just in case)

20:57:10 T:6672 M:309370880 ERROR: Error Type: exceptions.AttributeError 20:57:10 T:6672 M:309370880 ERROR: Error Contents: 'NoneType' object has no attribute 'makefile' 20:57:10 T:6672 M:315969536 ERROR: Traceback (most recent call last): File "C:\Users\bit_jammer\AppData\Roaming\XBMC\addons\script.gomiso\default.py", line 132, in ? if letsGo.authentification('xxxxx', 'xxxxx', username, password, tokensFile) == False: File "C:\Users\bit_jammer\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\gomiso.py", line 64, in authentification resp, token = client.request('https://gomiso.com/oauth/access_token', method='POST', body=urllib.urlencode(params)) File "C:\Users\bit_jammer\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\oauth2.py", line 683, in request connection_type=connection_type) File "C:\Users\bit_jammer\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\httplib2.py", line 1129, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "C:\Users\bit_jammer\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\httplib2.py", line 901, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "C:\Users\bit_jammer\AppData\Roaming\XBMC\addons\script.gomiso\resources\lib\httplib2.py", line 871, in _conn_request response = conn.getresponse() File "special://xbmc/system/python/Lib\httplib.py", line 864, in getresponse method=self._method) File "special://xbmc/system/python/Lib\httplib.py", line 275, in init self.fp = sock.makefile('rb', 0) AttributeError: 'NoneType' object has no attribute 'makefile'

fdaemon commented 12 years ago

Hi guys,

Here is some addition: I experienced the same log printout/issue when I installed from scratch using the Aeon Nox skin. To resolve, i rolled back to Confluence, restart XBMC, start the already configured gomiso add-on; then it was able to connect gomiso and create the token file in the add-on folder; and my account logged in fine. Afterwards I rolled back to Aeon Nox and the add-on works good now.

Cheers, Peter

metabaron commented 12 years ago

Hum, this give me new place to look at in order to find this bug. Thanks for sharing