[GRASS-dev] WinGrass65 + import gui_modules.nviz_tools as nviz_tools: ImportError

Helmut Kudrnovsky hellik at web.de
Thu Jun 3 18:34:09 EDT 2010


hi,

>----Ursprüngliche Nachricht-----
>Von: Martin Landa
>
>probably yes, I will do some testing in trunk (ctypes are currently
>available only in trunk).

I've tested it with WinGRASS-7.0.SVN-r42451-1-Setup.exe (nightly build) and the nc-sample-dataset.

the 3d-view-tab is opened in the layer manager, but i get following error message:

Exception in thread Thread-10:
Traceback (most recent call last):
 File "C:\OSGeo4W\apps\Python25\lib\threading.py", line
486, in __bootstrap_inner
 self.run()
 File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui_modules/nviz_mapdisp.py", line
61, in run
 self._display = wxnviz.Nviz(self.log)
 File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui_modules/wxnviz.py", line 43, in
__init__
 G_gisinit("")
NameError: global name 'G_gisinit' is not defined
Exception
exceptions
.
AttributeError
:
'data'
 in
<bound method Nviz.__del__ of <gui_modules.wxnviz.Nviz
object at 0x048F8C50>>
 ignored
Traceback (most recent call last):
 File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui_modules/toolbars.py", line 284,
in OnSelectTool
 File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui_modules/mapdisp.py", line 426,
in AddToolbar
 File "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32/etc/gui/wxpython/gui_modules/nviz_mapdisp.py", line
168, in OnPaint
AttributeError
:
'NoneType' object has no attribute 'InitView'



it seems the path is hard-coded to "c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
mingw32" and doesn't reflect the actual installation path "C:\Program Files\GRASS-70-SVN".

best regards
Helmut
___________________________________________________________
NEU: WEB.DE DSL für 19,99 EUR/mtl. und ohne Mindest-Laufzeit!
http://produkte.web.de/go/02/


More information about the grass-dev mailing list