[web2py] How to run a specific application instead of welcome in Pycharm Pro

2020-01-22 Thread Davidiam
I am using Pycharm Professional for web2py development.  When I create a 
project with an application "XYZ" and I click run, web2py is started and 
goes directly to the "welcome" app, and not the app "XYZ".  I can navigate 
to the application "XYZ", but I would like it to go directly to this app 
when I click the run button.

I see that I can modify the command line for used for running eb2py, but I 
can't find any parameter combination to force it t go directly to the 
application "XYZ".

Does anyone know this can be accomplished without having t modify the code 
or routes.py ?

Thanks in advance!


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/138e6104-0c25-4b86-ae34-553f908da60e%40googlegroups.com.


Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Carlos Costa
Thanks for sharing you experience with py4web, Jim.


Em qua., 22 de jan. de 2020 às 20:04, Kevin Keller 
escreveu:

> The datatables integration for web2py would be super useful. I'm sure we
> could port it over to py4web easily.
>
> I just feel like with all the stuff web2py gave us to get something
> quickly going missing, it'd just another api framework and there are
> fastapi and apistar as well falcon out..
>
> I think having these ease of use stuff back would really hit home and
> would also make it easier to port from web2py.
>
> And we would be pretty much the Jhipster  of the python world no?
>
>
>
> On Wed, 22 Jan 2020, 23:50 Jim S,  wrote:
>
>> Yes, I will post my main utils.py when I have it working better.  I still
>> have to clean up a couple pieces.  It would be up to Massimo if he wanted
>> to add it.  But in response to one of my earlier questions I was told
>> Massimo kept a utility like this out of py4web so people might use better
>> tools like datatables.  And, I doubt my code is 'framework-ready'.  But it
>> could give others insight into how you can work with py4web.
>>
>> Speaking of datatables, I wrote a datatables integration for web2py last
>> summer.  I think I could also add that to my utils.py pretty easily.
>> Actually, the datatables piece would be easier that what I've done writing
>> my own.  Would you use datatables for complete CRUD, or just to list your
>> table for record selection, etc.?
>>
>> Now that you mentioned mtable, I too recall hearing that before, but
>> haven't gotten in to it at all.  Like I said, I haven't jumped in to the
>> client-side javascript much yet, other than jquery.
>>
>> -Jim
>>
>> On Wednesday, January 22, 2020 at 4:31:11 PM UTC-6, Kevin Keller wrote:
>>>
>>> Jim,
>>>
>>> Could your helpers be considered to be added to thr py4web code base?
>>>
>>> If you say you have a sqlform.grid equivalent or something in that
>>> direction?
>>>
>>> I think there was mtable that should take the spot, but haven't seen any
>>> examples yet or at least none thst would replace a sqlform or smartgrid.
>>>
>>> If it is not coming I would probaly consider using datatables js in the
>>> future.
>>>
>>>
>>>
>>>
>>> On Wed, 22 Jan 2020, 21:47 Jim S,  wrote:
>>>
 For me, there is no porting, it is re-writing.  While a lot of the
 capabilities are there in py4web not all are part of py4web.  Due to the
 nature of how things work, a lot of the 'global' structures in web2py have
 to be handled differently in py4web.

 SQLFORM.grid is gone.  FORM replaces SQLFORM but doesn't have all the
 features -
 https://py4web.com/_documentation/static/index.html#chapter-10
 auth_group and auth_membership and auth_permission are gone -
 authentication/authorization have changed -
 https://py4web.com/_documentation/static/index.html#chapter-11

 With those things being what they are, I've been playing with py4web
 for a few days now and really am liking it.  It is crazy fast.  You may
 have to write some more helpers to do some things that web2py did for you,
 but that's half the fun, isn't it?  For instance, I used the grid that
 web2py's SQLFORM.grid provides for lots of listing pages.  py4web doesn't
 have one so I've written a helper that displays  pages the way my app wants
 to see them.

 I believe py4web is going to make it easier to use Vue.js in your
 pages, but I haven't made the just to using Vue yet so I can't really
 comment on that part.

 -Jim

 On Wednesday, January 22, 2020 at 12:33:10 PM UTC-6, Carlos Costa wrote:
>
> Hey Massimo, thanks for the great info.
>
> How about porting apps from web2py to py4web?
>
> What steps would you recommend?
>
> Em qua., 22 de jan. de 2020 às 08:21, AGRogers 
> escreveu:
>
>> OK, thanks. Re reporting errors, I suspect most errors will be due to
>> my ignorance. But thanks for the encouragement.
>>
>> On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro 
>> wrote:
>>
>>> You should use the py4web documentation. Also please report any
>>> error you find.
>>>
>>>
>>> On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:

 Hi

 Is  the documentation for web2py still mostly relevant for py4web?

 Thanks
 Andrew

 On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote:
>
> Should I use Web2py or py4web for a brand new project ?
> What is still missing from py4web  ?
> Can I debug with pycharm ?
> I need all the great authentication I got with web2py :
> Registration,pass change, groups mail, etc.
> smartgreed will be very nice to have or similar.
> Stability ?
> Can it be deployed with nginx  and pg ?
> Thanks
>
> --
>>> Resources:
>>> - http://web2py.com
>>> 

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Kevin Keller
The datatables integration for web2py would be super useful. I'm sure we
could port it over to py4web easily.

I just feel like with all the stuff web2py gave us to get something quickly
going missing, it'd just another api framework and there are fastapi and
apistar as well falcon out..

I think having these ease of use stuff back would really hit home and would
also make it easier to port from web2py.

And we would be pretty much the Jhipster  of the python world no?



On Wed, 22 Jan 2020, 23:50 Jim S,  wrote:

> Yes, I will post my main utils.py when I have it working better.  I still
> have to clean up a couple pieces.  It would be up to Massimo if he wanted
> to add it.  But in response to one of my earlier questions I was told
> Massimo kept a utility like this out of py4web so people might use better
> tools like datatables.  And, I doubt my code is 'framework-ready'.  But it
> could give others insight into how you can work with py4web.
>
> Speaking of datatables, I wrote a datatables integration for web2py last
> summer.  I think I could also add that to my utils.py pretty easily.
> Actually, the datatables piece would be easier that what I've done writing
> my own.  Would you use datatables for complete CRUD, or just to list your
> table for record selection, etc.?
>
> Now that you mentioned mtable, I too recall hearing that before, but
> haven't gotten in to it at all.  Like I said, I haven't jumped in to the
> client-side javascript much yet, other than jquery.
>
> -Jim
>
> On Wednesday, January 22, 2020 at 4:31:11 PM UTC-6, Kevin Keller wrote:
>>
>> Jim,
>>
>> Could your helpers be considered to be added to thr py4web code base?
>>
>> If you say you have a sqlform.grid equivalent or something in that
>> direction?
>>
>> I think there was mtable that should take the spot, but haven't seen any
>> examples yet or at least none thst would replace a sqlform or smartgrid.
>>
>> If it is not coming I would probaly consider using datatables js in the
>> future.
>>
>>
>>
>>
>> On Wed, 22 Jan 2020, 21:47 Jim S,  wrote:
>>
>>> For me, there is no porting, it is re-writing.  While a lot of the
>>> capabilities are there in py4web not all are part of py4web.  Due to the
>>> nature of how things work, a lot of the 'global' structures in web2py have
>>> to be handled differently in py4web.
>>>
>>> SQLFORM.grid is gone.  FORM replaces SQLFORM but doesn't have all the
>>> features -
>>> https://py4web.com/_documentation/static/index.html#chapter-10
>>> auth_group and auth_membership and auth_permission are gone -
>>> authentication/authorization have changed -
>>> https://py4web.com/_documentation/static/index.html#chapter-11
>>>
>>> With those things being what they are, I've been playing with py4web for
>>> a few days now and really am liking it.  It is crazy fast.  You may have to
>>> write some more helpers to do some things that web2py did for you, but
>>> that's half the fun, isn't it?  For instance, I used the grid that web2py's
>>> SQLFORM.grid provides for lots of listing pages.  py4web doesn't have one
>>> so I've written a helper that displays  pages the way my app wants to see
>>> them.
>>>
>>> I believe py4web is going to make it easier to use Vue.js in your pages,
>>> but I haven't made the just to using Vue yet so I can't really comment on
>>> that part.
>>>
>>> -Jim
>>>
>>> On Wednesday, January 22, 2020 at 12:33:10 PM UTC-6, Carlos Costa wrote:

 Hey Massimo, thanks for the great info.

 How about porting apps from web2py to py4web?

 What steps would you recommend?

 Em qua., 22 de jan. de 2020 às 08:21, AGRogers 
 escreveu:

> OK, thanks. Re reporting errors, I suspect most errors will be due to
> my ignorance. But thanks for the encouragement.
>
> On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro 
> wrote:
>
>> You should use the py4web documentation. Also please report any error
>> you find.
>>
>>
>> On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:
>>>
>>> Hi
>>>
>>> Is  the documentation for web2py still mostly relevant for py4web?
>>>
>>> Thanks
>>> Andrew
>>>
>>> On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote:

 Should I use Web2py or py4web for a brand new project ?
 What is still missing from py4web  ?
 Can I debug with pycharm ?
 I need all the great authentication I got with web2py :
 Registration,pass change, groups mail, etc.
 smartgreed will be very nice to have or similar.
 Stability ?
 Can it be deployed with nginx  and pg ?
 Thanks

 --
>> 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

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Jim S
Yes, I will post my main utils.py when I have it working better.  I still 
have to clean up a couple pieces.  It would be up to Massimo if he wanted 
to add it.  But in response to one of my earlier questions I was told 
Massimo kept a utility like this out of py4web so people might use better 
tools like datatables.  And, I doubt my code is 'framework-ready'.  But it 
could give others insight into how you can work with py4web.

Speaking of datatables, I wrote a datatables integration for web2py last 
summer.  I think I could also add that to my utils.py pretty easily.  
Actually, the datatables piece would be easier that what I've done writing 
my own.  Would you use datatables for complete CRUD, or just to list your 
table for record selection, etc.?

Now that you mentioned mtable, I too recall hearing that before, but 
haven't gotten in to it at all.  Like I said, I haven't jumped in to the 
client-side javascript much yet, other than jquery.

-Jim

On Wednesday, January 22, 2020 at 4:31:11 PM UTC-6, Kevin Keller wrote:
>
> Jim,
>
> Could your helpers be considered to be added to thr py4web code base? 
>
> If you say you have a sqlform.grid equivalent or something in that 
> direction? 
>
> I think there was mtable that should take the spot, but haven't seen any 
> examples yet or at least none thst would replace a sqlform or smartgrid. 
>
> If it is not coming I would probaly consider using datatables js in the 
> future. 
>
>
>
>
> On Wed, 22 Jan 2020, 21:47 Jim S, > wrote:
>
>> For me, there is no porting, it is re-writing.  While a lot of the 
>> capabilities are there in py4web not all are part of py4web.  Due to the 
>> nature of how things work, a lot of the 'global' structures in web2py have 
>> to be handled differently in py4web.
>>
>> SQLFORM.grid is gone.  FORM replaces SQLFORM but doesn't have all the 
>> features - https://py4web.com/_documentation/static/index.html#chapter-10
>> auth_group and auth_membership and auth_permission are gone - 
>> authentication/authorization have changed - 
>> https://py4web.com/_documentation/static/index.html#chapter-11
>>
>> With those things being what they are, I've been playing with py4web for 
>> a few days now and really am liking it.  It is crazy fast.  You may have to 
>> write some more helpers to do some things that web2py did for you, but 
>> that's half the fun, isn't it?  For instance, I used the grid that web2py's 
>> SQLFORM.grid provides for lots of listing pages.  py4web doesn't have one 
>> so I've written a helper that displays  pages the way my app wants to see 
>> them.
>>
>> I believe py4web is going to make it easier to use Vue.js in your pages, 
>> but I haven't made the just to using Vue yet so I can't really comment on 
>> that part.
>>
>> -Jim
>>
>> On Wednesday, January 22, 2020 at 12:33:10 PM UTC-6, Carlos Costa wrote:
>>>
>>> Hey Massimo, thanks for the great info.
>>>
>>> How about porting apps from web2py to py4web?
>>>
>>> What steps would you recommend?
>>>
>>> Em qua., 22 de jan. de 2020 às 08:21, AGRogers  
>>> escreveu:
>>>
 OK, thanks. Re reporting errors, I suspect most errors will be due to 
 my ignorance. But thanks for the encouragement. 

 On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro  
 wrote:

