Closed Killerherts closed 6 years ago
I have tried adding locale.getdefaultlocale = (lambda *args: ['en_US', 'utf8']) this does not seem to effect much
Traceback (most recent call last):
File "C:\Users\killerherts\Documents\instabot\examples\repost_best_photos_from_users.py", line 93, in <module>
repost_best_photos(bot, users, args.amount)
File "C:\Users\killerherts\Documents\instabot\examples\repost_best_photos_from_users.py", line 27, in repost_best_photos
repost_photo(my_bot, media)
File "C:\Users\killerherts\Documents\instabot\examples\repost_best_photos_from_users.py", line 69, in repost_photo
text = ''.join(f.readlines())
File "C:\Users\killerherts\AppData\Local\Programs\Python\Python36-32\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 3: character maps to <undefined>
>>>```
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like so [x]).Before submitting an issue, make sure you have:
Purpose of your issue?
The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.
For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of
python -V
here:Code:
Error/Debug Log: