Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when I try to import my movies #29

Open
bilhete opened this issue Apr 19, 2023 · 0 comments
Open

Problem when I try to import my movies #29

bilhete opened this issue Apr 19, 2023 · 0 comments

Comments

@bilhete
Copy link

bilhete commented Apr 19, 2023

I'm having the following error after executing the script, but just for the movies import:

2023-04-18 23:56:44 [   INFO] :: Processing movies.
Traceback (most recent call last):
  File "C:\Lhi\TvTimeToTrakt-main\TimeToTrakt.py", line 164, in <module>
    start()
  File "C:\Lhi\TvTimeToTrakt-main\TimeToTrakt.py", line 154, in start
    process_watched_movies()
  File "C:\Lhi\TvTimeToTrakt-main\TimeToTrakt.py", line 100, in process_watched_movies
    watched_list = [row["movie_name"] for row in reader if row["type"] == "watch"]
  File "C:\Lhi\TvTimeToTrakt-main\TimeToTrakt.py", line 100, in <listcomp>
    watched_list = [row["movie_name"] for row in reader if row["type"] == "watch"]
  File "C:\Users\billy\AppData\Local\Programs\Python\Python310\lib\csv.py", line 111, in __next__
    row = next(self.reader)
  File "C:\Users\billy\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 7616: character maps to <undefined>

Does someone know a workaround? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant