Hi Sylvain,
Many thanks for getting back to us/me. I appreciate your help a lot.
+ I've installed yapss2 - no problems there
++ I've unzipped and untar-red the fyzz-0.1.0.tar.gz file and got the
following, directory in place:
jacek@jacek-001:~/dev/fyzz-0.1.0$ ls
antlrparser ChangeLog __init__.py __pkginfo__.py setup.py yappsparser
ast.py doc PKG-INFO __pkginfo__.pyc test
+++ I've tried to follow instructions from doc/README.rst , I've started
python and tried to execute, the import instruction from the package:
### The following lines of code should be enough to start::
>>> from fyzz.yappsparser import parse
>>> ast = parse("""PREFIX doap: <http://usefulinc.com/ns/doap#>
.......
++++ python throws an error message saying the it cannot recognize
fyzz.yappsparser package (obviously ...???) so I tried >> from fyzz-0.1.0.
yappsparser ..., with similar results.
There is no question about the fact that I have no idea how to import the fyzz
package into python. Could you please let me know the steps to enable the
package. I must be missing something really obvious, or am I've pulled wrong
fyzz package.
10000 * Thanks,
Jacek
Jacek J. Szymczyk {ya~tsek shim~chik} (+65) 9423 4087 H HP Labs Singapore
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, May 24, 2011 11:26 PM
To: Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14 floor)
Cc: Python-Projects; Ko, Ryan; Kirchberg, Markus
Subject: Re: [Python-projects] Fyzz breaks under python 2.6.5 and 2.7
On 24 mai 08:49, Szymczyk, Jacek Janusz (HP Labs - Fusionopolis, South Twr #14
floor) wrote:
> Dear Ladies/Gentlemen,
Hi,
> I'm trying to do some sparql query validations. Have found your query parser
> Fyzz. Installed the package under windows and linux, encountered the same
> show stopper: can't pass initial stage of importing yapps package.
>
> Anyhow, I was wandering if there is anybody out there in your labs who could
> help me with Fyzz installation. I could be wrong but the package I got is
> from 2009 (?). Would you have anything more up to date.
There has been no recent activity on this project but it should still
work. Have you tried to install the yapps2 package first ?
On debian, apt-get install yapps2-runtime does the trick.
You should still be able to use http://pypi.python.org/pypi/Yapps2/2.1.1-17.1
on other system.
Nevermind ask more questions on this list, we'll help you to get it installed
and working.
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
CubicWeb, the semantic web framework: http://www.cubicweb.org
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects