qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.31k stars 2.96k forks source link

QGIS Model Builder - Error with saving file outputs in batch mode #57928

Closed astuartmiller closed 3 weeks ago

astuartmiller commented 2 months ago

What is the bug or the crash?

image image

When I run this as a temporary layer output it works fine. However, when I batch the process I get an error stating that the files were not created correctly. I am saving to a file path with no spaces, and have tried .shp and gpkg with the same results

Steps to reproduce the issue

Yes, a third party plugin was involved, but sections of the model that do not include the model are producing the same error. Removing the third party plugin also does not fix the error. This error does not appear if you check "open layers on completion", or you output only to temporary layers. The issue does not present when copy the model into a script and running it.

Versions

QGIS version | 3.36.3-Maidenhead

Supported QGIS version

New profile

Additional context

Another user seems to have the same error on stackexchange: https://gis.stackexchange.com/questions/467219/attributeerror-in-qgis-model-during-batchmode-processing

No response

nyalldawson commented 2 months ago

Please test with 3.38.0, this should be fixed.

github-actions[bot] commented 1 month ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

github-actions[bot] commented 3 weeks ago

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. Or, if you have any further questions, there are also further support channels that can help you.