Issue 52 in fuxi: Cannot import OWL from rdflib

72 views
Skip to first unread message

fu...@googlecode.com

unread,
Oct 13, 2011, 4:58:34 PM10/13/11
to fuxi-di...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 52 by tv8...@gmail.com: Cannot import OWL from rdflib
http://code.google.com/p/fuxi/issues/detail?id=52

What steps will reproduce the problem?
Run Fuxi.

resulting in the following error. I think this is because there is no OWL
class in the rdflib-2.4.2 that I installed (I checked the rdflib egg file
but could not find it).

Traceback (most recent call last):
File "C:\Python27\Scripts\FuXi-script.py", line 8, in <module>
load_entry_point('FuXi==1.3.production', 'console_scripts', 'FuXi')()

File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.
py", line 318, in load_entry_point

File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.
py", line 2221, in load_entry_point

File "C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\pkg_resources.
py", line 1954, in load
File "C:\Python27\lib\site-packages\FuXi\Rete\__init__.py", line 1, in
<module

from Network import ReteNetwork, InferredGoal
File "C:\Python27\lib\site-packages\FuXi\Rete\Network.py", line 22, in
<module

from FuXi.Horn import ComplementExpansion, DATALOG_SAFETY_NONE, \
File "C:\Python27\lib\site-packages\FuXi\Horn\__init__.py", line 2, in
<module

from FuXi.Syntax.InfixOWL import *
File "C:\Python27\lib\site-packages\FuXi\Syntax\InfixOWL.py", line 111,
in <mo
dule>
from rdflib import OWL
ImportError: cannot import name OWL

What version of the product are you using? On what operating system?
I used Python 2.7 in windows and rdflib-2.4.2 and use easy_install to
install fuxi.


fu...@googlecode.com

unread,
Oct 13, 2011, 11:35:44 PM10/13/11
to fuxi-di...@googlegroups.com

Comment #1 on issue 52 by an...@castilla.med.br: Cannot import OWL from
rdflib
http://code.google.com/p/fuxi/issues/detail?id=52

I am experiencing also this problem.
Snow Leopard + rdflib2.4+ python2.6

fu...@googlecode.com

unread,
Nov 11, 2011, 9:32:41 PM11/11/11
to fuxi-di...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages