I can't see passing web2py init from command line with pdb, I try python -m pdb web2py -a 'pwd' -i 127.0.0.1 -p 8001 -R AppName -M
But I just can see the os import, then the rocket server get started. :( Richard On Thu, Feb 26, 2015 at 11:00 AM, Richard <ml.richard.vez...@gmail.com> wrote: > We may have more input here too : > https://groups.google.com/d/msg/web2py/69ji7YH6Ufw/xRaFTBO9W0IJ > > :) > > Richard > > Le jeudi 26 février 2015 10:57:49 UTC-5, Richard a écrit : > >> Though I don't think environnement is defined... >> >> On Thu, Feb 26, 2015 at 10:56 AM, Richard Vézina < >> ml.richard.vez...@gmail.com> wrote: >> >>> I would try to use run_models_in so far it seems that this is the >>> function/method that will generate python import models in compiledapp.py >>> >>> >>> >>> On Thu, Feb 26, 2015 at 10:50 AM, António Ramos <ramstei...@gmail.com> >>> wrote: >>> >>>> dont i have to force it to do >>>> >>>> python web2py.py - S myapp >>>> >>>> at startup ? >>>> >>>> 2015-02-26 15:39 GMT+00:00 Richard Vézina <ml.richard.vez...@gmail.com> >>>> : >>>> >>>>> Things are in gluon/shell.py... >>>>> >>>>> Richard >>>>> >>>>> On Thu, Feb 26, 2015 at 10:08 AM, Richard Vézina < >>>>> ml.richard.vez...@gmail.com> wrote: >>>>> >>>>>> Don't use it :D >>>>>> >>>>>> No, I am kidding... >>>>>> >>>>>> Here settings for python console : https://www.jetbrains.com/ >>>>>> pycharm/help/console-python-console.html >>>>>> >>>>>> I don't how someone can lunch pycharm embed python console with >>>>>> command line web2py option... >>>>>> >>>>>> Another option could be to import web2py stuff once the console is up >>>>>> and running, though I really don't know if this is possible and how. But >>>>>> reading web2py code about command line triggering behaviour and >>>>>> initilization of python interpreter may help to figure out, I guess... >>>>>> >>>>>> Or we can ask Massimo?? >>>>>> >>>>>> :) >>>>>> >>>>>> Richard >>>>>> >>>>>> On Thu, Feb 26, 2015 at 7:41 AM, António Ramos <ramstei...@gmail.com> >>>>>> wrote: >>>>>> >>>>>>> To the ones that use pycharm with web2py. >>>>>>> >>>>>>> How can i interact with my models from the python console ? >>>>>>> >>>>>>> it does not recognize my models. >>>>>>> >>>>>>> >>>>>>> Regards >>>>>>> António >>>>>>> >>>>>>> -- >>>>>>> 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. >>>>>>> >>>>>> >>>>>> >>>>> -- >>>>> 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. >>>>> >>>> >>>> -- >>>> 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. >>>> >>> >>> >> -- > 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. > -- 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.