replace line 983 of gluon/widget.py with

if len(apps) == 1 and not options.with_scheduler:

Il giorno venerdì 28 settembre 2012 15:23:04 UTC+2, Niphlod ha scritto:
>
> Oops, my bad, I'll send a patch to Massimo in the next few hours. Right 
> now just start the scheduler process outside the main web2py.py process (no 
> -X option, it has a problem.)
>
> Il giorno venerdì 28 settembre 2012 06:54:58 UTC+2, mweissen ha scritto:
>>
>> After starting 
>>
>> python.exe web2py.py -a abc -K secure -X
>>
>> I get this message:
>>
>> Traceback (most recent call last):
>>   File "H:\web2py\gluon\shell.py", line 224, in run
>>     exec(python_code, _env)
>>   File "<string>", line 1, in <module>
>>   File "H:\web2py\gluon\scheduler.py", line 506, in loop
>>     signal.signal(signal.SIGTERM, lambda signum, stack_frame: sys.exit(1))
>> ValueError: signal only works in main thread
>>
>>
>>
>> Trunk version 2.0.9 (2012-09-26 12:45:50) stable
>>
>> What does it mean? 
>> Regards, Martin
>>
>

-- 



Reply via email to