> You should use the py4web documentation. Also please report any error 
> you find.
>
>
> On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:
>>
>> Hi
>>
>> Is  the documentation for web2py still mostly relevant for py4web?
>>
>> Thanks
>> Andrew
>>
>> On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote:
>>>
>>> Should I use Web2py or py4web for a brand new project ?
>>> What is still missing from py4web  ?
>>> Can I debug with pycharm ?
>>> I need all the great authentication I got with web2py : 
>>> Registration,pass change, groups mail, etc.
>>> smartgreed will be very nice to have or similar.
>>> Stability ?
>>> Can it be deployed with nginx  and pg ?
>>> Thanks
>>>
>>> -- 
> 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 web...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/web2py/d6c0a99a-42c9-4b04-91ab-56c8ac72b8c4%40googlegroups.com
>  
> 
> .
>
 -- 
 Resources:
 - http://web2py.com
 - http://web2py.com/book (Documentation)
 - http://github.com/web2py/web2py (Source 

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Kevin Keller
Jim,

Could your helpers be considered to be added to thr py4web code base?

If you say you have a sqlform.grid equivalent or something in that
direction?

I think there was mtable that should take the spot, but haven't seen any
examples yet or at least none thst would replace a sqlform or smartgrid.

If it is not coming I would probaly consider using datatables js in the
future.




On Wed, 22 Jan 2020, 21:47 Jim S,  wrote:

> For me, there is no porting, it is re-writing.  While a lot of the
> capabilities are there in py4web not all are part of py4web.  Due to the
> nature of how things work, a lot of the 'global' structures in web2py have
> to be handled differently in py4web.
>
> SQLFORM.grid is gone.  FORM replaces SQLFORM but doesn't have all the
> features - https://py4web.com/_documentation/static/index.html#chapter-10
> auth_group and auth_membership and auth_permission are gone -
> authentication/authorization have changed -
> https://py4web.com/_documentation/static/index.html#chapter-11
>
> With those things being what they are, I've been playing with py4web for a
> few days now and really am liking it.  It is crazy fast.  You may have to
> write some more helpers to do some things that web2py did for you, but
> that's half the fun, isn't it?  For instance, I used the grid that web2py's
> SQLFORM.grid provides for lots of listing pages.  py4web doesn't have one
> so I've written a helper that displays  pages the way my app wants to see
> them.
>
> I believe py4web is going to make it easier to use Vue.js in your pages,
> but I haven't made the just to using Vue yet so I can't really comment on
> that part.
>
> -Jim
>
> On Wednesday, January 22, 2020 at 12:33:10 PM UTC-6, Carlos Costa wrote:
>>
>> Hey Massimo, thanks for the great info.
>>
>> How about porting apps from web2py to py4web?
>>
>> What steps would you recommend?
>>
>> Em qua., 22 de jan. de 2020 às 08:21, AGRogers 
>> escreveu:
>>
>>> OK, thanks. Re reporting errors, I suspect most errors will be due to my
>>> ignorance. But thanks for the encouragement.
>>>
>>> On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro 
>>> wrote:
>>>
 You should use the py4web documentation. Also please report any error
 you find.


 On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:
>
> Hi
>
> Is  the documentation for web2py still mostly relevant for py4web?
>
> Thanks
> Andrew
>
> On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote:
>>
>> Should I use Web2py or py4web for a brand new project ?
>> What is still missing from py4web  ?
>> Can I debug with pycharm ?
>> I need all the great authentication I got with web2py :
>> Registration,pass change, groups mail, etc.
>> smartgreed will be very nice to have or similar.
>> Stability ?
>> Can it be deployed with nginx  and pg ?
>> Thanks
>>
>> --
 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 web...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/web2py/d6c0a99a-42c9-4b04-91ab-56c8ac72b8c4%40googlegroups.com
 
 .

>>> --
>>> 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 web...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/web2py/CACWMBMPjhvWrL3%2B0CtjSCFN_fc-246wAbGbBkWKi84Xfixn3Kg%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> At.
>>
>> Carlos J. Costa
>> --
>> Cientista da Computação - Esp. Gestão em Telecom
>>
> --
> 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 

Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Jim S
For me, there is no porting, it is re-writing.  While a lot of the 
capabilities are there in py4web not all are part of py4web.  Due to the 
nature of how things work, a lot of the 'global' structures in web2py have 
to be handled differently in py4web.

SQLFORM.grid is gone.  FORM replaces SQLFORM but doesn't have all the 
features - https://py4web.com/_documentation/static/index.html#chapter-10
auth_group and auth_membership and auth_permission are gone - 
authentication/authorization have changed - 
https://py4web.com/_documentation/static/index.html#chapter-11

With those things being what they are, I've been playing with py4web for a 
few days now and really am liking it.  It is crazy fast.  You may have to 
write some more helpers to do some things that web2py did for you, but 
that's half the fun, isn't it?  For instance, I used the grid that web2py's 
SQLFORM.grid provides for lots of listing pages.  py4web doesn't have one 
so I've written a helper that displays  pages the way my app wants to see 
them.

I believe py4web is going to make it easier to use Vue.js in your pages, 
but I haven't made the just to using Vue yet so I can't really comment on 
that part.

-Jim

On Wednesday, January 22, 2020 at 12:33:10 PM UTC-6, Carlos Costa wrote:
>
> Hey Massimo, thanks for the great info.
>
> How about porting apps from web2py to py4web?
>
> What steps would you recommend?
>
> Em qua., 22 de jan. de 2020 às 08:21, AGRogers  > escreveu:
>
>> OK, thanks. Re reporting errors, I suspect most errors will be due to my 
>> ignorance. But thanks for the encouragement. 
>>
>> On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro > > wrote:
>>
>>> You should use the py4web documentation. Also please report any error 
>>> you find.
>>>
>>>
>>> On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:

 Hi

 Is  the documentation for web2py still mostly relevant for py4web?

 Thanks
 Andrew

 On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote:
>
> Should I use Web2py or py4web for a brand new project ?
> What is still missing from py4web  ?
> Can I debug with pycharm ?
> I need all the great authentication I got with web2py : 
> Registration,pass change, groups mail, etc.
> smartgreed will be very nice to have or similar.
> Stability ?
> Can it be deployed with nginx  and pg ?
> Thanks
>
> -- 
>>> 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 web...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/web2py/d6c0a99a-42c9-4b04-91ab-56c8ac72b8c4%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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 web...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/CACWMBMPjhvWrL3%2B0CtjSCFN_fc-246wAbGbBkWKi84Xfixn3Kg%40mail.gmail.com
>>  
>> 
>> .
>>
>
>
> -- 
> At.
>
> Carlos J. Costa
> --
> Cientista da Computação - Esp. Gestão em Telecom
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/dbd62f85-d7bc-40a2-a8f5-1b5651525020%40googlegroups.com.


Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread Carlos Costa
Hey Massimo, thanks for the great info.

How about porting apps from web2py to py4web?

What steps would you recommend?

Em qua., 22 de jan. de 2020 às 08:21, AGRogers 
escreveu:

> OK, thanks. Re reporting errors, I suspect most errors will be due to my
> ignorance. But thanks for the encouragement.
>
> On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro <
> massimo.dipie...@gmail.com> wrote:
>
>> You should use the py4web documentation. Also please report any error you
>> find.
>>
>>
>> On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:
>>>
>>> Hi
>>>
>>> Is  the documentation for web2py still mostly relevant for py4web?
>>>
>>> Thanks
>>> Andrew
>>>
>>> On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote:

 Should I use Web2py or py4web for a brand new project ?
 What is still missing from py4web  ?
 Can I debug with pycharm ?
 I need all the great authentication I got with web2py :
 Registration,pass change, groups mail, etc.
 smartgreed will be very nice to have or similar.
 Stability ?
 Can it be deployed with nginx  and pg ?
 Thanks

 --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/web2py/d6c0a99a-42c9-4b04-91ab-56c8ac72b8c4%40googlegroups.com
>> 
>> .
>>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/CACWMBMPjhvWrL3%2B0CtjSCFN_fc-246wAbGbBkWKi84Xfixn3Kg%40mail.gmail.com
> 
> .
>


-- 
At.

Carlos J. Costa
--
Cientista da Computação - Esp. Gestão em Telecom

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAGsD4Nwi%2BqJK2UfK8EJo8hwEtEddj7LQz4PFDeWSBVzmT8%2BHPQ%40mail.gmail.com.


Re: [web2py] Looking for web2py developer for Italian small company

2020-01-22 Thread Geordanis Baño Vega
i have working with web2py for 5 years, now i am also working with node +
vuejs. I strongly recommend vuejs instead of jquery.
py4web is an evolution of web2py and could be a good idea use it.
Regards

El mié., 22 ene. 2020 a las 0:09, Hugo Alberto Rivera Diaz (<
hugorivera.cool.pla...@gmail.com>) escribió:

> I'm interested! 2 years of experience in jquery and web2py and still
> working with them! contact me!
>
> El mar., 21 ene. 2020 a las 9:40, Ivan Gazzola ()
> escribió:
>
>> We are a small company in Italy, we need a new developer for our project (
>> xortho.it)
>>
>> The web app is developed with jquery mobile and web2py, we are planning
>> to move to angular and web2py or better py4web.
>>
>> If you're interested please contact us.
>>
>> Ciao
>>
>> Ivan
>>
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/web2py/9b87d283-adc7-4fbb-830a-8f3a3a45eddf%40googlegroups.com
>> 
>> .
>>
>
>
> --
>   * Saludos!*
>*Hugo Alberto Rivera Diaz* 
>
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/CAMDsM77S6-cY%3DqNxXy%3DzeiB5KzcP9WrtSCrroJ96aniumjwpkg%40mail.gmail.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAA4GC_venaV96oqGYtOZ%3Dy36N1W6Fa0yQi87Vp%3Dbd_ZXYq2vrQ%40mail.gmail.com.


Re: [web2py] Re: Looking for web2py developer for Italian small company

2020-01-22 Thread Hugo Alberto Rivera Diaz
Massimo,an honor to salute you! One question so you would recommend the use
of py4web over web2py? Is py4web te next step for web2py developers?

El mié., 22 ene. 2020 a las 0:23, Massimo Di Pierro (<
massimo.dipie...@gmail.com>) escribió:

> I strongly recommend py4web + vue.js :-)
>
> On Tuesday, 21 January 2020 07:40:18 UTC-8, Ivan Gazzola wrote:
>
>> We are a small company in Italy, we need a new developer for our project (
>> xortho.it)
>>
>> The web app is developed with jquery mobile and web2py, we are planning
>> to move to angular and web2py or better py4web.
>>
>> If you're interested please contact us.
>>
>> Ciao
>>
>> Ivan
>>
>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/fc6ea910-acbb-45b7-9553-2e33152d2863%40googlegroups.com
> 
> .
>


-- 
  * Saludos!*
   *Hugo Alberto Rivera Diaz* 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAMDsM77wcQxLnnEL2N%3DGTifvsV3JmDM%3DjG%2BiBnVosm%3DFBvCZ%3Dg%40mail.gmail.com.


Re: [web2py] Re: py4web - form field default - appears to not be working for me

2020-01-22 Thread Jim Steil
Yes, that did the trick!

Thanks Massimo

On Wed, Jan 22, 2020 at 12:21 AM Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> can you try this?
>
> form = Form()
> if not form.submitted: form.vars.update({field.name:field.default for
> field in form.table if field.default})
>
> Maybe I can make this default behavior?
>
> On Tuesday, 21 January 2020 18:27:02 UTC-8, Jim S wrote:
>>
>> Sorry for all the py4web noob questions
>>
>> I have the following:
>>
>> search_text = 'test'
>> form = Form([Field('search',
>>length=50,
>>default=search_text)],
>> form_name='search_form',
>> formstyle=FormStyleBulma,
>> keep_values=True)
>>
>> I can't get the default search_text to appear in the field.
>>
>> Anything obvious I'm missing?
>>
>> -Jim
>>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/Snj3R2aVOfc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/e9ea15c4-d6a4-44de-a13b-d54e2d0e606c%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAERBpoCF2YM05xiA-3o0aC67f0AHyZH3u04v0J4uRAdZ%2BT49mg%40mail.gmail.com.


RE: [web2py] Looking for web2py developer for Italian small company

2020-01-22 Thread John Bannister
Dear Ivan,

 

Would be interested if you are looking to use py4web and vue.js

 

John

 

From: web2py@googlegroups.com [mailto:web2py@googlegroups.com] On Behalf Of 
Ivan Gazzola
Sent: 21 January 2020 16:40
To: web2py-users
Subject: [web2py] Looking for web2py developer for Italian small company

 

We are a small company in Italy, we need a new developer for our project 
(xortho.it)

 

The web app is developed with jquery mobile and web2py, we are planning to move 
to angular and web2py or better py4web.

 

If you're interested please contact us.

 

Ciao

 

Ivan

 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/9b87d283-adc7-4fbb-830a-8f3a3a45eddf%40googlegroups.com
 

 .

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/026e01d5d123%24fa0bde40%24ee239ac0%24%40gmail.com.


Re: [web2py] Re: Web2py or py4web for a brand new project

2020-01-22 Thread AGRogers
OK, thanks. Re reporting errors, I suspect most errors will be due to my
ignorance. But thanks for the encouragement.

On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro 
wrote:

> You should use the py4web documentation. Also please report any error you
> find.
>
>
> On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:
>>
>> Hi
>>
>> Is  the documentation for web2py still mostly relevant for py4web?
>>
>> Thanks
>> Andrew
>>
>> On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote:
>>>
>>> Should I use Web2py or py4web for a brand new project ?
>>> What is still missing from py4web  ?
>>> Can I debug with pycharm ?
>>> I need all the great authentication I got with web2py :
>>> Registration,pass change, groups mail, etc.
>>> smartgreed will be very nice to have or similar.
>>> Stability ?
>>> Can it be deployed with nginx  and pg ?
>>> Thanks
>>>
>>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/d6c0a99a-42c9-4b04-91ab-56c8ac72b8c4%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CACWMBMPjhvWrL3%2B0CtjSCFN_fc-246wAbGbBkWKi84Xfixn3Kg%40mail.gmail.com.


[web2py] Question about FORM

2020-01-22 Thread Константин Комков
Hello! Can somebody answer why If I use FORM() and inside FORM I create 
XML('') I don't have request.vars.test and 
form.vars.test after submit?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/65102f28-73b4-4a63-88ee-a9123561e815%40googlegroups.com.


[web2py] web2py 2.18.3 Daemon problem with ubuntu 18.6 [was:] running two web2py instances on the same server under apache wsgi mod

2020-01-22 Thread Manuele Pesenti

Hi!

At the moment I solved applying a debian daemon script template[1] I 
found with a simplified run script such like the one here under (saved 
in some runscript.sh file):


   NAME=web2py
   PIDDIR=/var/run/$NAME
   PIDFILE=$PIDDIR/$NAME.pid
   /path/to/bin/python /path/to/web2py/web2py.py -a ""
   --pid_filename=$PIDFILE -i 127.0.0.1 -p 8000

So I have substituted as required in the documentation recurrences of 
following tokens:


 * || = |web2py|
 * || = Web framework
 * || = /path/to/runscript.sh
 * || = myuser

My suspect is that there is some incompatibility of the official daemon 
script [2] with my Ubuntu 18.6 LTS environment, I would like to help in 
debugging the script if possible but I won't be able to find any error 
log related to the daemon failure... Let me know how can I would be of 
any help.


[1] https://gist.github.com/naholyr/4275302

[2] https://github.com/web2py/web2py/blob/R-2.18.3/scripts/web2py.ubuntu.sh

Best regards

    Manuele


On 21/01/20 16:29, Manuele Pesenti wrote:


On 21/01/20 15:10, Manuele Pesenti wrote:

So I guess I have to try using the second web2py (R-2.18 under 
python3 virtualenv) instance through mod_proxy... right?


So I'm trying to run a web2py (R-2.18.3) instance for deploy purposes 
using apache mod_proxy.


First I want to install the necessary daemon... I'm following the 
documentation[1] but without success,
it seams the daemon is not running after starting it. How can I log 
errors? I cannot find them, this are the only information I have found:


# service web2py218 stop
# service web2py218 start
# service web2py218 status
● web2py218.service - LSB: web2py initscript
   Loaded: loaded (/etc/init.d/web2py218; generated)
   Active: active (exited) since Tue 2020-01-21 16:20:46 CET; 3s ago
 Docs: man:systemd-sysv-generator(8)
  Process: 31480 ExecStop=/etc/init.d/web2py218 stop (code=exited,
status=1/FAILURE)
  Process: 31514 ExecStart=/etc/init.d/web2py218 start
(code=exited, status=0/SUCCESS)

Jan 21 16:20:46 Ubuntu-1804-bionic-64-nextcloud systemd[1]:
Starting LSB: web2py initscript...
Jan 21 16:20:46 Ubuntu-1804-bionic-64-nextcloud web2py218[31514]: 
* Starting Web Framework web2py218
Jan 21 16:20:46 Ubuntu-1804-bionic-64-nextcloud
web2py218[31514]:    ...done.
Jan 21 16:20:46 Ubuntu-1804-bionic-64-nextcloud systemd[1]:
Started LSB: web2py initscript.

When I try to access the web2py instance through ssh tunneling it says:

channel 3: open failed: connect failed: Connection refused

Looking in syslog I read:

# tail /var/log/syslog
Jan 21 16:20:41 Ubuntu-1804-bionic-64-nextcloud web2py218[31480]: 
* Stopping Web Framework web2py218
Jan 21 16:20:41 Ubuntu-1804-bionic-64-nextcloud web2py218[31480]:
start-stop-daemon: warning: failed to kill 31269: No such process
Jan 21 16:20:41 Ubuntu-1804-bionic-64-nextcloud
web2py218[31480]:    ...done.
Jan 21 16:20:41 Ubuntu-1804-bionic-64-nextcloud systemd[1]:
web2py218.service: Control process exited, code=exited status=1
Jan 21 16:20:41 Ubuntu-1804-bionic-64-nextcloud systemd[1]:
web2py218.service: Failed with result 'exit-code'.
Jan 21 16:20:41 Ubuntu-1804-bionic-64-nextcloud systemd[1]:
Stopped LSB: web2py initscript.
Jan 21 16:20:46 Ubuntu-1804-bionic-64-nextcloud systemd[1]:
Starting LSB: web2py initscript...
Jan 21 16:20:46 Ubuntu-1804-bionic-64-nextcloud web2py218[31514]: 
* Starting Web Framework web2py218
Jan 21 16:20:46 Ubuntu-1804-bionic-64-nextcloud
web2py218[31514]:    ...done.
Jan 21 16:20:46 Ubuntu-1804-bionic-64-nextcloud systemd[1]:
Started LSB: web2py initscript.

This is my script version: http://paste.debian.net/hidden/e3917c71/

Thank you for any help.

Best regards

    Manuele

[1] 
http://web2py.com/books/default/chapter/29/13/deployment-recipes#Start-as-Linux-daemon




--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/27a986ce-c9b1-9fa0-bb04-aadaccaad187%40gmail.com.