On Jan 10, 2008, at 8:27 AM, James Palma wrote:
> I sent my error messages to the Enthought-Dev mailing list, and this
> was the response I got. It seems that the behavior of Traits has
> changed in recent versions, and that I should be running an older
> version of Traits for the "from enthought.traits.api import View,
> Group, Item" test to work. The quesiton is, what version of Traits
> should I be running?
[snip]
Hi - sorry to have not responded to this thread earlier! (I've been
totally swamped with chairing our faculty recruiting committee.)
Anyway, yes, the traits API changed.
I think the problem is that the stable release of UrbanSim uses the
old traits API. If you'd like to use the stable release, then you
can get the Enthought Python edition 4.3 (which includes the correct
version of traits already installed). This is at http://
code.enthought.com/enthon/
Alternatively, I put in a patch for this problem last summer in the
development release of UrbanSim -- so try downloading the latest code
from the svn repository and run that. This should then work with the
latest Python and other current packages.
There is a bit of unfortunate timing here: we are actually about to
remove all the dependencies on traits from UrbanSim, and in a few
weeks or a month release a new stable version that doesn't use them.
(traits is actually a fine package -- but we are developing a much
enhanced GUI for UrbanSim which includes the QGIS open-source GIS
system, and QGIS uses the PyQt GUI toolkit, whereas traits uses wx -
so they weren't compatible.)
Anyway, for now, I'd suggest either reverting to an older Python, or
using the dev version of UrbanSim. More postings to this list as
soon as the new GUI is fit for general consumption.
cheers,
Alan
Received on Fri Jan 11 2008 - 07:17:24 PST
This archive was generated by hypermail 2.2.0 : Fri Jan 11 2008 - 07:17:25 PST