hi 
how and where use from "python web2py.py -K myapp" to start scheduler in 
pycharm (windows) . i use from "http://127.0.0.1:8000/main"; to run my 
program .

On Monday, December 9, 2013 at 11:32:52 AM UTC+3:30, Niphlod wrote:
>
> uhm....what happens if you start it with
> web2py.py -K verificationdemo -D 0 
> ?
> (all lowercase)
>
> On Sunday, December 8, 2013 3:09:38 AM UTC+1, Massimo Mascaro wrote:
>>
>> Thanks a lot for the super quick answer! After reading your post I did 
>> try to create an empty model named scheduler.py and indeed the widget now 
>> allows me to start a worker for my app, so this does solve my issue!
>> One thing that confuses me is that when I start the source version in 
>> windows with the -K option I get still the widget popping up and no worker 
>> is automatically started. If I try to pass the -K option to the windows 
>> executable instead, after I created the model scheduler.py, I indeed get 
>> the worker to start and to behave correctly.
>>
>> Using the -K version on the executable I am also able to start multiple 
>> workers now, so I'm really in business. I'd still like to know why the 
>> source version does not behave as expected though:in my case passing the -K 
>> option it just goes straight to the widget as if I didn't pass any option:
>>
>> C:\web2py_src\web2py>web2py.py -K VerificationDemo -D0
>> No handlers could be found for logger "web2py"
>> web2py Web Framework
>> Created by Massimo Di Pierro, Copyright 2007-2013
>> Version 2.8.2-stable+timestamp.2013.11.28.13.54.07
>> Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
>> PostgreSQL(pg8000), MSSQL(py
>>
>>
>> Maybe I'm missing something else?
>> Again thanks, I'm unblocked for now! :)
>>
>> Massimo
>>
>> On Saturday, December 7, 2013 5:00:09 AM UTC-8, Niphlod wrote:
>>>
>>> just tried on windows and it works.....
>>> can you post additional details on how are you starting the scheduler 
>>> and what happens ?
>>> also, are you using the source version or the binary ?
>>>
>>> BTW: can you try starting it with
>>> web2py.py -K appname -D 0
>>> to see if there are additional details ?
>>>
>>> On Saturday, December 7, 2013 1:51:38 PM UTC+1, Niphlod wrote:
>>>>
>>>> uhm. I'll try and report back.
>>>> BTW: the menu works only if you have a model called scheduler.py: it's 
>>>> a convention if you want to use the menu because the widget can't know in 
>>>> advance if an app has a scheduler or not.
>>>>
>>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to