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

Switching between WMS info-output formats throws: CRITICAL QTableWidget: cannot insert an item that is already owned by another QTableWidget #37215

Closed
rduivenvoorde opened this issue Jun 15, 2020 · 0 comments
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@rduivenvoorde
Copy link
Contributor

Loading a WMS layer, activating the i-tool and showing info of an object from the WMS layer shows
a big red error in the message bar,

Screenshot-20200615062432-748x93

and "CRITICAL Qt : QTableWidget: cannot insert an item that is already owned by another QTableWidget"
in the Log Messages.

To reproduce

https://geodata.nationaalgeoregister.nl/bevolkingskernen2008/ows?SERVICE=WMS&
I load layer nr 2 in EPSG:28992 and click i-tool

Now click one of the object, will default to for example html or feature output, which are both fine!
NOW switch to 'Text' output. you will see the 'critical'-message.

Every time you switch to html/feature and then back to Text it will be shown.

QGIS version 3.13.0-Master QGIS code revision 3ef7d89
Compiled against Qt 5.12.5 Running against Qt 5.12.5
Compiled against GDAL/OGR 3.0.4 Running against GDAL/OGR 3.0.4
Compiled against GEOS 3.8.1-CAPI-1.13.3 Running against GEOS 3.8.1-CAPI-1.13.3
Compiled against SQLite 3.31.1 Running against SQLite 3.31.1
PostgreSQL Client Version 12.3 (Debian 12.3-1+b1) SpatiaLite Version 4.3.0a
QWT Version 6.1.4 QScintilla2 Version 2.11.2
Compiled against PROJ 7.0.1 Running against PROJ Rel. 7.0.1, May 1st, 2020
OS Version Debian GNU/Linux bullseye/sid This copy of QGIS writes debugging output.
@rduivenvoorde rduivenvoorde added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jun 15, 2020
@gioman gioman added the Data Provider Related to specific vector, raster or mesh data providers label Jun 15, 2020
@rouault rouault self-assigned this Sep 15, 2020
rouault added a commit to rouault/QGIS that referenced this issue Sep 15, 2020
… cannot insert an item that is already owned by another QTableWidget' (fixes qgis#37215)
qgis-bot pushed a commit to qgis-bot/QGIS that referenced this issue Sep 15, 2020
… cannot insert an item that is already owned by another QTableWidget' (fixes qgis#37215)
nyalldawson pushed a commit to nyalldawson/QGIS that referenced this issue Oct 5, 2020
… cannot insert an item that is already owned by another QTableWidget' (fixes qgis#37215)

(cherry picked from commit 079f340)
nyalldawson pushed a commit that referenced this issue Oct 23, 2020
… cannot insert an item that is already owned by another QTableWidget' (fixes #37215)

(cherry picked from commit 079f340)
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! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

3 participants