opensemanticsearch / open-semantic-search

Open Source research tool to search, browse, analyze and explore large document collections by Semantic Search Engine and Open Source Text Mining & Text Analytics platform (Integrates ETL for document processing, OCR for images & PDF, named entity recognition for persons, organizations & locations, metadata management by thesaurus & ontologies, search user interface & search apps for fulltext search, faceted search & knowledge graph)
https://opensemanticsearch.org
GNU General Public License v3.0
962 stars 169 forks source link

I cannot seem to access the web page. localhost/search #476

Open Jawn78 opened 7 months ago

Jawn78 commented 7 months ago

I cannot seem to access the web page. localhost/search

I am running into all kinds of issues trying to install this.

I can get the command to index a file, but not sure how to check if it's successful. Solr, and flower are up, but Flower shows nothing running in it.

The deb does have some errors, including:

the Chardet failing to build

Also

ImportError: cannot import name 'Mapping' from 'collections'

`Traceback (most recent call last): File "/usr/lib/python3/dist-packages/rdflib/plugins/sparql/compat.py", line 8, in from collections import Mapping, MutableMapping # was added in 2.6 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib/python3.11/collections/init.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/var/lib/opensemanticsearch/manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/lib/python3/dist-packages/django/core/management/init.py", line 381, in execute_from_command_line utility.execute() File "/usr/lib/python3/dist-packages/django/core/management/init.py", line 375, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 323, in run_from_argv self.execute(*args, *cmd_options) File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 364, in execute output = self.handle(args, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/lib/opensemanticsearch/ontologies/management/commands/entities.py", line 9, in handle ontologies.views.write_named_entities_config() File "/var/lib/opensemanticsearch/ontologies/views.py", line 621, in write_named_entities_config ontology_tagger.apply(target_facet=facet) File "/usr/lib/python3/dist-packages/solr_ontology_tagger.py", line 579, in apply res = self.query( ^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/rdflib/graph.py", line 1084, in query result = plugin.get(result, query.Result) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/rdflib/plugin.py", line 104, in get return p.getClass() ^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/rdflib/plugin.py", line 66, in getClass module = import(self.module_path, globals(), locals(), [""]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/rdflib/plugins/sparql/init.py", line 35, in from . import parser File "/usr/lib/python3/dist-packages/rdflib/plugins/sparql/parser.py", line 17, in from .parserutils import Comp, Param, ParamList File "/usr/lib/python3/dist-packages/rdflib/plugins/sparql/parserutils.py", line 4, in from rdflib.plugins.sparql.compat import OrderedDict File "/usr/lib/python3/dist-packages/rdflib/plugins/sparql/compat.py", line 11, in from UserDict import DictMixin ModuleNotFoundError: No module named 'UserDict'`