jensb89 / trakt---letterboxd-import

Import Letterboxd movie list (diary) into trakt.tv
97 stars 20 forks source link

Any fixes ? #11

Closed sangampanda closed 3 years ago

sangampanda commented 3 years ago

IMG_20210513_231510_393_1

jensb89 commented 3 years ago

The error indicates that the letterboxd file was not specified. Make sure to call the script like this:

python py-trakt-letterboxd-import.py diary.csv

Just running the script without specifying a file to load from will not work.

sangampanda commented 3 years ago

The error indicates that the letterboxd file was not specified. Make sure to call the script like this:

python py-trakt-letterboxd-import.py diary.csv

Just running the script without specifying a file to load from will not work.

Doing that gives syntax error.

jensb89 commented 3 years ago

what python version do you have?

sangampanda commented 3 years ago

what python version do you have?

Actually I used v3 at first , but later realised that it's old so installed py v2.7 and tried in it

jensb89 commented 3 years ago

Ok, python 2.7 should work, I used 2.7.16 as well. At some point I may upgrade the script to v3, but I haven't used it for a while and currently I don't have time for it.

Calling it with the filename should not give any syntax error.

I will retry at my machine when I find some time, but it seems to work for others as well. Could it be that it uses your python 3 installation when you run it with python py-trakt-letterboxd-import.py diary.csv instead of your python 2 installation?