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
Using Homebrew, unfortunately updated from python 3.7.3 to 3.7.4 and broke my virtualenv. But convert-outlook-msg-file doesn't work even creating new virtualenv
Error after killing it:
File "qt1.py", line 107, in convert_msg
f.write(msg.as_bytes())
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/message.py", line 178, in as_bytes
g.flatten(self, unixfrom=unixfrom)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/generator.py", line 116, in flatten
self._write(msg)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/generator.py", line 195, in _write
self._write_headers(msg)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/generator.py", line 418, in _write_headers
self._fp.write(self.policy.fold_binary(h, v))
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/policy.py", line 200, in fold_binary
folded = self._fold(name, value, refold_binary=self.cte_type=='7bit')
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/policy.py", line 206, in _fold
return value.fold(policy=self)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/headerregistry.py", line 258, in fold
return header.fold(policy=policy)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/_header_value_parser.py", line 157, in fold
return _refold_parse_tree(self, policy=policy)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/_header_value_parser.py", line 2672, in _refold_parse_tree
part.ew_combine_allowed, charset)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/_header_value_parser.py", line 2724, in _fold_as_ew
get_unstructured(lines[-1][last_ew:] + to_encode))
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/_header_value_parser.py", line 1127, in get_unstructured
_validate_xtext(vtext)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/_header_value_parser.py", line 979, in _validate_xtext
if utils._has_surrogates(xtext):
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/email/utils.py", line 51, in _has_surrogates
def _has_surrogates(s):
KeyboardInterrupt
Abort trap: 6
Troubleshooting:
Created a couple of virtualenv, installed compoundfiles, same issue.
Homebrew uninstalled python, and reinstalled, created new virtualenv, same issue.
Using Homebrew, unfortunately updated from python 3.7.3 to 3.7.4 and broke my virtualenv. But convert-outlook-msg-file doesn't work even creating new virtualenv
Error after killing it:
Troubleshooting:
Created a couple of virtualenv, installed compoundfiles, same issue.
Homebrew uninstalled python, and reinstalled, created new virtualenv, same issue.
Solution:
Uninstalled 3.7.4 and rolled back to python 3.7.3:
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/c24d6bcd4795e9263617e49f340cc61498eea5d3/Formula/python.rb
The text was updated successfully, but these errors were encountered: