sumo icon indicating copy to clipboard operation
sumo copied to clipboard

cadytsIterate.py fails to run due to invalid file paths

Open namdre opened this issue 3 years ago • 4 comments

since #7162 (1.7.0 duaIterate creates subfolders for each iteration. It appears that cadytsIterate was not adapted to this.

This error was reported on the mailing list:

Error: Could not save configuration to '000/iteration_000.sumocfg'

Quitting (on error).

Execution of ['C:\\Program Files (x86)\\Eclipse\\Sumo\\bin\\sumo', '-c', '0/iteration_000.sumocfg'] failed. Look into cadySumo-log.txt for details.

namdre avatar Sep 15 '22 10:09 namdre

@yunpangfloetteroed can you perform a local test for cadytsiterate and replicate the problem?

namdre avatar Sep 15 '22 10:09 namdre

I thought, the cadytsIterate.py was already adjusted. I will have a check on it!

yunpangfloetteroed avatar Sep 15 '22 10:09 yunpangfloetteroed

The problem is solved. The cadyts tool is currently not in the sumo-package (#11014). A daily test can be built for it, after/if we include it when building sumo.

yunpangfloetteroed avatar Sep 15 '22 12:09 yunpangfloetteroed

@yunpangfloetteroed After your refactoring, the python checker gives the warning: assign/duaIterate.py:497:50: F821 undefined name 'step'

The code will crash when option --eco-measure is set.

  • obviously we are missing a test
  • it's quite possible that the code already didn't work before your refactoring so it should be fixed

I hope you can handle both (-:

namdre avatar Sep 16 '22 06:09 namdre