Re: start_run.py is crashing...

From: Alan Borning <borning_at_cs.washington.edu>
Date: Thu, 21 Jun 2007 09:06:47 -0700

This may not be related to the problem Bill described -- but we have
just moved from cvs to a subversion repository, and are also
simplifying the format of our stable releases. Right now the
UrbanSim downloads page has links to the old-format stable releases
from Nov 21 and earlier, and also links to the new subversion
repository. We hope to put up a new beta stable release later today,
along with installation instructions for the new release format,
instructions for getting code from subversion, and so forth. We'll
send out email to the users list then.

In the meantime, folks should probably just stick with their current
copy of the code.

    Alan

On Jun 21, 2007, at 8:09 AM, Paul Waddell wrote:

> Bill
>
> Have you downloaded the eugene cached database and put it into
> C:\urbansim_cache\eugene_1980_baseyear_cache? Look in that
> directory to
> confirm that it contains a 1980 directory with datasets in it. If
> not,
> that's the problem.
>
> Paul
>
> bill simonoski wrote:
>> Hi,
>>
>> I am a new user of opus_urbansim 4. Upon running dos command
>>
>> python C:\Python24\Lib\site-packages\opus_core\tools\start_run.py -c
>> eugene.configs.baseline
>>
>> i get a listing of error messages. Please take a look at document [
>> IO_Errors.rtf ].
>>
>> I utilised eugene sample data that i downloaded from the website
>> urbansim.org on 21 June 2007.
>>
>> Any assistance on this one is highly appreciated.
>>
>>
>> regards
>> Bill Simonoski
>>
>>
>>
>>
>> ------------ERRORS------------
>>
>>
>>
>> Invoking: C:\Python24\python.exe
>> C:\Python24\lib\site-packages\opus_core\tools\start_run.py -r
>> c:\docume~1\bill~1.sim\locals~1\temp\tmpldpa50\resources.pickle
>>
>> Running opus_core.store.utils.cache_flt_data.CacheFltData: started on
>> Thu Jun 21 16:32:25 2007
>>
>> Caching files from 'C:\urbansim_cache\eugene_1980_baseyear_cache'
>>
>> to 'C:\urbansim_cache\run_71.2007_06_21_16_32'.
>>
>> Running opus_core.store.utils.cache_flt_data.CacheFltData:
>> completed.....0.5 sec
>>
>> Logging to file:
>> C:\urbansim_cache\run_71.2007_06_21_16_32\run_multiprocess.log
>>
>> Running simulation for years 1981 thru 1982
>>
>> Running UrbanSim for year 1981 in new process: started on Thu Jun 21
>> 16:32:25 2007
>>
>> Closing log file:
>> C:\urbansim_cache\run_71.2007_06_21_16_32\run_multiprocess.log
>>
>> Invoking: C:\Python24\python.exe
>> c:\python24\lib\site-packages\urbansim\model_coordinators
>> \model_system.py
>> -r c:\docume~1\bill~1.sim\locals~1\temp\tmpufo01i\resources.pickle
>>
>> Cache Directory set to: C:\urbansim_cache\run_71.2007_06_21_16_32
>>
>> Start simulation run: started on Thu Jun 21 16:32:27 2007
>>
>> random seed = (209652397,)
>>
>> Starting simulation for year 1981: started on Thu Jun 21 16:32:27
>> 2007
>>
>> Closing log file:
>> C:\urbansim_cache\run_71.2007_06_21_16_32\run_multiprocess.log
>>
>> Logging to file:
>> C:\urbansim_cache\run_71.2007_06_21_16_32\year_1981_log.txt
>>
>> Simulate year 1981: started on Thu Jun 21 16:32:27 2007....0.0 sec,
>> total 14740 KB, up 128 KB
>>
>> Closing log file:
>> C:\urbansim_cache\run_71.2007_06_21_16_32\year_1981_log.txt
>>
>> Starting simulation for year 1981: completed...0.1 sec, total 14740
>> KB, up 128 KB
>>
>> Start simulation run: completed...............0.1 sec, total 14740
>> KB,
>> up 132 KB
>>
>> Closing log file:
>> C:\urbansim_cache\run_71.2007_06_21_16_32\run_multiprocess.log
>>
>> Traceback (most recent call last):
>>
>> File
>> "c:\python24\lib\site-packages\urbansim\model_coordinators
>> \model_system.py",
>> line 572, in ?
>>
>> s.run(resources)
>>
>> File
>> "c:\python24\lib\site-packages\urbansim\model_coordinators
>> \model_system.py",
>> line 137, in run
>>
>> write_datasets_to_cache_at_end_of_year=write_datasets_to_cache_at_end
>> _of_year)
>>
>> File
>> "c:\python24\lib\site-packages\urbansim\model_coordinators
>> \model_system.py",
>> line 266, in _run_year
>>
>> SessionConfiguration().get_dataset_from_pool(dataset_name)
>>
>> File
>> "C:\Python24\lib\site-packages\opus_core\session_configuration.py",
>> line 113, in get_dataset_from_pool
>>
>> return self.get_dataset_pool().get_dataset(dataset_name)
>>
>> File "C:\Python24\lib\site-packages\opus_core\dataset_pool.py", line
>> 56, in get_dataset
>>
>> self._load_new_dataset(dataset_name, dataset_arguments)
>>
>> File "C:\Python24\lib\site-packages\opus_core\dataset_pool.py", line
>> 124, in _load_new_dataset
>>
>> arguments=arguments)
>>
>> File "C:\Python24\lib\site-packages\opus_core\dataset_factory.py",
>> line 38, in get_dataset
>>
>> arguments=arguments, debug=debug)
>>
>> File "C:\Python24\lib\site-packages\opus_core\class_factory.py", line
>> 49, in get_class
>>
>> return eval(class_name + "(**arguments)")
>>
>> File "<string>", line 0, in ?
>>
>> File
>> "c:\python24\lib\site-packages\urbansim\datasets
>> \vacant_land_and_building_type_dataset.py",
>> line 24, in __init__
>>
>> self.add_elements(data={self.get_id_name()[0]:array
>> ([self.get_id_attribute().max()+1]),
>>
>> File
>> "C:\Python24\lib\site-packages\opus_core\datasets
>> \abstract_dataset.py",
>> line 931, in get_id_attribute
>>
>> id_array = self.get_attribute(self.get_id_name()[0])
>>
>> File "C:\Python24\lib\site-packages\opus_core\datasets\dataset.py",
>> line 116, in get_attribute
>>
>> self.load_dataset(nchunks=1, attributes=[short_name])
>>
>> File "C:\Python24\lib\site-packages\opus_core\datasets\dataset.py",
>> line 204, in load_dataset
>>
>> nchunks=nchunks)
>>
>> File "C:\Python24\lib\site-packages\opus_core\store\storage.py", line
>> 93, in chunk_columns
>>
>> column_names = self._select_columns(column_names,
>> available_column_names)
>>
>> File "C:\Python24\lib\site-packages\opus_core\store\storage.py", line
>> 175, in _select_columns
>>
>> raise AttributeError("Requested column '%s' is not an "
>>
>> AttributeError: Requested column 'building_type_id' is not an
>> available column.
>>
>> Running UrbanSim for year 1981 in new process:
>> completed.................2.2 sec
>>
>> Traceback (most recent call last):
>>
>> File "C:\Python24\lib\site-packages\opus_core\tools\start_run.py",
>> line 75, in ?
>>
>> run_manager.run_run(config)
>>
>> File
>> "C:\Python24\lib\site-packages\opus_core\services\run_server
>> \run_manager.py",
>> line 160, in run_run
>>
>> model_system.run_multiprocess(run_resources)
>>
>> File
>> "c:\python24\lib\site-packages\urbansim\model_coordinators
>> \model_system.py",
>> line 479, in run_multiprocess
>>
>> ForkProcess().fork_new_process(
>>
>> File "C:\Python24\lib\site-packages\opus_core\fork_process.py", line
>> 53, in fork_new_process
>>
>> raise StandardError("Problem with %s" % module_name)
>>
>> StandardError: Problem with urbansim.model_coordinators.model_system
>>
>>
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.5.472 / Virus Database: 269.9.1/857 - Release Date:
>> 20/06/2007 2:18 PM
>>
>> ---------------------------------------------------------------------
>> ---
>>
>> _______________________________________________
>> Users mailing list
>> Users_at_urbansim.org
>> http://www.urbansim.org/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users_at_urbansim.org
> http://www.urbansim.org/mailman/listinfo/users
Received on Thu Jun 21 2007 - 09:06:58 PDT

This archive was generated by hypermail 2.2.0 : Thu Jun 21 2007 - 09:07:00 PDT