[GRASS-dev] missing win32file module for wingrass wxgrass?

Gerald Nelson gnelson at uiuc.edu
Mon Jan 28 17:43:04 EST 2008


Here's the process I went through
- downloaded the wx gui code from trunk
- placed it in the etc directory (not the gui directory)
- moved the script to the right place
- added python25 to the msys path. It's not there by default
- started grass63 from inside msys
- the tcltk gui starts
- from msys command line type wxgrass
- get the following error

Traceback (most recent call last):
  File "c:/grass63RC4/grass-6.3.0RC4/etc/wx/wxgui.py", line 53, in <module>
    import gui_modules.utils as utils
  File "c:\grass63RC4\grass-6.3.0RC4\etc\wx\gui_modules\utils.py", line 23,
in <module>
    import gcmd
  File "c:\grass63RC4\grass-6.3.0RC4\etc\wx\gui_modules\gcmd.py", line 35,
in <module>
    from win32file import ReadFile, WriteFile
ImportError: No module named win32file

Where should this be? 

Jerry

-----Original Message-----
From: neteler.osgeo at gmail.com [mailto:neteler.osgeo at gmail.com] On Behalf Of
Markus Neteler
Sent: Sunday, January 27, 2008 9:29 AM
To: Gerald Nelson
Cc: GRASS developers list
Subject: Re: [GRASS-dev] wxPython gui and winGrass

On Jan 27, 2008 4:15 PM, Gerald Nelson <gnelson at uiuc.edu> wrote:
> I lost track of the status of the wxPython gui in winGrass in all the
emails of the past two weeks. Does the latest winGrass snapshot include it?

Gerald,

it doesn't. The reason is that the RC branch does not include it
since it was branched off sime time ago (and the backporting
effort is too much).

AFAIK you could just copy over the wxPython gui from "trunk"
gui/wxpython/
and run it on MS-Windows since it does not contain pre-compiled
code.

Markus



More information about the grass-dev mailing list