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

Polygonize (Raster to Vector) fails when saving to temporary file #56588

Closed
2 tasks done
sokolic opened this issue Feb 28, 2024 · 2 comments
Closed
2 tasks done

Polygonize (Raster to Vector) fails when saving to temporary file #56588

sokolic opened this issue Feb 28, 2024 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@sokolic
Copy link

sokolic commented Feb 28, 2024

What is the bug or the crash?

The Polygonize (Raster to Vector) tool fails when the output (Vectorized) is set to [Save to temporary file].

The script gdal_polygonize.py fails with the message AttributeError: 'NoneType' object has no attribute 'CreateLayer'. The script does not crash when an output file name is specified.

Steps to reproduce the issue

  1. Open the tool Raster > Conversion > Polygonize (Raster to Vector)
  2. Select an input layer
  3. Leave Vectorized as [Save to temporary file]
  4. Click Run

Versions

QGIS version 3.36.0-Maidenhead QGIS code revision 09951dc
Qt version 5.15.10
Python version 3.11.6
GDAL/OGR version 3.7.1
PROJ version 9.2.1
EPSG Registry database version v10.088 (2023-05-13)
GEOS version 3.12.0-CAPI-1.18.0
SQLite version 3.42.0
PostgreSQL client version 15.5 (Ubuntu 15.5-0ubuntu0.23.10.1)
SpatiaLite version 5.1.0
QWT version 6.1.4
QScintilla2 version 2.14.1
OS version Ubuntu 23.10
       
Active Python plugins
quick_map_services 0.19.34
SpreadsheetLayers 2.1.1
slyr_community 5.0.0
rename_bands 0.1
grassprovider 2.12.99
db_manager 0.1.20
processing 2.12.99
MetaSearch 0.3.6

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@sokolic sokolic added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Feb 28, 2024
@sokolic sokolic changed the title Polygonize (Raster to Vector) Polygonize (Raster to Vector) fails when saving to temporary file Feb 28, 2024
@sokolic
Copy link
Author

sokolic commented Feb 28, 2024

image

@sokolic
Copy link
Author

sokolic commented Feb 28, 2024

I created a new profile and this has resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant