[GRASS-dev] temporal framework currently not working on windows
soerengebbert at googlemail.com
Thu Nov 27 07:56:46 PST 2014
Unfortunately i have no idea. I did not found good information about
when and how exactly these decorators are processed.
So my guess was that (because of the backtrace) the decorator function
is somehow analyzed at import time and the messenger process gets
So maybe the difference is that the must_be_open method is analyzed
later or that the messenger function is in an if statement?
2014-11-27 16:03 GMT+01:00 Pietro <peter.zamb at gmail.com>:
> On Thu, Nov 27, 2014 at 11:38 AM, Sören Gebbert
> <soerengebbert at googlemail.com> wrote:
>> The function decorator code is analysed at import time, which is a
>> bad idea, since the messaging server process get started at import
>> time. This should be avoided on any OS.
> I would like to better understand, this point...
> Why the decorator must_be_open it seems to work so far?
> which is the difference between @must_be_open and @mdebug?
> Any Ideas?
>  http://trac.osgeo.org/grass/browser/grass/trunk/lib/python/pygrass/errors.py
>  http://trac.osgeo.org/grass/browser/grass/trunk/lib/python/pygrass/modules/interface/module.py#L26
More information about the grass-dev