pyRdfa fails on case-sensitive systems
dbs opened this issue · 5 comments
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.
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?
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.