Hana,
Somehow, we did not have an __init__.py file in our gridcell directory
(that was stupid of us). However, once we put one in place, we still
had the error.
I realized that we were importing "variable_functions" without out
fully qualifying the package (i.e. we weren't importing
urbansim.gridcell.variable_functions and didn't have a local copy of
the class).
Sadly, the error message for these two different problems are the same.
If there's some way to differentiate these error conditions, it would
be helpful to have specific error messages, but it's probably not an
urgent problem.
Thanks,
Brian
On Mar 11, 2008, at 3:43 PM, Hana Sevcikova wrote:
> Brian,
>
> I suppose you have a __init__.py file in the chittenden/gridcell/
> and in the chittenden/ directory (you must if it's working for
> indicators).
>
> Would you please send your specification file and the estimation
> output. Right now, I don't know what it could be.
>
> Hana
>
>
> Brian Miles wrote:
>> Hello,
>> We've created a number of gridcell variables, which live in our
>> chittenden.gridcell package. We can use these variables for
>> creating indicators, but when we try to use them to estimate
>> models we can an error such as the following:
>> StandardError: In dataset 'gridcell': Initialization of variable
>> 'chittenden.gridcell.VARIABLENAME' failed!'
>> I looked at the estimation config and run_estimation script for
>> the Eugene model, and don't see anything obvious that we're not
>> doing in ours (such as setting up the 'dataset_pool_configuration'
>> as is done in a proper Opus config).
>> What else should I check into?
>> Thanks,
>> Brian
>> _______________________________________________
>> Users mailing list
>> Users_at_urbansim.org
>> http://www.urbansim.org/mailman/listinfo/users
Received on Tue Mar 11 2008 - 13:34:53 PDT
This archive was generated by hypermail 2.2.0 : Tue Mar 11 2008 - 13:34:54 PDT