[GRASS-dev] temporal framework currently not working on windows
Martin Landa
landa.martin at gmail.com
Thu Nov 27 02:42:10 PST 2014
2014-11-26 21:15 GMT+01:00 Anna Petrášová <kratochanna at gmail.com>:
> I just realized temporal framework doesn't work with recent GRASS 70 version
> on Windows:
> t.list or t.create give me:
[...]
> File "C:\GRASS70\GRASS GIS
> 7.0.0svn\Python27\lib\multiprocessing\forking.py", line 258,
> in __init__
> cmd = get_command_line() + [rhandle]
> File "C:\GRASS70\GRASS GIS
> 7.0.0svn\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.
> This probably means that you are on Windows and
> you have
> forgotten to use the proper idiom in the main
> module:
> if __name__ == '__main__':
> freeze_support()
> ...
> The "freeze_support()" line can be omitted if
> the program
> is not going to be frozen to produce a Windows
> executable.
see also [1].
Martin
[1] http://trac.osgeo.org/grass/ticket/580#comment:60
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa
More information about the grass-dev
mailing list