[GRASS-dev] [GRASS GIS] #2003: wxGUI carto composer: traceback on exit

#2003: wxGUI carto composer: traceback on exit
-----------------------------------+----------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: cartographic composer | Platform: Linux
      Cpu: x86-64 |
-----------------------------------+----------------------------------------
Hi,

I notice a traceback when exiting the wx cartographic composer.

{{{
Traceback (most recent call last):
   File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 1342, in
Notify

self.notify()
   File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14716, in
Notify

self.result = self.callable(*self.args, **self.kwargs)
   File "/home/hamish/src/grass/svn/relbr_6_4/dist.x86_64
-unknown-linux-gnu/etc/wxpython/psmap/frame.py", line 371,
in <lambda>

wx.CallLater(4000, lambda: self.SetStatusText("", 0))
   File "/usr/lib64/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14564, in
__getattr__

raise PyDeadObjectError(self.attrStr % self._name)
wx._core
.
PyDeadObjectError
:
The C++ part of the PsMapFrame object has been deleted,
attribute access no longer allowed.
}}}

steps: start g.gui, select carto composer, make a map box, select a vector
map (I chose a points map from PERMANENT), preview ">", then close the
composer using the button on the far right. After a second the traceback
then appears in the wxgui output tab. (sometimes I have to do that 2-3
times for it to show up)

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2003&gt;
GRASS GIS <http://grass.osgeo.org>

#2003: wxGUI carto composer: traceback on exit
-----------------------------------+----------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: cartographic composer | Platform: Linux
      Cpu: x86-64 |
-----------------------------------+----------------------------------------

Comment(by annakrat):

Should be fixed in r56799 in grass 7. Please test.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2003#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2003: wxGUI carto composer: traceback on exit
-----------------------------------+----------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Keywords: cartographic composer | Platform: Linux
      Cpu: x86-64 |
-----------------------------------+----------------------------------------

Comment(by hamish):

Replying to [comment:1 annakrat]:
> Should be fixed in r56799 in grass 7. Please test.

I tried applying the patch by hand in a linux 6.4.3svn build:

ran it twice without the patch, got the error both times; ran 5 times with
the patch, no errors.

problem seems solved. thanks.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2003#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2003: wxGUI carto composer: traceback on exit
---------------------+------------------------------------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: cartographic composer
  Platform: Linux | Cpu: x86-64
---------------------+------------------------------------------------------
Changes (by annakrat):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:2 hamish]:
> Replying to [comment:1 annakrat]:
> > Should be fixed in r56799 in grass 7. Please test.
>
> I tried applying the patch by hand in a linux 6.4.3svn build:
>
> ran it twice without the patch, got the error both times; ran 5 times
with the patch, no errors.
>
> problem seems solved. thanks.

backported in r56811-2.

>
>
> Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2003#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>