Re: Installation Problem w/Eugene Data Set

From: Alan Borning <borning_at_cs.washington.edu>
Date: Wed, 11 Jul 2007 21:02:11 -0400

Larry - one plausible cause of this is that you selected the '1980'
directory rather than its parent 'eugene_1980_baseyear_cache'. (I
did this myself once.) The system definitely should give a better
error message in this case, and we have an open ticket on the bug/
feature request system to fix this:

http://trondheim.cs.washington.edu/cgi-bin/trac.cgi/ticket/13

I'll try to get an improved error message soon, but in the meantime
that could be the cause.
    Alan

On Jul 11, 2007, at 7:54 PM, Liming Wang wrote:

> Larry,
> It means the cache_directory you set doesn't contain the data. For
> example, if you unzip the downloaded Eugene cache data to c:
> \urbansim_cache, the directory structure will looks like:
> C:\urbansim_cache\
> eugene_1980_baseyear_cache
> 1980
> and many dataset subdirectories under 1980.
>
> You should set the cache_directory to c:\urbansim_cache
> \eugene_1980_baseyear_cache
>
> Hope this helps,
> Liming.
>
> On 7/11/07, larryhc_at_mail.utexas.edu <larryhc_at_mail.utexas.edu> wrote:
> Hello all,
>
> I'm having a bit of trouble running an initial installation of Opus
> with the
> Eugene data set provided on the web page (I re-downloaded
> everything yesterday,
> and am using "start_run.py -c eugene.config.baseline" directly
> [after changing
> the relevant values in eugene.config.baseline.py to point to my
> relevant data
> and cache directories] - I found this program easier to use than
> using the GUI,
> but rest assured that this problem happens with the GUI version as
> well)
>
> The relevant error line I am receiving is
>
> File "C:\Opus\opus_core\store\old\attribute_cache.py", line 98, in
> _determine_field_names
> raise OpusError('Attribute cache "%s" does not contain dataset
> table "%s" at
> or before time %s' %
> opus_core.opus_error.OpusError: 'Attribute cache "None" does not
> contain dataset
> table "building_types" at or before time 1981'
>
> The full string of opus messages can be found below the ----- at
> the end of this
> message.
>
> The data directory building_types does indeed exist, in both the
> original data
> directory, and the copy that the program sent (properly) to the cache
> directory. My best guess is that somehow the initialization of the
> AttributeCache in localresources does not pick up the directory
> name stored in
> the baseline file; hence the phrase "None" in the above error message.
>
> Any help you can provide would be greatly appreciated.
>
> Thanks in advance
>
> Larry H-C
>
> ------------
> Running opus_core.store.utils.cache_flt_data.CacheFltData: started
> on Wed Jul 11
> 18:05:09 2007
> Caching files from 'c:\opus\eugene\data'
> to 'c:\opus\eugene\cache\2007_07_11_18_05'.
> Running opus_core.store.utils.cache_flt_data.CacheFltData:
> completed.....5.4 sec
> Logging to file: c:\opus\eugene\cache\2007_07_11_18_05
> \run_multiprocess.log
> Running simulation for years 1981 thru 1982
> Running UrbanSim for year 1981 in new process: started on Wed Jul
> 11 18:05:14
> 2007
> Closing log file: c:\opus\eugene\cache\2007_07_11_18_05
> \run_multiprocess.log
> Invoking: C:\PYTHON24\PYTHON.EXE
> C:\Opus\urbansim\model_coordinators\model_system.py -r
> c:\windows\temp\tmpkfqulv\resources.pickle
> Cache Directory set to: c:\opus\eugene\cache\2007_07_11_18_05
> Start simulation run: started on Wed Jul 11 18:05:15 2007
> random seed = (209652397,)
> Starting simulation for year 1981: started on Wed Jul 11
> 18:05:15 2007
> Closing log file:
> c:\opus\eugene\cache\2007_07_11_18_05\run_multiprocess.log
> Logging to file: c:\opus\eugene\cache\2007_07_11_18_05
> \year_1981_log.txt
> Simulate year 1981: started on Wed Jul 11 18:05:15
> 2007....0.0 sec,
> total 13908 KB, up 4 KB
> Closing log file:
> c:\opus\eugene\cache\2007_07_11_18_05\year_1981_log.txt
> Starting simulation for year 1981: completed...0.0 sec, total
> 13908 KB, up 4
> KB
> Start simulation run: completed................0.1 sec, total 13908
> KB, up 12 KB
> Closing log file: c:\opus\eugene\cache\2007_07_11_18_05
> \run_multiprocess.log
> C:\PYTHON24\lib\site-packages\scipy\misc\__init__.py:25:
> DeprecationWarning:
> ScipyTest is now called NumpyTest; please update your code
> test = ScipyTest().test
> C:\PYTHON24\lib\site-packages\scipy\ndimage\__init__.py:40:
> DeprecationWarning:
> ScipyTest is now called NumpyTest; please update your code
> test = ScipyTest().test
> Traceback (most recent call last):
> File "C:\Opus\urbansim\model_coordinators\model_system.py", line
> 572, in ?
> s.run(resources)
> File "C:\Opus\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:\Opus\urbansim\model_coordinators\model_system.py", line
> 266, in
> _run_year
> SessionConfiguration().get_dataset_from_pool(dataset_name)
> File "C:\Opus\opus_core\session_configuration.py", line 113, in
> get_dataset_from_pool
> return self.get_dataset_pool().get_dataset(dataset_name)
> File "C:\Opus\opus_core\dataset_pool.py", line 56, in get_dataset
> self._load_new_dataset(dataset_name, dataset_arguments)
> File "C:\Opus\opus_core\dataset_pool.py", line 124, in
> _load_new_dataset
> arguments=arguments)
> File "C:\Opus\opus_core\dataset_factory.py", line 38, in get_dataset
> arguments=arguments, debug=debug)
> File "C:\Opus\opus_core\class_factory.py", line 49, in get_class
> return eval(class_name + "(**arguments)")
> File "<string>", line 0, in ?
> File "C:\Opus\urbansim\datasets
> \vacant_land_and_building_type_dataset.py",
> line 23, in __init__
> BuildingTypeDataset.__init__(self, *args, **kwargs)
> File "C:\Opus\urbansim\datasets\dataset.py", line 58, in __init__
> CoreDataset.__init__(self,resources = resources)
> File "C:\Opus\opus_core\datasets\dataset.py", line 89, in __init__
> debug = debug)
> File "C:\Opus\opus_core\datasets\abstract_dataset.py", line 131,
> in __init__
> attribute_type=AttributeType.PRIMARY)
> File "C:\Opus\opus_core\datasets\dataset.py", line 292, in
> determine_stored_attribute_names
> return local_resources["in_storage"].determine_field_names
> (local_resources,
> attribute_type)
> File "C:\Opus\opus_core\store\old\attribute_cache.py", line 78, in
> determine_field_names
> attributes=attributes)
> File "C:\Opus\opus_core\store\old\attribute_cache.py", line 98, in
> _determine_field_names
> raise OpusError('Attribute cache "%s" does not contain dataset
> table "%s" at
> or before time %s' %
> opus_core.opus_error.OpusError: 'Attribute cache "None" does not
> contain dataset
> table "building_types" at or before time 1981'
> Running UrbanSim for year 1981 in new process:
> completed.................0.9 sec
> C:\PYTHON24\lib\site-packages\scipy\misc\__init__.py:25:
> DeprecationWarning:
> ScipyTest is now called NumpyTest; please update your code
> test = ScipyTest().test
> C:\PYTHON24\lib\site-packages\scipy\ndimage\__init__.py:40:
> DeprecationWarning:
> ScipyTest is now called NumpyTest; please update your code
> test = ScipyTest().test
> Traceback (most recent call last):
> File "\opus\opus_core\tools\start_run.py", line 75, in ?
> run_manager.run_run(config)
> File "C:\Opus\opus_core\services\run_server\run_manager.py", line
> 160, in
> run_run
> model_system.run_multiprocess(run_resources)
> File "C:\Opus\urbansim\model_coordinators\model_system.py", line
> 479, in
> run_multiprocess
> ForkProcess().fork_new_process(
> File "C:\Opus\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
>
>
> _______________________________________________
> 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 Wed Jul 11 2007 - 18:02:18 PDT

This archive was generated by hypermail 2.2.0 : Wed Jul 11 2007 - 18:02:20 PDT