Zachary,
Thanks for trying this out! The new GUI is still very much in
progress, and is likely to be unstable for a bit. (The non-GUI parts
of the code aren't changing any faster than usual; it's just the GUI
that's in flux.)
One possibility is that the environment variable OPUS_DATA_PATH isn't
set. (I encountered something like this error the other day because
of that.) For your setup the value should be c:\urbansim_cache\
The other thing to try would be to update to the latest version of
the code, in case you found it in a bad state. (I just tried this
again with revision 2628, which is the latest as of this moment, and
it's working.)
Here's what the error is about -- the status.txt file is used to
update the progress bar in the GUI. The statusfile is periodically
written by the _write_status_for_gui method in class ModelSystem in
urbansim.model_coordinators.model_system. Then the _compute_progress
method in opus/opus_gui/run/model/opusrunmodel.py reads the file to
compute how far through the simulation you are.
If neither of those things are it let me know and we'll keep trying
to track it down.
Other folks on the list: you may want to stick with the stable
release, if you don't want to deal with these kinds of things ... but
bug reports about the GUI will definitely help us get it in shape.
Alan
On Jan 29, 2008, at 6:45 AM, Zachary Patterson wrote:
>
> I have started the transition to the latest development version of
> UrbanSim
> through the SVN and hit a snag when testing the Eugene model. It seems
> UrbanSim is trying to find a status file that is not there. See
> error below.
>
> Any suggestions on how to get around this problem?
>
> Running UrbanSim for year 1981 in new process:
> completed.................1.0
> sec
>
> ('StandardError', '<no args>', [' File
> "C:\\opusworkspace\\opus_gui\\run\\model\\opusrunmodel.py", line
> 117, in
> run\n run_manager.run_run(config)\n', ' Fil
> e "c:\\opusworkspace\\opus_core\\services\\run_server\
> \run_manager.py", line
> 188
> , in run_run\n model_system.run_multiprocess(run_resources)\n',
> ' File
> "c:\\
> opusworkspace\\urbansim\\model_coordinators\\model_system.py", line
> 427, in
> run_
> multiprocess\n \'urbansim.model_coordinators.model_system\',
> resources)\n', '
> File "c:\\opusworkspace\\opus_core\\fork_process.py", line 54, in
> fork_new_pro
> cess\n raise StandardError("Child python process exited with
> failure.\\nCalli
> ng module: %s\\nSystem command: %s" % (module_name, python_cmd))\n'])
> Traceback (most recent call last):
> File "C:\opusworkspace\opus_gui\run\model\opusrunmodel.py", line
> 44, in
> run
> self.parent.model.run()
> File "C:\opusworkspace\opus_gui\run\model\opusrunmodel.py", line
> 128, in
> run
> os.remove(statusfile)
> WindowsError: [Error 2] The system cannot find the file specified:
> 'c:\\urbansim
> _cache\\eugene/runs\\run_18.2008_01_29_15_03\\status.txt'
>
> ***************************************************************
> * Zachary Patterson *
> * Transport and Mobility Laboratory *
> * School of Architecture, Civil and Environmental Engineering *
> * EPFL - Ecole Polytechnique Fédérale de Lausanne *
> * GC A3 398 *
> * Station 18 *
> * CH-1015 Lausanne *
> * Switzerland *
> * http://transp-or2.epfl.ch/pagesPerso/patterson.php *
> * http://urban-utilities.epfl.ch/ *
> * Phone: +41 (0)21 693 93 29 *
> * Fax: +41 (0)21 693 80 60 *
> ***************************************************************
>
> _______________________________________________
> Users mailing list
> Users_at_urbansim.org
> http://www.urbansim.org/mailman/listinfo/users
Received on Tue Jan 29 2008 - 09:19:03 PST
This archive was generated by hypermail 2.2.0 : Tue Jan 29 2008 - 09:19:04 PST