Error when installing Scenario Designer

Hi!

I’m trying to install the Scenario Designer and I followed the steps from README. But still meet an error when opening the GUI. I’m using Anaconda with Python version 3.7.

Am I missing anything?

Traceback (most recent call last):
File “crdesigner/input_output/gui/commonroad_scenario_designer_gui.py”, line 20, in
from crdesigner.input_output.gui.converter_modules.osm_interface import OSMInterface
File “/home/anaconda3/envs/cr37/lib/python3.7/site-packages/commonroad_scenario_designer-0.2-py3.7.egg/crdesigner/input_output/gui/converter_modules/osm_interface.py”, line 13, in
from crdesigner.map_conversion.osm2cr.converter_modules.cr_operations import export
File “/home/anaconda3/envs/commonroad/lib/python3.7/site-packages/commonroad_scenario_designer-0.2-py3.7.egg/crdesigner/map_conversion/osm2cr/converter_modules/cr_operations/export.py”, line 13, in
from crdesigner.map_conversion.osm2cr.converter_modules.intermediate_operations.intermediate_format import
ModuleNotFoundError: No module named ‘crdesigner.map_conversion.osm2cr.converter_modules.intermediate_operations’

Thanks!

Hi,

thank you for using our CommonRoad Scenario Designer.

I just published a new release (version 0.3) which should fix this error.
Please uninstall your current version and install the latest.

Best,
Sebastian

yap, I will check the new version. And I also solved it by exporting PYTHONPATH today:) !
Thank you so much!

Hello, when I was trying on your tutorial CommonRoad part 7. CommonRoad to SUMO

There’s always errors show up when executing these two lines

converter = CR2SumoMapConverter(scenario.lanelet_network, config)
converter.convert_to_net_file(output_folder)

I think it should be

converter = CR2SumoMapConverter(scenario, config)
converter.create_sumo_files(output_folder)

am I correct? Thanks! :slight_smile:

Yes, you’re right.
I forgot to update the jupyter notebook :wink:
Thank you for notifying!
I will update it in the next days.
The conversion example here is already updated.

1 Like

Hello everyone,
I tried to install it from git and I found this error…

" from crdesigner.ui.gui.gui import start_gui_new
ModuleNotFoundError: No module named ‘crdesigner’. "

can you give some solution ASAP?

thank you !!

How do you execute the scenario designer?
From command line or via the Python script?

I tried to execute with both but now i got other error.

i installed SUMO with pip and also tried with sudo but same case.

Can you upload the complete error traceback?
From what I can see in the picture, the error is not related to the SUMO warning at the beginning.

The warning indicates that SUMO cannot be found, e.g., the Python path is wrongly configured or you haven’t installed SUMO itself (SUMO cannot be installed via pip).
However, it should also work without a correctly-installed version of SUMO.

hello,

the problem is argument mismatch for launching GUI via python command line.

but also I can convert maps but the problem is only GUI.

yes, I got only this error and its full message.

thank you.

Unfortunately, I cannot reproduce the error.

Does this occur directly when you execute the command python start_gui.py or after you perform some action in the GUI?