Re: [UrbanSim-Users] ELCM-home_based

From: Hana Sevcikova <hana_at_cs.washington.edu>
Date: Fri, 14 Dec 2007 10:20:07 -0800

Mark,

The table jobs_for_estimation is in the eugene database. Maybe you have
an older version of the database. Please update it
from our download page (http://www.urbansim.org/download)

Hana

Mark Kryvobokov wrote:
>
>
> Thank you Hana, you are right.
>
>
>
> The new question: the estimation of the ELCM-home_based fails:
>
> / opus_core.store.old.flt_storage.FltError: Cache directory
> '/tmp/opus\1980\jobs_for_estimation' does not exist! /
>
>
> I don't see the table 'jobs_for_estimation' in the Eugene detaset.
>
>
>
> Mark
>
>
> --- Original Message ---
> From: Hana Sevcikova <hana_at_cs.washington.edu>
> To: Mark Kryvobokov <k_mark_at_ukr.net>
> Date: 13 december, 21:37:00
> Subject: Re: [UrbanSim-Users] creating new indicators
>
> Mark, this looks very much like the code doesn't see your cache. Did
> you
> set the entry 'cache_directory' in my_estimation_config.py to the right
> value?
>
> Hana
>
>
> Mark Kryvobokov wrote:
> >
> >
> > Hello!
> >
> >
> >
> > I used MySQL dataset for estimation, it was working. I don't know
> > what was changed after that, but when using MySQL dataset for
> estimation
> > again, I received the error:
> >
> > Traceback (most recent call last):
> >
> > _ File
> "C:\MyNew\Opus41\lyonprototype41\estimation\run_estimation.py",
> > line 69, in <module> _
> >
> > estimator.estimate()
> >
> > _ File
> "C:\MyNew\Opus41\opus-4.1\urbansim\estimation\estimator.py", line
> > 67, in estimate _
> >
> > self.model_system.run(self.config,
> > write_datasets_to_cache_at_end_of_year=False)
> >
> > _ File
> >
> "C:\MyNew\Opus41\opus-4.1\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:\MyNew\Opus41\opus-4.1\urbansim\model_coordinators\model_system.py",
> > line 266, in _run_year _
> >
> > SessionConfiguration().get_dataset_from_pool(dataset_name)
> >
> > _ File
> "C:\MyNew\Opus41\opus-4.1\opus_core\session_configuration.py",
> > line 113, in get_dataset_from_pool _
> >
> > return self.get_dataset_pool().get_dataset(dataset_name)
> >
> > _ File "C:\MyNew\Opus41\opus-4.1\opus_core\dataset_pool.py", line
> 56, in
> > get_dataset _
> >
> > self._load_new_dataset(dataset_name, dataset_arguments)
> >
> > _ File "C:\MyNew\Opus41\opus-4.1\opus_core\dataset_pool.py", line
> 124,
> > in _load_new_dataset _
> >
> > arguments=arguments)
> >
> > _ File "C:\MyNew\Opus41\opus-4.1\opus_core\dataset_factory.py",
> line 38,
> > in get_dataset _
> >
> > arguments=arguments, debug=debug)
> >
> > _ File "C:\MyNew\Opus41\opus-4.1\opus_core\class_factory.py",
> line 49,
> > in get_class _
> >
> > return eval(class_name + "(**arguments)")
> >
> > File "<string>", line 1, in <module>
> >
> > _ File
> "C:\MyNew\Opus41\opus-4.1\urbansim\datasets\gridcell_dataset.py",
> > line 34, in __init__ _
> >
> > UrbansimDataset.__init__(self, *args, **kwargs)
> >
> > _ File "C:\MyNew\Opus41\opus-4.1\urbansim\datasets\dataset.py",
> line 58,
> > in __init__ _
> >
> > CoreDataset.__init__(self,resources = resources)
> >
> > _ File "C:\MyNew\Opus41\opus-4.1\opus_core\datasets\dataset.py",
> line
> > 89, in __init__ _
> >
> > debug = debug)
> >
> > _ File
> >
> "C:\MyNew\Opus41\opus-4.1\opus_core\datasets\abstract_dataset.py", line
> > 131, in __init__ _
> >
> > attribute_type=AttributeType.PRIMARY)
> >
> > _ File "C:\MyNew\Opus41\opus-4.1\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:\MyNew\Opus41\opus-4.1\opus_core\store\old\attribute_cache.py", line
> > 78, in determine_field_names _
> >
> > attributes=attributes)
> >
> > _ File
> >
> "C:\MyNew\Opus41\opus-4.1\opus_core\store\old\attribute_cache.py", line
> > 99, in _determine_field_names _
> >
> > (self.cache_directory, in_table_name, time))
> >
> >
> >
> > opus_core.opus_error.OpusError: 'Attribute cache "None" does not
> contain
> > dataset table "gridcells" at or before time 1980'
> >
> >
> > The dataset was not changed at all. The table "gridcells" is
> cashed for
> > 1980 as well as for previous years for the current estimation.
> >
> > What could be the reason of the error?
> >
> >
> >
> > Mark
> >
> >
> >
> ------------------------------------------------------------------------
>
> >
> > _______________________________________________
> > Users mailing list
> > Users_at_urbansim.org
> > http://www.urbansim.org/mailman/listinfo/users
>
Received on Fri Dec 14 2007 - 10:20:10 PST

This archive was generated by hypermail 2.2.0 : Fri Dec 14 2007 - 10:20:10 PST