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
When executing the following code:
plugin.get('sqlobject', Store)(id)
the following error occurs:
store = plugin.get('sqlobject', Store)(id)
File "build\bdist.win32\egg\rdflib\plugin.py", line 20, in get
File "build\bdist.win32\egg\rdflib\store\_sqlobject.py", line 34, in
File "build\bdist.win32\egg\rdflib\store\_sqlobject.py", line 37, in Literals
NameError: name 'validators' is not defined
I'm using rdflib 2.4.0 on windows xp professional (and also tested on
windows vista).
We send the file as an attachment.
Best regards
Comment 1 by eike...@gmail.com
Comment 2 by gjhigg...@gmail.com
Acquired dependency? The sqlobject store module now depends on Formencode's validators package.
from formencode import validators
Comment 3 by gjhigg...@gmail.com
As well as the formencode import, the version of SQLObject needs to match - SQLObject 0.7 works with the
following diffs applied -- they need to be perused for sense.
Comment 4 by eik...@gmail.com
Comment 5 by eik...@gmail.com
The sqlobject store has been removed from rdflib proper.
The text was updated successfully, but these errors were encountered:
jagg...@gmail.com, 2007-12-14T10:43:45.000Z
The text was updated successfully, but these errors were encountered: