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

Helmut Kudrnovsky hellik at web.de
Fri Jun 4 15:25:42 EDT 2010


-----Ursprüngliche Nachricht-----
Von: Glynn Clements 

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

>Helmut Kudrnovsky wrote:
>
>> hi,
> >
> >>----Ursprüngliche Nachricht-----
> >V>on: 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:
>
>>  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
>
>This implies that the grass.lib.grass module wasn't built correctly.

I've build the WinGrass7-installer (r42482) for myself (WinVista32).

WinGrass7 is starting and working (beside the wxnviz), in the windows-command-console I get following:

"Cleaning up temporary files...
Starting GRASS GIS...
WARNUNG: Attention!
WARNUNG: Locking is not supported on Windows!

 __________  ___   __________    _______________
 / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
 / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
 / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
 \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS 7.0.svn (2010)

GRASS homepage:                          http://grass.osgeo.org
This version running through:            shell (C:\Program Files\GRASS-70-SVN\msys\bin\sh.exe)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

GRASS 7.0.svn>
WARNING: Vector digitizer is not available (No module named grass7_wxvdigit).

Note that the vector digitizer is currently not working under MS Windows (hopefully this will be fixed soon). Please keep an eye out for updated versions of GRASS.

WARNING: Nviz extension (3D view mode) disabled. Reason: grass_datetime not found.

GRASS 7.0.svn>"

So the 3d-view-mode seems to be disabled, because grass_datetime isn't found.

The compilation log says, there are no errors:

"GRASS GIS compilation log
-------------------------
Started compilation: Fri Jun  4 16:31:13 GMT 2010
--
Errors in:
No errors detected.
--
Finished compilation: Fri Jun  4 17:36:14 GMT 2010"

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