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

[Bug] r.in.wms gives FutureWarning about GDAL and exceptions #5007

Open
wenzeslaus opened this issue Jan 29, 2025 · 0 comments
Open

[Bug] r.in.wms gives FutureWarning about GDAL and exceptions #5007

wenzeslaus opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers Python Related code is in Python
Milestone

Comments

@wenzeslaus
Copy link
Member

Describe the bug

Running the r.in.wms tools produces a warning about not calling gdal.UseExceptions() or gdal.DontUseExceptions() explicitly.

/usr/lib/python3/dist-packages/osgeo/gdal.py:312: FutureWarning:
Neither gdal.UseExceptions() nor gdal.DontUseExceptions() has been explicitly called.
In GDAL 4.0, exceptions will be enabled by default.
  warnings.warn(

To reproduce

Use one of the examples in the r.in.wms documentation.

Expected behavior

No warning, but I didn't investigate what exception behavior is appropriate.

System description

  • GRASS GIS version: main branch
@wenzeslaus wenzeslaus added bug Something isn't working good first issue Good for newcomers Python Related code is in Python labels Jan 29, 2025
@wenzeslaus wenzeslaus added this to the 8.5.0 milestone Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers Python Related code is in Python
Projects
None yet
Development

No branches or pull requests

1 participant