You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have exported both my movies and my shows from Trakt, I managed to successfully import all the movies but when I try to import my shows I get this error
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 7868: character maps to
I have no idea what the issue is, the CSV I exported is this: episodes_views.csv
Here is the entire message I got:
Options: Namespace(config='config.ini', input=<_io.TextIOWrapper name='episodes_views.csv' mode='r' encoding='cp1252'>, watched_at=True, rated_at=False, format='imdb', type='episodes', list='history', seen=False, clean=False, verbose=True)
Config file: config.ini
Config: <configparser.ConfigParser object at 0x00000239A28707D0>
Trakt, skipped access token refresh, token is less than 30 days, only 1:06:27.085743
Trakt: {'client_id': '02....05', 'client_secret': '64....33', 'access_token': 'fa....74', 'refresh_token': '1a....ee', 'baseurl': 'https://api.trakt.tv'}
Authorization header: Bearer fa....74
trakt-api-key header: 02....05
Traceback (most recent call last):
File "C:\Python312\import_trakt.py", line 517, in <module>
main()
File "C:\Python312\import_trakt.py", line 449, in main
read_ids = read_csv(options)
^^^^^^^^^^^^^^^^^
File "C:\Python312\import_trakt.py", line 154, in read_csv
return list(reader)
^^^^^^^^^^^^
File "C:\Python312\Lib\csv.py", line 116, in __next__
row = next(self.reader)
^^^^^^^^^^^^^^^^^
File "C:\Python312\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 0x8d in position 7868: character maps to <undefined>
The text was updated successfully, but these errors were encountered:
I have exported both my movies and my shows from Trakt, I managed to successfully import all the movies but when I try to import my shows I get this error
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 7868: character maps to
I have no idea what the issue is, the CSV I exported is this:
episodes_views.csv
Here is the entire message I got:
The text was updated successfully, but these errors were encountered: