Giter VIP home page Giter VIP logo

Comments (7)

opensemanticsearch avatar opensemanticsearch commented on June 20, 2024

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.

opensemanticsearch avatar opensemanticsearch commented on June 20, 2024

Please can you send me more error message(s) to see on which functions it fails?

from open-semantic-search-apps.

MichaelGGeoda avatar MichaelGGeoda commented on June 20, 2024
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.

opensemanticsearch avatar opensemanticsearch commented on June 20, 2024

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.

opensemanticsearch avatar opensemanticsearch commented on June 20, 2024

After changing the line you need to restart apache2 with the django environment as root by
service apache2 restart

from open-semantic-search-apps.

opensemanticsearch avatar opensemanticsearch commented on June 20, 2024

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.

MichaelGGeoda avatar MichaelGGeoda commented on June 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.