allow starting sumo-gui and netedit from the command line using certain flags without needing to specify a network or config
starting sumo-gui or netedit only with the --window-size or --window-pos flags will open it correctly, but show the following messages:
netedit Message Window:
Error: No nodes loaded.
Error: Failed to build network.
sumo-gui Message Window:
Error: No network file (-n) specified.
Quitting (on error).
Status line: Loading of '' failed!
I don't want to specify any configuration or network file to be opened, I just want a fresh new instance with the given window size
see also #12681
eff3494 introduced several problems especially
- the GUI not finishing anymore when an error occurred on config parsing with quit-on-end being active
- no proper error message on starting sumo without a network
so I am going to revert it.
Thanks for raising this issue. I met the same error
Error: No nodes loaded.
Error: Failed to build network.
when running the following command:
netedit -n <network>.net.xml
Thanks for raising this issue. I met the same error
Error: No nodes loaded. Error: Failed to build network.
when running the following command:
netedit -n
.net.xml
This is something completely different: netedit loads the network with option -s (--sumo-net-file) whereas -n is for loading --node-files.
Thanks for raising this issue. I met the same error Error: No nodes loaded. Error: Failed to build network. when running the following command: netedit -n .net.xml
This is something completely different: netedit loads the network with option -s (--sumo-net-file) whereas -n is for loading --node-files.
Thanks for your clarification!