Comments (7)
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
service apache2 restart.
And than save an facet again, so /etc/opensemanticsearch/facets will be overwritten again by the config in database.
from open-semantic-search-apps.
Please can you send me more error message(s) to see on which functions it fails?
from open-semantic-search-apps.
Request Method: | GET |
---|---|
https://oss.doxsense.com/search-apps/thesaurus/ | |
1.11.11 | |
UnicodeDecodeError | |
'ascii' codec can't decode byte 0xd7 in position 160: ordinal not in range(128) | |
/usr/lib/python3.6/encodings/ascii.py in decode, line 26 | |
/usr/bin/python3 | |
3.6.8 | |
['/var/lib/opensemanticsearch', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/opensemanticetl', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/', '/', '/', |
Request Method: | GET |
---|---|
https://oss.doxsense.com/search-apps/datasources/ | |
1.11.11 | |
UnicodeDecodeError | |
'ascii' codec can't decode byte 0xd7 in position 160: ordinal not in range(128) | |
/usr/lib/python3.6/encodings/ascii.py in decode, line 26 | |
/usr/bin/python3 | |
3.6.8 | |
['/var/lib/opensemanticsearch', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/opensemanticetl', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', |
Request Method: | GET |
---|---|
https://oss.doxsense.com/search-apps/setup/ | |
1.11.11 | |
UnicodeDecodeError | |
'ascii' codec can't decode byte 0xd7 in position 160: ordinal not in range(128) | |
/usr/lib/python3.6/encodings/ascii.py in decode, line 26 | |
/usr/bin/python3 | |
3.6.8 | |
['/var/lib/opensemanticsearch', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/opensemanticetl', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', '/usr/local/lib/python3.6/dist-packages/odf', |
from open-semantic-search-apps.
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
https://github.com/opensemanticsearch/open-semantic-etl/blob/master/etc/opensemanticsearch/etl)
from open-semantic-search-apps.
After changing the line you need to restart apache2 with the django environment as root by
service apache2 restart
from open-semantic-search-apps.
Another idea (not knowing if implications to Python/Django) Is the linux system configured to an UTF8 charset or old ASCII?
from open-semantic-search-apps.
The linux system supports Hebrew. The OpenSemanticSearch also supports hebrew in docs content. The problem are facets etc.
from open-semantic-search-apps.
Related Issues (20)
- Thesaurus: Saving of hidden label fails HOT 1
- Need some understanding HOT 2
- Web admin UI config option for showing ETL status
- Manual Tagging UI: Remove deleted tags from index
- On deleting index reset import states
- OperationalError at /setup/ HOT 1
- Russian stemming HOT 2
- hard coded link to localhost for flower-interface HOT 1
- Backported django.core.urlresolvers from django 1.10 necessary? HOT 5
- Sometimes "Internal Server Error" HOT 4
- Minor requirements issue - python3-django-celery
- missing search_entity subdirectory in src? HOT 2
- Separated path for Django sqlite DB HOT 2
- Make hosts of microservices / REST-APIs configurable by environment variables HOT 1
- django-import-export must be pinned to 1.2.0 HOT 2
- Move tagging after saving new thesaurus entry to own worker task
- Admin UI: Add delete button to detail views of datasources HOT 1
- Ship currencies ontology
- Preconfigure facet "Currency"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-semantic-search-apps.