[Python-projects] [Logilab.org-fr] Re: [Python-Fr] PyReverse

Thomas Koch koch at orbiteam.de
Sat Sep 23 10:55:03 CEST 2006


Dear Sirs,

I noticed a thread on PyReverse problems on the forum-FR-list (July 2006).
Did you get the PyReverse running? 

We tried to setup PyReverse for generating some UML diagrams out of Python
code, but the setup failed. The problem seems to be incompatibility of the
publicly available packages - we used:

- PyReverse 0.5.2
- Common libraries 0.19.0 
- ASTNG 0.16.0

...and Python 2.4 - BTW, the dependencies to ASTNG (and the mx.DateTime
package) should better be documented.

If anyone of logilab team or list members got PyReverse running - please
could you let us know the right combination of package versions - or the
fixes that are required?

Ahh here's the traceback finally:

Microsoft Windows XP [Version 5.1.2600]
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32
> pyargo Demo.py
> python.exe -c "from pyreverse import pyargo; pyargo.Run()" Demo.py
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "D:\Devel\Python\Python24\lib\site-packages\pyreverse\pyargo.py",
line 22
, in ?
    from pyreverse.utils import RunHelper
  File "D:\Devel\Python\Python24\lib\site-packages\pyreverse\utils.py", line
26,
 in ?
    from logilab.astng.utils import is_interface, is_exception, \
ImportError: cannot import name is_interface

Already fixed naming problem: 
 logilab.common.astng -> logilab.astng
However the logilab.astng.utils obviously doesn't provide the missing
methods (anymore?).

Please excuse posting to multiple lists - don't know right now which one is
the correct one.

Kind regards

A bientot (sorry, my french is quite limited ,-)


Thomas Koch
__________________________________________________________
Thomas Koch                         koch at orbiteam.de
OrbiTeam Software GmbH              http://www.orbiteam.de
Endenicher Allee 35                 phone: +49 228 4101400
53121 Bonn                          fax:   +49 228 4101401
Germany



More information about the Python-Projects mailing list