Bonjour Fabrice,
A simple idea : have you rename also the main directory of the eugene
package to my "city" ? Because Python use it for package name.
Regards,
Philippe.
-----Message d'origine-----
De : users-bounces_at_urbansim.org [mailto:users-bounces_at_urbansim.org]De la
part de Fabrice Marchal
Envoye : mardi 20 novembre 2007 09:57
A : users_at_urbansim.org
Objet : [UrbanSim-Users] package name /workspace
Hi,
Im trying to copy the whole eugene package and to rename it to run my
"city"
I have changed the string "eugene" wherever I could find it in the package
"eugene"
but I still have the following error when running the simulation:
(versions, value) =
self.compute_variables_return_versions_and_final_value(names, dataset_pool,
resources, quiet)
File "/home/fmarchal/opus-4.1/opus_core/datasets/abstract_dataset.py",
line 363, in compute_variables_return_versions_and_final_value
resources=resources, quiet=quiet, version=version))
File "/home/fmarchal/opus-4.1/opus_core/datasets/abstract_dataset.py",
line 1169, in _compute_if_needed
return self._compute_one_variable(variable_name, dataset_pool,
resources=resources, quiet=quiet)
File "/home/fmarchal/opus-4.1/opus_core/datasets/abstract_dataset.py",
line 1102, in _compute_one_variable
index_name=id_name)
File "/home/fmarchal/opus-4.1/opus_core/variables/variable_factory.py",
line 83, in get_variable
(true_short_name, directory_path, time))
NameError: Opus variable 'travel_time_hbw_am_drive_alone_to_220' does not
exist for dataset 'eugene.gridcell' in year 1981
Running UrbanSim for year 1981 in new process:
completed.................2.5 sec
Is there a place elsewhere (e.g. in the data of the baseyearcache) where
we have to
put the name of the package?
Thanks
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
=====================================================
Received on Tue Nov 20 2007 - 23:11:46 PST
This archive was generated by hypermail 2.2.0 : Tue Nov 20 2007 - 23:11:48 PST