Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upgdal2tiles --version crashes after printing version #2096
Labels
Comments
The cause is one line higher up, in gdal/gdal/swig/python/scripts/gdal2tiles.py Line 2921 in d7a5cd4 gdal.GeneralCmdLineProcessor returns None if you pass "--version ". I have no idea what that function does and how it is supposed to work. There does not seem to be documentation for it.
Other bundled Python scripts https://github.com/OSGeo/gdal/search?q=GeneralCmdLineProcessor&unscoped_q=GeneralCmdLineProcessor check for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See below; version 2.4.2 from the ubuntugis ppa.
Expected output is just the version information, no crash.
Coming from
gdal/gdal/swig/python/scripts/gdal2tiles.py
Line 2922 in d7a5cd4