MovieLib - Your movie database on web
(2014-02-15, 19:50)Regss Wrote: syncMovie

Replace and try with this file. We'll see if the problem is only with one image.

Thanks for quick reply! Tested it and it seems it's a general problem because doesn't matter what file, I always get the error. Even tried switching from nfs to SMB share but same result with regular movie:

Code:
19:18:49 T:140156308735744  NOTICE: >>>> Movielib <<<< {u'jsonrpc': u'2.0', u'id': u'1', u'result': {u'moviedetails': {u'originaltitle': u'Captain America: The First Avenger', u'dateadded': u'2013-02-24 10:29:04', u'movieid': 1, u'plot': u'Der Amerikaner Steve Rogers ist sehr klein und durch und durch schm\xe4chtig und mager. Sein gro\xdfer Traum ist es ein Soldat zu werden und seinem Land im 2. Weltkrieg zu dienen. Immer wieder wird er wegen seiner Statur abgelehnt, bis ein Wissenschaftler seine wahre St\xe4rke, Mut und Charakter, erkennt und ihn im Auftrag des Milit\xe4rs ein revolution\xe4res Serum erproben l\xe4sst...', u'fanart': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2ffanart.jpg/', u'country': [u'United States of America'], u'lastplayed': u'', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2fposter.jpg/', u'label': u'Captain America - The First Avenger', u'director': [u'Joe Johnston'], u'cast': [{u'role': u'Captain America / Steve Rogers', u'name': u'Chris Evans', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fChris_Evans.jpg/'}, {u'role': u'Peggy Carter', u'name': u'Hayley Atwell', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fHayley_Atwell.jpg/'}, {u'role': u"James Buchanan 'Bucky' Barnes", u'name': u'Sebastian Stan', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fSebastian_Stan.jpg/'}, {u'role': u'Colonel Chester Phillips', u'name': u'Tommy Lee Jones', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fTommy_Lee_Jones.jpg/'}, {u'role': u'Johann Schmidt / Red Skull', u'name': u'Hugo Weaving', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fHugo_Weaving.jpg/'}, {u'role': u'Howard Stark', u'name': u'Dominic Cooper', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fDominic_Cooper.jpg/'}, {u'role': u'Heinz Kruger', u'name': u'Richard Armitage', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fRichard_Armitage.jpg/'}, {u'role': u'Dr. Abraham Erskine', u'name': u'Stanley Tucci', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fStanley_Tucci.jpg/'}, {u'role': u'Nick Fury', u'name': u'Samuel L. Jackson', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fSamuel_L._Jackson.jpg/'}, {u'role': u'Dr. Arnim Zola', u'name': u'Toby Jones', u'thumbnail': u'image://smb%3a%2f%2f192.168.2.200%2fMedia_1%2fMovie%2fNeuer%20Ordner%2fCaptain%20America%2f.actors%2fToby_Jones.jpg/'}], u'year': 2011, u'genre': [u'Action', u'Fantasy', u'Superhelden'], u'title': u'Captain America - The First Avenger', u'playcount': 0, u'runtime': 7451, u'rating': 6.8000001907348633, u'trailer': u'smb://192.168.2.200/Media_1/Movie/Neuer Ordner/Captain America/Captain America The First Avenger.2011.BLURAY-trailer.mp4', u'streamdetails': {u'video': [{u'duration': 7451, u'width': 1312, u'codec': u'h264', u'aspect': 2.3529999256134033, u'height': 544}], u'audio': [{u'channels': 6, u'codec': u'ac3', u'language': u'deu'}], u'subtitle': []}}}}
19:18:49 T:140156308735744   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: (2, 'No such file or directory', u'smb://192.168.2.200/Media_1/Movie/Neuer Ordner/Captain America/poster.jpg')
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/script.movielib/default.py", line 100, in <module>
                                                Movielib()
                                              File "/storage/.xbmc/addons/script.movielib/default.py", line 47, in __init__
                                                self.checkConn()
                                              File "/storage/.xbmc/addons/script.movielib/default.py", line 59, in checkConn
                                                self.checkToken()
                                              File "/storage/.xbmc/addons/script.movielib/default.py", line 84, in checkToken
                                                syncMovie.syncMovie()
                                              File "/storage/.xbmc/addons/script.movielib/lib/syncMovie.py", line 47, in __init__
                                                self.syncMovie()
                                              File "/storage/.xbmc/addons/script.movielib/lib/syncMovie.py", line 95, in syncMovie
                                                self.addMovie(toAddID)
                                              File "/storage/.xbmc/addons/script.movielib/lib/syncMovie.py", line 121, in addMovie
                                                image = Image.open(urllib2.unquote(movie['thumbnail'][8:][:-1]))
                                              File "/usr/lib/python2.7/site-packages/PIL/Image.py", line 1952, in open
                                            IOError: (2, 'No such file or directory', u'smb://192.168.2.200/Media_1/Movie/Neuer Ordner/Captain America/poster.jpg')
                                            -->End of Python script error report<--
19:18:49 T:140156308735744  NOTICE: Thread Jobworker start, auto delete: true

Maybe it's because my share isn't avalaible as soon as Movielib starts? I tested all this at XBMC start - then I get this script error and later on I can't start the script in Program menu.
Reply
 
Thread Rating:
  • 8 Vote(s) - 4.63 Average


Messages In This Thread
RE: MovieLib - Your movie database on web - by Cocotus - 2014-02-15, 20:23
Last Post - by Jeffreywat - 2017-09-03, 14:02


Logout Mark Read Team Forum Stats Members Help
MovieLib - Your movie database on web4.638