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

Sqlobject store plugin error #7

Closed
ghost opened this issue Feb 20, 2012 · 0 comments
Closed

Sqlobject store plugin error #7

ghost opened this issue Feb 20, 2012 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 20, 2012

jagg...@gmail.com, 2007-12-14T10:43:45.000Z

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.
@ghost ghost closed this as completed Feb 20, 2012
This issue was closed.
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

0 participants