[GRASS-dev] trunk GUI fails

in trunk r49877 the GUI fails with

Traceback (most recent call last):
  File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/wxgui.py",
line 34, in <module>
    from lmgr.frame import GMFrame
  File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/lmgr/frame.py",
line 43, in <module>
    from lmgr.layertree import LayerTree, LMIcons
  File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/lmgr/layertree.py",
line 35, in <module>
    from mapdisp.frame import MapFrame
  File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/mapdisp/frame.py",
line 38, in <module>
    from vdigit.toolbars import VDigitToolbar
  File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/vdigit/toolbars.py",
line 24, in <module>
    from iclass.digit import IClassIVDigit
  File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/iclass/digit.py",
line 22, in <module>
    from vdigit.wxdigit import IVDigit
  File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/vdigit/wxdigit.py",
line 33, in <module>
    from vdigit.wxdisplay import DisplayDriver, GetLastError
  File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/vdigit/wxdisplay.py",
line 70, in <module>
    errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
NameError: name 'CFUNCTYPE' is not defined

Markus M

On Fri, Dec 23, 2011 at 11:40 AM, Markus Metz
<markus.metz.giswork@googlemail.com> wrote:

in trunk r49877 the GUI fails with

...

import DisplayDriver, GetLastError
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/vdigit/wxdisplay.py",
line 70, in <module>
errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
NameError: name 'CFUNCTYPE' is not defined

Here is some related documentation:
http://docs.python.org/library/ctypes.html#callback-functions

Markus

My bad. I disabled the transform library in my local copy which caused
an import error which in turn was not captured. Re-enabling the
transform lib helped. BTW, I had to revert the GUI to r49809 to get a
meaningful error message. And the transform lib should probably be
removed altogether from trunk because the imagery lib does a better
job at transforming coordinates.

Markus M

On Fri, Dec 23, 2011 at 11:40 AM, Markus Metz
<markus.metz.giswork@googlemail.com> wrote:

in trunk r49877 the GUI fails with

Traceback (most recent call last):
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/wxgui.py",
line 34, in <module>
from lmgr.frame import GMFrame
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/lmgr/frame.py",
line 43, in <module>
from lmgr.layertree import LayerTree, LMIcons
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/lmgr/layertree.py",
line 35, in <module>
from mapdisp.frame import MapFrame
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/mapdisp/frame.py",
line 38, in <module>
from vdigit.toolbars import VDigitToolbar
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/vdigit/toolbars.py",
line 24, in <module>
from iclass.digit import IClassIVDigit
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/iclass/digit.py",
line 22, in <module>
from vdigit.wxdigit import IVDigit
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/vdigit/wxdigit.py",
line 33, in <module>
from vdigit.wxdisplay import DisplayDriver, GetLastError
File "/home/metz/src/grass-7.0.svn/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/vdigit/wxdisplay.py",
line 70, in <module>
errtype = CFUNCTYPE(UNCHECKED(c_int), String, c_int)
NameError: name 'CFUNCTYPE' is not defined

Markus M

Hi,

2011/12/23 Markus Metz <markus.metz.giswork@googlemail.com>:

in trunk r49877 the GUI fails with

in r49880 GUI should not fail. Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa