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

Error when importing is done "UnicodeDecodeError: 'charmap' codec can't decode byte 0x81" #36

Open
unleashed7 opened this issue Nov 30, 2023 · 1 comment

Comments

@unleashed7
Copy link

None of the shows I had to choose the correct version was marked. Was that supposed to happen after it finished with everything? Is this error why that never happened?

...
2023-11-30 06:49:55 [   INFO] :: (99.92%) - Processing 'Twisted Metal' Season 1 / Episode 8
2023-11-30 06:49:55 [   INFO] :: 'Twisted Metal Season 1, Episode 8' marked as seen
2023-11-30 06:49:56 [   INFO] :: (99.95%) - Processing 'Twisted Metal' Season 1 / Episode 9
2023-11-30 06:49:57 [   INFO] :: 'Twisted Metal Season 1, Episode 9' marked as seen
2023-11-30 06:49:58 [   INFO] :: (99.97%) - Processing 'Twisted Metal' Season 1 / Episode 10
2023-11-30 06:49:59 [   INFO] :: 'Twisted Metal Season 1, Episode 10' marked as seen
Traceback (most recent call last):
  File "C:\Users\u\Downloads\tvtime import\TvTimeToTrakt-main\TvTimeToTrakt-main\TimeToTrakt.py", line 164, in <module>
    start()
  File "C:\Users\u\Downloads\tvtime import\TvTimeToTrakt-main\TvTimeToTrakt-main\TimeToTrakt.py", line 158, in start
    process_watched_movies()
  File "C:\Users\u\Downloads\tvtime import\TvTimeToTrakt-main\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:\Users\u\Downloads\tvtime import\TvTimeToTrakt-main\TvTimeToTrakt-main\TimeToTrakt.py", line 100, in <listcomp>
    watched_list = [row["movie_name"] for row in reader if row["type"] == "watch"]
  File "C:\Users\u\AppData\Local\Programs\Python\Python310\lib\csv.py", line 111, in __next__
    row = next(self.reader)
  File "C:\Users\u\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 0x81 in position 5008: character maps to <undefined>
@tezma90
Copy link

tezma90 commented Jan 19, 2024

It moved on to the tracked movies, this error happened to me too.

L11K added a commit to L11K/TvTimeToTrakt that referenced this issue Mar 3, 2024
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

2 participants