Bug report #22034

progress bar never ends for some batch mode operations

Added by Giovanni Manghi 7 months ago. Updated 6 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Processing/Core
Affected QGIS version:3.6.2 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29848

Description

For example the OGR tool to export data in PostGIS.

Actually the operation ends correctly, but the progress bar never reaches 100%.

History

#1 Updated by Nyall Dawson 7 months ago

  • Status changed from Open to Feedback

I think this one is already fixed in master -- can you confirm?

#2 Updated by Giovanni Manghi 6 months ago

  • Status changed from Feedback to Open

Nyall Dawson wrote:

I think this one is already fixed in master -- can you confirm?

I cannot test because of this:

https://issues.qgis.org/issues/22048

also if trying to run the export to postgis (ogr) tool I get a

Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/algs/gdal/GdalAlgorithm.py", line 133, in processAlgorithm
commands = self.getConsoleCommands(parameters, context, feedback, executing=True)
File "/usr/share/qgis/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py", line 210, in getConsoleCommands
uri = uri_from_name(connection)
File "/usr/share/qgis/python/plugins/processing/tools/postgis.py", line 50, in uri_from_name
raise QgsProcessingException(QCoreApplication.translate("PostGIS", 'There is no defined database connection "{0}".').format(conn_name))
_core.QgsProcessingException: There is no defined database connection "".

Also available in: Atom PDF