You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DB AssertionFInder connection() takes 0 positional arguments but 1 was given #323
The last update to conceptnet5/db/query.py (b744e34) changed the "connection" attribute in the AssertionFinder class to be a property. However, the execution of line 231 cursor = self.connection.cursor() throws an error because the connection property is missing the self argument. This issue can be resolved easily by changing Line 128 def connection(): to def connection(self):.
As it stands, this bug breaks the master branch of conceptnet.
Activity
basels commentedon Jun 3, 2022
I'm experiencing the same issue. @mhennessy8's solution indeed fixes this issue.