We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Python version: 2.7 NetBox version: 2.0
Trying to upload device image with name "jõulukuusk.jpg" and gettin an error:
<type 'exceptions.UnicodeEncodeError'> 'ascii' codec can't encode character u'\xf5' in position 1: ordinal not in range(128)
No issues with images containing plain ascii chararacters...
The text was updated successfully, but these errors were encountered:
This is due to image_upload() returning the file path as a string rather than Unicode under Python 2. (Python 3 is unaffected.)
image_upload()
Sorry, something went wrong.
8e33375
Fixes netbox-community#1150: Error when uploading image attachments w…
8d70efe
…ith Unicode names under Python 2
No branches or pull requests
Issue type: bug
Python version: 2.7
NetBox version: 2.0
Trying to upload device image with name "jõulukuusk.jpg" and gettin an error:
No issues with images containing plain ascii chararacters...
The text was updated successfully, but these errors were encountered: