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

Server error when try to search in language other than english #1153

Closed
MikeGoltsov opened this issue May 10, 2017 · 1 comment
Closed

Server error when try to search in language other than english #1153

MikeGoltsov opened this issue May 10, 2017 · 1 comment
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@MikeGoltsov
Copy link

MikeGoltsov commented May 10, 2017

Issue type: Bug

Python version: 2.7.5
NetBox version: v2.0.0-release

When I try to search something in language other than english (i.e. russian), if object exist - I get server error.
If object not exist - all ok, No results found.

Server Error
There was a problem with your request. This error has been logged and administrative staff have been notified. Please return to the home page and try again.
If you are responsible for this installation, please consider filing a bug report. Additional information is provided below:
<type 'exceptions.UnicodeEncodeError'>
'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
Home Page

@MikeGoltsov MikeGoltsov changed the title Server error when try to search in language othert than english Server error when try to search in language other than english May 10, 2017
@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label May 10, 2017
@jeremystretch
Copy link
Member

This is caused by the improper formation of the "more results" URL (which isn't always displayed). Easy fix. Thanks for reporting the bug!

lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants