RE: run_simulation_on_baseyear_cache.py is working OK

From: bill simonoski <bill.simonoski_at_nieir.com.au>
Date: Wed, 27 Jun 2007 09:33:21 +1000

 

   _____

From: Alan Borning [mailto:borning_at_cs.washington.edu]
Sent: Wednesday, 27 June 2007 1:11 AM
To: bill simonoski
Subject: Re: run_simulation_on_baseyear_cache.py is working OK

OK, glad it's working!
  A.

On Jun 26, 2007, at 12:53 AM, bill simonoski wrote:

Hi Alan,
 
I updated the correct external packages for python and the program [run_simulation_on_baseyear_cache.py] is working as expected
with the latest eugene baseyear data.
 
I am sorry if we have taken some of your valuable time and i appreciate your assistance.
 
 
 
regards
Bill Simonoski
 

   _____

From: Alan Borning [HYPERLINK "mailto:borning_at_cs.washington.edu"mailto:borning_at_cs.washington.edu]
Sent: Tuesday, 26 June 2007 3:36 PM
To: bill simonoski
Cc: HYPERLINK "mailto:users_at_urbansim.org"users_at_urbansim.org
Subject: Re: run_simulation_on_baseyear_cache.py is not working.

Hi Bill,

I had an old version of the eugene base year database linked from the site by mistake on the weekend (sorry) - we corresponded about that. But if you downloaded the updated, correct version of the eugene data since, unfortunately I'm not sure what is going on - I haven't seen this error before.

We did update the beta release on the site today, which fixed a couple of small problems. Could you try it again, getting both the eugene database and the code from the current versions on the website? Also verify that your versions of the required other packages are the current ones. I did just download the code and eugene data from the site and verified that it is working.

   cheers,
   Alan

On Jun 25, 2007, at 6:16 PM, bill simonoski wrote:

Hi,
 
I have downloaded the new stable opus from your updated website. I followed the latest installation instructions.
I also downloaded the updated baseyear data for eugene.
When running [ run_simulation_on_baseyear_cache.py ] with eugene data that i downloaded from your updated
website there is errors. Could you please have a look at list of errors below.
 
 
Any assistance on this one is highly appreciated.
 
 
regards
Bill Simonoski
 
 
----------ERRORS-------------------
Simulate year 1981: completed......43.6 sec, total 42692 KB, up 28076 KB
        Closing log file: C:\urbansim_cache\run_102.2007_06_26_11_10\year_1981_log.txt
    Starting simulation for year 1981: completed...43.8 sec, total 42692 KB, up 28076 KB
Start simulation run: completed............43.9 sec, total 42692 KB, up 28080 KB
Closing log file: C:\urbansim_cache\run_102.2007_06_26_11_10\run_multiprocess.log
Traceback (most recent call last):
  File "c:\workspace\urbansim\model_coordinators\model_system.py", line 572, in ?
    s.run(resources)
  File "c:\workspace\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:\workspace\urbansim\model_coordinators\model_system.py", line 363, in _run_year
    self.vardict[outputvar] = self.do_process(locals())
  File "c:\workspace\urbansim\model_coordinators\model_system.py", line 441, in do_process
    return eval(ev)
  File "<string>", line 0, in ?
  File "c:\workspace\opus_core\model.py", line 48, in logged_run_method
    results = run_method(*req_args, **opt_args)
  File "c:\workspace\opus_core\configurable.py", line 38, in config_run_method
    results = run_method(*req_args, **opt_args)
  File "c:\workspace\urbansim\models\agent_location_choice_model.py", line 75, in run
    agents_index[unplaced], chunk_specification, run_config=run_co
Running UrbanSim for year 1981 in new process: completed................47.4 sec
nfig, debuglevel=debuglevel)
  File "c:\workspace\urbansim\models\location_choice_model.py", line 121, in run
    debuglevel=debuglevel)
  File "c:\workspace\opus_core\choice_model.py", line 141, in run
    specification=specification, coefficients=coefficients)
  File "c:\workspace\opus_core\chunk_model.py", line 72, in run
    dataset, **kwargs).astype(result_array_type)
  File "c:\workspace\urbansim\models\agent_location_choice_model.py", line 89, in run_chunk
    result = LocationChoiceModel.run_chunk(self, agents_index, agent_set, specification, coefficients)
  File "c:\workspace\urbansim\models\location_choice_model.py", line 140, in run_chunk
    choices = ChoiceModel.run_chunk(self,agents_index, agent_set, specification, coefficients)
  File "c:\workspace\opus_core\choice_model.py", line 169, in run_chunk
    choice_indices = self.simulate_chunk()
  File "c:\workspace\opus_core\choice_model.py", line 190, in simulate_chunk
    res = self.simulate_submodel(self.get_all_data(submodel), coefficients, submodel)
  File "c:\workspace\urbansim\models\agent_location_choice_model.py", line 97, in simulate_submodel
    result = LocationChoiceModel.simulate_submodel(self, data, coefficients, submodel)
  File "c:\workspace\urbansim\models\location_choice_model.py", line 151, in simulate_submodel
    return ChoiceModel.simulate_submodel(self, data, coefficients, submodel)
  File "c:\workspace\opus_core\choice_model.py", line 203, in simulate_submodel
    result = self.upc_sequence.run(data, coefficients, resources=self.run_config)
  File "c:\workspace\opus_core\upc_sequence.py", line 48, in run
    this_result = self.compute_choices(local_resources)
  File "c:\workspace\opus_core\upc_sequence.py", line 74, in compute_choices
    self.choices = self.choice_class.run(self.probabilities, resources)
  File "c:\workspace\opus_core\configurable.py", line 38, in config_run_method
    results = run_method(*req_args, **opt_args)
  File "c:\workspace\urbansim\lottery_choices.py", line 81, in run
    choose_again = concatenate((choose_again, draw)) #randomly drawn
ValueError: arrays must have same number of dimensions
 
Traceback (most recent call last):
  File "c:\workspace\opus_core\tools\start_run.py", line 75, in ?
    run_manager.run_run(config)
  File "c:\workspace\opus_core\services\run_server\run_manager.py", line 160, in run_run
    model_system.run_multiprocess(run_resources)
  File "c:\workspace\urbansim\model_coordinators\model_system.py", line 479, in run_multiprocess
    ForkProcess().fork_new_process(
  File "c:\workspace\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
Traceback (most recent call last):
  File "C:\workspace\eugene\tools\run_simulation_on_baseyear_cache.py", line 95, in __main__
    ForkProcess().fork_new_process('opus_core.tools.start_run', resources=config)
  File "c:\workspace\opus_core\fork_process.py", line 53, in fork_new_process
    raise StandardError("Problem with %s" % module_name)
StandardError: Problem with opus_core.tools.start_run

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.8/869 - Release Date: 25/06/2007 5:32 PM

_______________________________________________
Users mailing list
HYPERLINK "mailto:Users_at_urbansim.org"Users_at_urbansim.org
HYPERLINK "http://www.urbansim.org/mailman/listinfo/users"http://www.urbansim.org/mailman/listinfo/users

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.8/869 - Release Date: 25/06/2007 5:32 PM

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.8/869 - Release Date: 25/06/2007 5:32 PM

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.9/872 - Release Date: 26/06/2007 6:43 PM

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.9.9/872 - Release Date: 26/06/2007 6:43 PM
 
Received on Tue Jun 26 2007 - 16:33:26 PDT

This archive was generated by hypermail 2.2.0 : Tue Jun 26 2007 - 16:33:28 PDT