LookupError: unknown encoding: utf-8 euao6y69zh2w
See original GitHub issueEmail: imbox_lookuperror_unknown_encoding.eml.txt
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.6/site-packages/imbox/parser.py", line 128, in decode_content
return content.decode(charset, 'ignore')
LookupError: unknown encoding: utf-8 euao6y69zh2w
During handling of the above exception, another exception occurred:
for uid, msg in unread_junk:
File "/home/ubuntu/.local/lib/python3.6/site-packages/imbox/messages.py", line 39, in _fetch_email_list
yield uid, self._fetch_email(uid)
File "/home/ubuntu/.local/lib/python3.6/site-packages/imbox/messages.py", line 28, in _fetch_email
parser_policy=self.parser_policy)
File "/home/ubuntu/.local/lib/python3.6/site-packages/imbox/parser.py", line 141, in fetch_email_by_uid
email_object = parse_email(raw_email, policy=parser_policy)
File "/home/ubuntu/.local/lib/python3.6/site-packages/imbox/parser.py", line 187, in parse_email
content = decode_content(part)
File "/home/ubuntu/.local/lib/python3.6/site-packages/imbox/parser.py", line 130, in decode_content
return content.decode(charset.replace("-", ""), 'ignore')
LookupError: unknown encoding: utf8 euao6y69zh2w
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
("unknown encoding: 'b'utf-8-sig''",) - Stack Overflow
I am getting a LookupError when I specify my ...
Read more >LookupError: unknown encoding in Python | bobbyhadz
The Python LookupError: unknown encoding occurs when we specify an encoding that is not supported. To solve the error, use the `utf-8` ...
Read more >Project encoding is ignored : PY-17100 - YouTrack - JetBrains
... LookupError: unknown encoding: windows-31j Process finished with exit code 3. Kotlin detected. Project encoding is UTF-8, but this setting is ignored ...
Read more >Unknown encoding : ibm_1252. No answer from Python on ...
The funny part was that in batch mode there was no problem. Now the solution. What was the problem ? LookUpError, traceback :...
Read more >1958161 – python-concurrentloghandler fails to build with ...
open(self.baseFilename, mode, self.encoding) File "/usr/lib64/python3.10/codecs.py", line 910, in open info = lookup(encoding) LookupError: unknown encoding: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

thats great idea to practice the PR since I have never done that. Will do.
or maybe this also fixes broader range of cases