[GRASSGUI] wxgrass: don't use unix only modules

Moritz Lennert mlennert at club.worldonline.be
Thu Nov 1 21:50:05 EDT 2007


Hello,

Trying to run wxgrass under windows, I get the following error:
    import gcmd
  File "c:\grass\grass-6.3.cvs\etc\wx\gui_modules\gcmd.py", line 22, in
<module>

    import fcntl
ImportError: No module named fcntl

And checking on the Python website, I see:


16.10 fcntl -- The fcntl() and ioctl() system calls

Availability: Unix.

Please make sure that all the modules used in wxgrass are cross-platform.

Moritz




More information about the grass-gui mailing list