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

Raster | Miscellaneous | Build Virtual Raster produces "RuntimeError: wrapped C/C++ object of type QCheckBox has been deleted " #23319

Closed
qgib opened this issue Aug 3, 2016 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Plugins

Comments

@qgib
Copy link
Contributor

qgib commented Aug 3, 2016

Author Name: Frank Bilki (Frank Bilki)
Original Redmine Issue: 15389
Affected QGIS version: 2.16.1
Redmine category:python_plugins


I am assembling Landsat images into multispectral files by building virtual rasters for each scene.

There is a certain combination of options on the Build Virtual Raster dialog that always produces an error. On two different Linux Mint 17.3 machines, QGIS displays the following error when I run the function:

An error has occurred while executing Python code:

RuntimeError: wrapped C/C++ object of type QCheckBox has been deleted 
Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/GdalTools/tools/doBuildVRT.py", line 110, in switchLayerMode
    enableInputFiles = not self.inputSelLayersCheck.isChecked()
RuntimeError: wrapped C/C++ object of type QCheckBox has been deleted


Python version: 2.7.6 (default, Jun 22 2015, 18:01:27) [GCC 4.8.2] 
QGIS version: 2.16.1-Nødebo Nødebo, 8545b3b 

Python Path:
/usr/share/qgis/python/plugins/processing
/usr/share/qgis/python
/home/xxx/.qgis2/python
/home/xxx/.qgis2/python/plugins
/usr/share/qgis/python/plugins
/usr/local/lib/python2.7/dist-packages/lidar2dems-1.1.0a1-py2.7.egg
/usr/local/lib/python2.7/dist-packages/Fiona-1.6.2-py2.7-linux-x86_64.egg
/usr/local/lib/python2.7/dist-packages/Shapely-1.5.12-py2.7-linux-x86_64.egg
/usr/local/lib/python2.7/dist-packages/click_plugins-1.0.2-py2.7.egg
/usr/local/lib/python2.7/dist-packages/cligj-0.3.0-py2.7.egg
/usr/local/lib/python2.7/dist-packages/click-5.1-py2.7.egg
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7
/usr/lib/python2.7/plat-x86_64-linux-gnu
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/PILcompat
/usr/lib/python2.7/dist-packages/gtk-2.0
/usr/lib/pymodules/python2.7
/usr/lib/python2.7/dist-packages/ubuntu-sso-client
/home/xxx/.qgis2//python

On Windows 10, QGIS crashes on exit, with a minidump (attached).

As far as I can tell, it was introduced in the .1 release, so it looks like a regression.


@qgib
Copy link
Contributor Author

qgib commented Aug 3, 2016

Author Name: Frank Bilki (Frank Bilki)


  • 10272 was configured as 2016-08-04_12-32-17.png

@qgib
Copy link
Contributor Author

qgib commented Aug 3, 2016

Author Name: Frank Bilki (Frank Bilki)


Forgot to say that the attached screenshot shows the parameter values on the Virtual Raster dialog.

@qgib
Copy link
Contributor Author

qgib commented Sep 12, 2016

Author Name: Pedro Venâncio (Pedro Venâncio)


I confirm this error on QGIS 2.16.2 (Windows 10 - OSGeo4W 64 bits).

@qgib
Copy link
Contributor Author

qgib commented Sep 28, 2016

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "dedf4a5ac69fdb19b5148cc98a4e6f9f35e7b78e".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins Crash/Data Corruption labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
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! Crash/Data Corruption Plugins
Projects
None yet
Development

No branches or pull requests

1 participant