Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DER and pytest fail to run on Windows #9

Open
aarondandy opened this issue Feb 26, 2019 · 1 comment
Open

DER and pytest fail to run on Windows #9

aarondandy opened this issue Feb 26, 2019 · 1 comment

Comments

@aarondandy
Copy link
Contributor

When trying to work with DER certificates or run the pytests on windows, the script will fail.

tests\test_x509_parser.py:10: in <module>
    object_pairs_hook=OrderedDict)
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.752.0_x64__qbz5n2kfra8p0\lib\json\__init__.py:293: in load
    return loads(fp.read(),
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.752.0_x64__qbz5n2kfra8p0\lib\encodings\cp1252.py:23: in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
E   UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 2948: character maps to <undefined>

as discovered in #8

@jcrowgey
Copy link
Owner

Whoa, deja vu: insanum/gcalcli#387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants