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
Couldn't parse 'venv/lib/python2.7/site-packages/xlwt/BIFFRecords.py' as Python source: ''charmap' codec can't decode byte 0x9d in position 68292: character maps to <undefined>' at line 0
To reproduce install these dependencies in a virtualenv env in the working directory:
The xlwt code has curly quotes in the docstrings (\x93 and \x94 in cp1252). Converted to utf8, there are \x9d bytes, which are then being interpreted as cp1252, which has no character at \x9d.
Original comment byMurat Knecht (Bitbucket: muratk, GitHub: muratk)
It looks like a compile bug in that it re-encodes the already Unicode source with the encoding specified in the header … which does not make sense. Nevertheless, most combinations of loading the file and dumping it into compile work, so coverage might want to use a workaround.
Originally reported by Murat Knecht (Bitbucket: muratk, GitHub: muratk)
Coverage choked on a file from the xlwt library.
To reproduce install these dependencies in a virtualenv
env
in the working directory:Then run this (which is the boiled down version of what
coverage
does, afaict:When using
compile
directly onraw
, it works.Possibly related to #157.
The text was updated successfully, but these errors were encountered: