[GRASS-dev] [GRASS GIS] #580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run

GRASS GIS trac at osgeo.org
Wed Nov 26 09:42:58 PST 2014


#580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev@…              
      Type:  defect        |      Status:  reopened                 
  Priority:  blocker       |   Milestone:  7.0.0                    
 Component:  wxGUI         |     Version:  svn-trunk                
Resolution:                |    Keywords:  wingrass                 
  Platform:  MSWindows XP  |         Cpu:  Unspecified              
---------------------------+------------------------------------------------

Comment(by martinl):

 Replying to [comment:57 martinl]:
 > Replying to [comment:55 hellik]:
 > > suggest to close the ticket as scripts are now working in winGRASS. at
 least downgrading priority if ticket should stay open.
 >
 > before that we need to fix makefiles to produce also bat files from
 `g.gui.*` modules and GUI scripts (see my comment above).

 done in r62956, but it's not working - attempt to launch `g.gui.animation`
 from cmdline:

 {{{
 C:\>Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "C:\OSGEO4~1\apps\Python27\lib\multiprocessing\forking.py", line
 381, in
 main
     self = load(from_parent)
   File "C:\OSGEO4~1\apps\Python27\lib\pickle.py", line 1378, in load
     return Unpickler(file).load()
   File "C:\OSGEO4~1\apps\Python27\lib\pickle.py", line 858, in load
     dispatch[key](self)
   File "C:\OSGEO4~1\apps\Python27\lib\pickle.py", line 1090, in
 load_global
     klass = self.find_class(module, name)
   File "C:\OSGEO4~1\apps\Python27\lib\pickle.py", line 1124, in find_class
     __import__(module)
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\temporal\__init__.
 py", line 28, in <module>
     from temporal_algebra import *
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\temporal\temporal_
 algebra.py", line 450, in <module>
     import grass.pygrass.modules as pymod
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\__
 init__.py", line 2, in <module>
     from grass.pygrass.modules.interface import Module,
 ParallelModuleQueue
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\in
 terface\__init__.py", line 9, in <module>
     from grass.pygrass.modules.interface import module
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\in
 terface\module.py", line 297, in <module>
     class Module(object):
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\in
 terface\module.py", line 700, in Module
     @mdebug(1, extra=_get_bash)
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\modules\in
 terface\module.py", line 36, in mdebug
     msgr = get_msgr()
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\messages\_
 _init__.py", line 352, in get_msgr
     _instance[0] = Messenger(*args, **kwargs)
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\messages\_
 _init__.py", line 175, in __init__
     self.start_server()
   File
 "C:\OSGEO4~1\apps\grass\grass-7.1.svn\etc\python\grass\pygrass\messages\_
 _init__.py", line 185, in start_server
     self.server.start()
   File "C:\OSGEO4~1\apps\Python27\lib\multiprocessing\process.py", line
 130, in
 start
     self._popen = Popen(self)
   File "C:\OSGEO4~1\apps\Python27\lib\multiprocessing\forking.py", line
 258, in
 __init__
     cmd = get_command_line() + [rhandle]
   File "C:\OSGEO4~1\apps\Python27\lib\multiprocessing\forking.py", line
 358, in
 get_command_line
     is not going to be frozen to produce a Windows executable.''')
 RuntimeError:
             Attempt to start a new process before the current process
             has finished its bootstrapping phase.
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/580#comment:60>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list