>    from matplotlib.pyparsing import ParseFatalException
>ImportError: No module named pyparsing

This comes from matplotlib no longer having its own pyparsing since
1.3.0. Matplotlib instead depends on python-pyparsing.

This problem can be solved in wxgeometrie by calling pyparsing directly
in wxgeometrie/geolib/objet.py with the following change:

-from matplotlib.pyparsing import ParseFatalException
+from pyparsing import ParseFatalException


However, there is some other problem as well, with the
above change it still crashes for me. New last lines of the traceback:

>  File "/usr/lib/python2.7/weakref.py", line 389, in iterkeys
>    with _IterationGuard(self):
>  File "/usr/lib/python2.7/_weakrefset.py", line 23, in __enter__
>    w._iterating.add(self)
>AttributeError: CustomWeakKeyDictionary instance has no attribute
'_iterating'

This I could also work around by applying the commit "Fix
incompatibility with python 2.7.6. " on
https://github.com/wxgeo/wxgeometrie/commit/937fbed6c2a07ee43a59aa623baca05e559c2e46
from the origin/geophar branch of upstream wxgeometrie.

With these two fixes applied, wxgeom runs as expected, without crashes.


Regards,
Anders Jonsson


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to