Bug report #9942

DB Manager related python warning when launching qgis

Added by Giovanni Manghi almost 10 years ago. Updated almost 10 years ago.

Category:DB Manager
Affected QGIS version:2.2.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:18445


warning:/usr/share/qgis/python/plugins/db_manager/layer_preview.py:42: DeprecationWarning: QgsMapCanvas.useImageToRender() is deprecated
self.useImageToRender( settings.value( "/qgis/use_qimage_to_render", False, type=bool ) )

traceback: File "/usr/share/qgis/python/plugins/db_manager/db_manager_plugin.py", line 67, in run
self.dlg = DBManager(self.iface, self.iface.mainWindow())
File "/usr/share/qgis/python/plugins/db_manager/db_manager.py", line 43, in init
File "/usr/share/qgis/python/plugins/db_manager/db_manager.py", line 346, in setupUi
self.preview = LayerPreview(self)

this happens on master/linux

Associated revisions

Revision 480ae45f
Added by Jürgen Fischer almost 10 years ago

remove QgsMapCanvas.useImageToRender in db_manager (fixes #9942)


#1 Updated by Jürgen Fischer almost 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF