Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open OSM web wizard on macOS #14842

Closed
jankotschy opened this issue May 8, 2024 · 8 comments
Closed

Can't open OSM web wizard on macOS #14842

jankotschy opened this issue May 8, 2024 · 8 comments

Comments

@jankotschy
Copy link

HI, after following the download process on your website, I can't open OSM web wizard (no problems with netedit and sumo-gui). Could you please help me with this issue?

jankotschy@macbook-air-7 ~ % echo $SUMO_HOME
/opt/homebrew/opt/sumo/share/sumo
jankotschy@macbook-air-7 ~ % python3 osmWebWizard.py
/opt/homebrew/Cellar/python@3.12/3.12.3/Frameworks/Python.framework/Versions/3.12/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users/jankotschy/osmWebWizard.py': [Errno 2] No such file or directory
jankotschy@macbook-air-7 ~ %

SUMO-version: 1.19.0

operating system: macOS Sonoma

@m-kro
Copy link
Contributor

m-kro commented May 8, 2024

The osmWebWizard.py script is in $SUMO_HOME/tools directory. This is mentioned as well in the osmWebwizard tutorial. So please go the tools directory before running the script.

@jankotschy
Copy link
Author

Sorry but how do I do that? I could only get this to "work":

jankotschy@macbook-air-1 ~ % $SUMO_HOME/tools
zsh: permission denied: /opt/homebrew/opt/sumo/share/sumo/tools

@namdre
Copy link
Contributor

namdre commented May 8, 2024

from a directory where you have write permissions, call
$SUMO_HOME/tools/osmWebWizard.py

@jankotschy
Copy link
Author

This pops up then...

jankotschy@macbook-air-1 ~ % $SUMO_HOME/tools/osmWebWizard.py
env: python: No such file or directory

@namdre
Copy link
Contributor

namdre commented May 8, 2024

make sure to install python then: https://www.python.org/

@jankotschy
Copy link
Author

I have it installed, doesn't seem to work...

jankotschy@macbook-air-1 ~ % python3
Python 3.12.3 (v3.12.3:f6650f9ad7, Apr 9 2024, 08:18:47) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

@zihaooo
Copy link

zihaooo commented May 10, 2024

Try this:

cd $SUMO_HOME/tools/

and then

python3 osmWebWizard.py

@jankotschy
Copy link
Author

It works! Thank you so much!

@m-kro m-kro closed this as completed May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants