#2243 closed defect (fixed)
wxGUI: raster importer single file GdalImportDialog crash after import
Reported by: | neteler | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | wxGUI | Version: | svn-releasebranch70 |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
When using File -> import raster -> single file. it imports but does not complete the job:
r.in.gdal input=/home/alba/grassdata/dtm_2007/mosaik_dtm_s_michele_1m_UTM32N.tif output=mosaik_dtm_s_michele_1m_UTM32N Raster map <mosaik_dtm_s_michele_1m_UTM32N> created. r.in.gdal complete. (Fri Apr 4 11:07:30 2014) Command finished (39 sec) Traceback (most recent call last): File "/home/alba/source_code/grass70_release/dist.x86_64 -unknown-linux-gnu/etc/gui/wxpython/core/gconsole.py", line 627, in OnCmdDone event.onDone(cmd=event.cmd, returncode=event.returncode) File "/home/alba/source_code/grass70_release/dist.x86_64 -unknown-linux-gnu/etc/gui/wxpython/gui_core/dialogs.py", line 1752, in AddLayers if not self.add.IsChecked() or returncode != 0: File "/usr/lib/python2.7/dist- packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14615, in __getattr__ raise PyDeadObjectError(self.attrStr % self._name) wx._core . PyDeadObjectError : The C++ part of the GdalImportDialog object has been deleted, attribute access no longer allowed. System Info GRASS version: 7.0.0svn GRASS SVN Revision: 59559 Build Date: 2014-04-02 Build Platform: x86_64-unknown-linux-gnu GDAL/OGR: 1.10.0 PROJ.4: 4.8.0 GEOS: 3.3.8 SQLite: 3.7.9 Python: 2.7.3 wxPython: 2.8.12.1 Platform: Linux-3.8.0-37-generic-x86_64-with-Ubuntu-12.04-precise }}}
Change History (5)
follow-up: 2 comment:1 by , 11 years ago
comment:2 by , 11 years ago
Replying to annakrat:
Does this happen only when you close the dialog before r.in.gdal is complete?
Right, I checked the box for "Close window then finished" (or similar wording).
The error means that it tries to add the imported layers but it can't access the attributes of the dialog because the dialog doesn't exist any more.
I see, guess that it is what's happening.
follow-up: 5 comment:4 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Does this happen only when you close the dialog before r.in.gdal is complete? The error means that it tries to add the imported layers but it can't access the attributes of the dialog because the dialog doesn't exist any more.