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

pyRdfa fails on case-sensitive systems #8

Closed
dbs opened this issue Aug 12, 2013 · 5 comments
Closed

pyRdfa fails on case-sensitive systems #8

dbs opened this issue Aug 12, 2013 · 5 comments

Comments

@dbs
Copy link

dbs commented Aug 12, 2013

Problem:
"import pyRdfa" on a Linux system fails.

Python 2.7.5 (default, Jul 8 2013, 09:48:59)
[GCC 4.8.1 20130603 (Red Hat 4.8.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import pyRdfa
Traceback (most recent call last):
File "", line 1, in
File "/home/dan/schema_rdfa_py2/lib/python2.7/site-packages/pyRdfa/init.py", line 132, in
from rdflib.Graph import Graph
ImportError: No module named Graph

The filesystem shows that rdflib contains a module named "graph.py", but nothing starting with a capital G:
$ ls rdflib/g*py
rdflib/graph.py

$ ls rdflib/G*.py

This particular error can be resolved by changing the following line from:

from rdflib.Graph import Graph

to:

from rdflib.graph import Graph

... however, it is only one example import of many that are subject to this case-sensitivity problem.

@dbs
Copy link
Author

dbs commented Aug 12, 2013

Hmm. That's not the case with the current version on github, but it is the case when running "pip install pyRdfa" (which currently offers up pyRdfa 2.3.7). Perhaps it's time to push a recent version out to pypi?

@joernhees
Copy link
Member

seems to have been fixed in e175e52

@iherman
Copy link
Contributor

iherman commented Aug 13, 2013

Dan,

I have no knowledge on pypi, and do not know who installed pyRdfa in it. My action has always stopped at github...

:-(

Ivan


Ivan Herman
Tel:+31 641044153
http://www.ivan-herman.net

(Written on mobile, sorry for brevity and misspellings...)

On 12 Aug 2013, at 18:59, Dan Scott notifications@github.com wrote:

Hmm. That's not the case with the current version on github, but it is the case when running "pip install pyRdfa" (which currently offers up pyRdfa 2.3.7). Perhaps it's time to push a recent version out to pypi?


Reply to this email directly or view it on GitHub.

@joernhees
Copy link
Member

@iherman seems Sridhar Ratnakumar owns the pypi package…

@joernhees
Copy link
Member

i think it's ok to close this in favor of #9 for now, if not reopen

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

3 participants