Re: [UrbanSim-Users] test problems with opus_857

From: Alan Borning <borning_at_cs.washington.edu>
Date: Wed, 8 Aug 2007 21:45:20 -0700

Fabrice,

I'm guessing this is a matplotlib problem. To see if this is the
case, try running just the one unit test and see whether the same
thing happens. To do this connect to the directory opus_core/
indicator_framework/image_types

and execute

python matplotlib_chart.py

If you get a crash then that's a good sign that the problem is with
that combination of the version of matplotlib, Python 2.4, and a 64
bit machine.

We have mostly been working on 32 bit machines, but we do have one 64
bit linux machine. So I just tried running this on the 64 bit
machine machine, using Python 2.5 (which comes with Fedora 7), and
matplotlib 0.90.0, and it works OK. So you could try this again but
with Python 2.5 and matplotlib 0.90.0. There were also a couple of
problems that turned up with trying to run with Python 2.5 that we
fixed since the stable release, so get the latest code out of the
subversion repository as well.

However, I just tried running all_tests on the 64 bit machine, and
there are some other unit tests that fail because it is returning 64
bit instead of 32 bit integers. (The computation is actually OK -
it's just that the tests are checking for 32 bit ints.) We will try
to get these all fixed, but as far as I can tell, they are just a
problem with the unit tests needing to be generalized to allow for
both 32 and 64 bit machines, not actually indicating a bug in the
rest of the code.

    Alan

On Aug 8, 2007, at 7:03 AM, Fabrice Marchal wrote:

> Hello,
>
> I'm trying to run a fresh install of Opus 857 on a Linux-64bit machine
>
> Running the tests:
> python2.4 opus_core/tests/all_tests.py
>
> stops here:
> ...
> ======================================================================
> ==========
> opus_core.indicator_framework.image_types.dataset_table.Tests
> test_create_indicator
> ======================================================================
> ==========
> Creating cache directory '/tmp/opus_tmpFllt1v'.
> -------------------------------------
> ( OK )-------------------------------------
>
>
> ======================================================================
> ==========
>
> opus_core.indicator_framework.image_types.matplotlib_chart.Tests
> test_create_indicator
> ======================================================================
> ==========
> Creating cache directory '/tmp/opus_tmpjM9KRW'.
> Segmentation fault
>
>
> Any idea of the problem?
> Apparently matplotlib-0.90.1-py2.4-linux-x86_64.egg is the version
> installed
>
>
> Fabrice
>
>
> =====================================================
> Fabrice
> Marchal
> http://marchal.let.fr
> CNRS Associate researcher
> +33 472 72 79 44
> Lab of Transportation Economics (LET), Berthelot 14, F-69363 Lyon
> =====================================================
>
>
>
> _______________________________________________
> Users mailing list
> Users_at_urbansim.org
> http://www.urbansim.org/mailman/listinfo/users
Received on Wed Aug 08 2007 - 21:45:28 PDT

This archive was generated by hypermail 2.2.0 : Wed Aug 08 2007 - 21:45:30 PDT