skorokithakis / episode-renamer

Episode renamer is a simple python script that renames folders of TV episode video files to their proper names.
http://pypi.python.org/pypi/episode-renamer/
41 stars 8 forks source link

Unable to run script #1

Closed pinkbits closed 14 years ago

pinkbits commented 14 years ago

OS: Windows Vista x64 Python: 3.1 Installed Python, downloaded latest version of script (0.2)

Whenever trying to run the script, gives File "c:\python31\episode-renamer.py", line 37 print "Could not find show title, cannot continue."

This is generated while trying to use the -h switch, or by providing a show name.

skorokithakis commented 14 years ago

Hmm, the latest version of the script is 0.4.4, are you sure you don't have a really old one?

This is printed when the script can't find the show name, try doing:

episoderenamer -eg "show name"

and see if it works. Also, is this message generated with the -h switch? That sounds rather unlikely, since -h just prints the help and exits...

skorokithakis commented 14 years ago

Actually I just noticed that github has autogenerated a download for version 0.2, but that's not the latest version. I'll push one with the new tag, thanks for that.

pinkbits commented 14 years ago

Sweet, downloaded the new version and not sure if I'm supposed to run the setup.py under windows.

Tried running the episode renamer -eg and it comes back with: File "c:\python31\skorokithakis-episode-renamer-d42bc6f\episoderenamer.py", line 37 except urllib2.HTTPError, error: ^ SyntaxError: invalid syntax

One thing to note with that error is the ^ is under the "," but I had to move it to show correctly using spaces on this message

skorokithakis commented 14 years ago

Hmm, you're running Python 3, which this script doesn't yet support. You can change that to:

except urllib2.HTTPError as error:

but something else will likely go wrong... I'll have to port it to 3. If another dev that has a 3 toolchain can help, it'd be great.

pinkbits commented 14 years ago

k, so I need which version of python?

skorokithakis commented 14 years ago

2.6, ideally.