-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Non-unicode facet label crashes search-apps and how to repair this? #60
Comments
If even the admin UI of django (where you can edit facets, not the open semantic search apps itself) fails, maybe you can change the label in the SQLite Database file directly by some sqlite tool. The database is in /var/lib/opensemanticsearch/db.sqlite3 Than change it in /etc/opensemanticsearch/facets too, so admin ui works again too. Restart apache / Django as root by And than save an facet again, so /etc/opensemanticsearch/facets will be overwritten again by the config in database. |
Please can you send me more error message(s) to see on which functions it fails? |
|
Plese first setup a password so not everybody can access/change your configs by Admin UI on the server. Second please try to write following line as first line at begin of /etc/opensemanticsearch/facets and write me if it works after that (than i'll bugfix / add this automatically in next release): # -*- coding: utf-8 -*- (like you can see in the header of |
After changing the line you need to restart apache2 with the django environment as root by |
Another idea (not knowing if implications to Python/Django) Is the linux system configured to an UTF8 charset or old ASCII? |
The linux system supports Hebrew. The OpenSemanticSearch also supports hebrew in docs content. The problem are facets etc. |
Hello,
Setting facet label to hebrew causes all search-apps to crush on ascii ecoding error. How can I repair the situation or how can I repair the labels back to English?
Thanks!
The text was updated successfully, but these errors were encountered: