Error running the Getting started
example, unhashable type: 'SPARQLConnector
#210
Labels
bug
Something isn't working
First of all, thanks a lot for this repo, @bsteenwi @GillesVandewiele @rememberYou .
🐛 Bug
TypeError: unhashable type: 'SPARQLConnector'
when running example code given in readme. The error arises out of the following code:responses = [self.connector.fetch(query) for query in queries]
present here.I also tried installing from the
develop
branch as was mentioned in this issue. But I am still getting the error.Expected Behavior
No errors.
Current Behavior
The line
embeddings, literals = transformer.fit_transform(knowledge_graph, entities)
results into the error -TypeError: unhashable type: 'SPARQLConnector'
.Steps to Reproduce
I tried the code given in the readme file on the repo.
Environment
Ubuntu 22.04.2
0.2.3
3.11.3
Possible Solution
For me, changing this line in
connectors.py
:to this:
solved the issue. But I think a solution for error free installation is needed, without needing to change this line, happy to contribute if guided.
The text was updated successfully, but these errors were encountered: