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

Tenants import: impossible with special characters #2393

Closed
gdouchet opened this issue Aug 27, 2018 · 3 comments
Closed

Tenants import: impossible with special characters #2393

gdouchet opened this issue Aug 27, 2018 · 3 comments
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@gdouchet
Copy link

gdouchet commented Aug 27, 2018

Environment

  • Python version: 2.7
  • NetBox version: 2.4.4

When trying to import this kind of tenant with special characters, I get an error.
If I add this tenant with the webpage and same contents, it's ok.

Steps to Reproduce

Import these lines with tenant import page:
name,slug,group,description,comments
UNIV,univ,customers,Université,

This error appears:
<type 'exceptions.UnicodeEncodeError'>
'ascii' codec can't encode character u'\xe9' in position 29: ordinal not in range(128)

@jeremystretch
Copy link
Member

Please specify your Python version as indicated by the template.

@jeremystretch jeremystretch added the status: revisions needed This issue requires additional information to be actionable label Sep 5, 2018
@gdouchet
Copy link
Author

gdouchet commented Sep 6, 2018

Sorry, I didn't have the information when I created the issue and forgot to specify it later...

Repaired!

@jeremystretch jeremystretch removed the status: revisions needed This issue requires additional information to be actionable label Sep 6, 2018
@gdouchet
Copy link
Author

I tried with Python in 3.6.5 version and the bug is not present with this version.

I let you close the issue if it's ok for you.

@jeremystretch jeremystretch added type: bug A confirmed report of unexpected behavior in the application status: accepted This issue has been accepted for implementation labels Sep 13, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants