metabaron / Gomiso-XBMC

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

Error.script #9

Closed ghost closed 11 years ago

ghost commented 12 years ago

I always get an error message both win xp and with ubuntu 11.10, This is the Log 13:02:49 T:139979578382080 ERROR: Error Type: <type 'exceptions.NameError'> 13:02:49 T:139979578382080 ERROR: Error Contents: name 'movieName' is not defined 13:02:49 T:139979578382080 ERROR: Traceback (most recent call last): File "/home/jacopo/.xbmc/addons/script.gomiso/default.py", line 217, in json_result = json.loads(letsGo.findMedia(movieName, 'movie', 1)) NameError: name 'movieName' is not defined

I actually don't know Python, so I'm now exactly sure, but I watch a TV series episode and comment out the last part of the default.py script (from line 208) then the script works and It's able to post the update on gomiso.

Sorry if it is not here the place for such a message, but I didn't find another good place to report this problem.

Thank you

metabaron commented 12 years ago

Sort message from my phone job

Name and episod of tv serie please. Which version if my script please? On Jun 3, 2012 7:07 PM, "Jackopo" < reply@reply.github.com> wrote:

I always get an error message both win xp and with ubuntu 11.10, This is the Log 13:02:49 T:139979578382080 ERROR: Error Type: <type 'exceptions.NameError'> 13:02:49 T:139979578382080 ERROR: Error Contents: name 'movieName' is not defined 13:02:49 T:139979578382080 ERROR: Traceback (most recent call last): File "/home/jacopo/.xbmc/addons/script.gomiso/default.py", line 217, in json_result = json.loads(letsGo.findMedia(movieName, 'movie', 1)) NameError: name 'movieName' is not defined

I actually don't know Python, so I'm now exactly sure, but I watch a TV series episode and comment out the last part of the default.py script (from line 208) then the script works and It's able to post the update on gomiso.

Sorry if it is not here the place for such a message, but I didn't find another good place to report this problem.

Thank you


Reply to this email directly or view it on GitHub: https://github.com/metabaron/Gomiso-XBMC/issues/9

ghost commented 12 years ago

I'm using the last stable version of XMBC and the plugin from the repositories (v 1.4.1).

Actually it hasn't work with any tv series or movie that I watched with xbmc. but I'm using to try "family guy" season 9 more and less all the episodes.

I'm trying it also in library mode

metabaron commented 12 years ago

Just to be sure: You were watching a TV serie, using XBMC and Gomiso plugin and when the plugin tried to submit the episode you watched to Gomiso, you go this error correct?

Just so that I can try my best to duplicate the problem (I tried with a file named "family guy - S05E10.avi" but everything went correctly), can you please share with me the exact name of a file (tell me if it's serie or movie) which failed and generated this bug.

Thank you

ghost commented 12 years ago

I select Video -> Library -> TV Shows -> Genre -> Animation -> Family Guy -> 9x10 Title.avi and after a few seconds a pop up message comes on bottom right corner saying error.script. I've tried with other Files (Sherlock Holmes S01E03 The Great Game.mp4) but always with the same result. Also if I select "Files" instead of "TV Shows" in the menu it produces always the same result. I tried now also to rename a file using yours (family guy - S05E10.avi) but I still got the same error message after a few second (also in the Log file).

This is an example how the file that I have now are named:

family.guy.season.9.dvdrip.xvid.s9e10.friends.of.peter.g.avi

gorosz commented 12 years ago

I corrected the default.py file. The indent was wrong and that was the reason you get the script error. I have tested and it's working fine fore me. I try to upload the file with the correction

metabaron commented 12 years ago

Yes, I think I got this one but I would look at your file just in case I'm missing something. I will push to XBMC when possible but currently have a lot of things happening in my life so give me one or two weeks please.

gorosz commented 12 years ago

I double checked the code on git it is fine. I have installed the plugin from XBMC repository and that was faulty

metabaron commented 12 years ago

Yes, haven't had time to push it On Jul 12, 2012 12:01 PM, "zsorzs" < reply@reply.github.com> wrote:

I double checked the code on git it is fine. I have installed the plugin from XBMC repository and that was faulty


Reply to this email directly or view it on GitHub: https://github.com/metabaron/Gomiso-XBMC/issues/9#issuecomment-6926513

metabaron commented 11 years ago

Pushed