[GRASS-dev] wxGUI G70: vector network tool - PyDeadObjectError

Hi,

I tried to use the nice vector network tool in GRASS 7 relbranch but
(not always) when digitizing a point it refuses to do so with this
error:

Traceback (most recent call last):
  File "/home/neteler/software/grass70/dist.x86_64-unknown-
linux-gnu/gui/wxpython/gui_core/toolbars.py", line 177, in
OnTool

self.toolSwitcher.ToolChanged(event.GetId())
  File "/home/neteler/software/grass70/dist.x86_64-unknown-
linux-gnu/gui/wxpython/gui_core/toolbars.py", line 339, in
ToolChanged

if tb.FindById(tl): # check if still exists
  File "/usr/lib64/python2.7/site-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14606, in
__getattr__

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

The error message looks similar to that reported in #2243.

Markus

On Tue, May 27, 2014 at 7:16 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi,

I tried to use the nice vector network tool in GRASS 7 relbranch but
(not always) when digitizing a point it refuses to do so with this
error:

Should be fixed in r60592,3 but please try it.

Anna

Traceback (most recent call last):
  File "/home/neteler/software/grass70/dist.x86_64-unknown-
linux-gnu/gui/wxpython/gui_core/toolbars.py", line 177, in
OnTool

self.toolSwitcher.ToolChanged(event.GetId())
  File "/home/neteler/software/grass70/dist.x86_64-unknown-
linux-gnu/gui/wxpython/gui_core/toolbars.py", line 339, in
ToolChanged

if tb.FindById(tl): # check if still exists
  File "/usr/lib64/python2.7/site-
packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14606, in
__getattr__

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

The error message looks similar to that reported in #2243.

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Hi Anna,

On Fri, May 30, 2014 at 3:52 AM, Anna Petrášová <kratochanna@gmail.com> wrote:

On Tue, May 27, 2014 at 7:16 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi,

I tried to use the nice vector network tool in GRASS 7 relbranch but
(not always) when digitizing a point it refuses to do so with this
error:

Should be fixed in r60592,3 but please try it.

Anna

wonderful, the vector network analysis tool works fine now.

Markus