Skip to content

IronPython issue: unknown encoding: idna #72

@patrickwolf

Description

@patrickwolf

Looks like the idna encoding needs to be converted again to utf-8 for IronPython:

h = Http(".cache")
thumb_resp, content = h.request(version_with_thumbnail.get('image'), "GET")
test_humanuser_upload_thumbnail_for_version
Error
Traceback (most recent call last):
File "C:\dev\wspy\sandbox_shared\src\shotgun\python_api3\tests\test_api.py", line 1551, in test_humanuser_upload_thumbnail_for_version
thumb_resp, content = h.request(version_with_thumbnail.get('image'), "GET")
LookupError: unknown encoding: idna

see: https://dl.dropboxusercontent.com/u/4995745/201411/shotgun-IronPython-api-unittests_in_test_api_20141118.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions