[gt-users] python 2.5 compatibility

Brent Pedersen bpederse at gmail.com
Wed Aug 12 21:29:26 CEST 2009


hi, i noticed there are recent changes to custom_visitor.py in the form:

except GTError as errmsg:

which is not valid in python versions less than 2.6. for compat with
2.5 and less, it should be: "except GTError, errmsg:"

also, in case anyone else runs into this. there seems to be a bug in
the python2.6 multiprocessing that
causes a segfault when using gt.FeatureIndexMemory(). the solution is
to easy_install the latest processing
and use that instead.

-b


More information about the gt-users mailing list