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

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

Open
Jawn78 opened this issue Feb 26, 2024 · 0 comments
Open

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

Jawn78 opened this issue Feb 26, 2024 · 0 comments

Comments

@Jawn78
Copy link

Jawn78 commented Feb 26, 2024

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'`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant