anoopsankar / Trakt2Letterboxd

Script to export your movies from Trakt to Letterboxd
Apache License 2.0
60 stars 15 forks source link

Does this still work? #5

Closed willag42 closed 4 years ago

willag42 commented 4 years ago

Hello, I've been trying to get this code to work for the past hour, and I'm uncertain if I'm just doing it wrong or if the code doesn't work anymore.

I have downloaded both Python 3.9.0 and Python 2.7.15. I initially started with the first, but then saw the note about how the script requires Python2.x to run, so I tried downloading the latter.

I have tried running 'python Trak2Letterboxd.py' in the Windows Command Prompt and nothing happens.

I have tried running it in the Python 3.9 command line and get the following: `Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

python Trakt2Letterboxd.py File "", line 1 python Trakt2Letterboxd.py ^ SyntaxError: invalid syntax `

And I have tried it in the Python 2.7.15 command line and get the same error: `Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

python Trak2Letterboxd.py File "", line 1 python Trak2Letterboxd.py ^ SyntaxError: invalid syntax `

Am I missing something?

Thank you.

anoopsankar commented 4 years ago

So, you are trying to run the command on the python interactive shell, which is not what we want.

To run the script on Windows - Press the windows key, type cmd followed by Enter. You'll see a terminal screen open up. On that please enter C:\python27\python.exe C:\Trakt2Letterboxd.py and you should be ready to go.

This assumes that:

  1. You have installed python in the default folder (C:\python27). If not installed in default path, please change the path in above command accordingly.
  2. The script file is on C:\ folder. If not please copy the file 'Trakt2Letterboxd.py' to C:\ or replace the path with the actual.

NB: I don't have a windows machine handy to verify this entirely; but these steps should work.

You can have a look here (under Run your script) for some more info.

willag42 commented 4 years ago

Never mind the post I just made. I looked online and saw the 521 error code was related to the TCP connection to trakt. I waited a few minutes and tried again and was able to download the file.

Thank you very much for your help!

anoopsankar commented 4 years ago

Glad to know that it helped!

I'm closing the issue now since it has been resolved.