[web2py] Re: web2py 2.17.1
web2py 2.17.2 is out and it includes this fix. Thanks Leonel. On Saturday, 6 October 2018 03:54:56 UTC-7, Leonel Câmara wrote: > > Dave see: > https://github.com/web2py/web2py/pull/2030 > > I've fixed many minor incompatibility problems with 2.17.1 this was one of > them. > -- 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.
[web2py] Re: web2py 2.17.1
Dave see: https://github.com/web2py/web2py/pull/2030 I've fixed many minor incompatibility problems with 2.17.1 this was one of them. -- 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.
[web2py] Re: web2py 2.17.1
I have this problem too, there are a few forms where for information clarity I want to show fields which cannot be changed in a particular context. On Monday, October 1, 2018 at 7:43:06 AM UTC-4, Awe wrote: > > Well, yes I think it breaks something, > in 2.16.1 this was fine: > form = SQLFORM.factory( > Field('always_show', default='123', readable=True, writable=False), > Field('writable_if_intended', default='456', readable=True, > writable=True), > readonly=False, > ) > Both fields were shown, first field as textonly, and second one as > edit/input field > > In 2.17.1 > print form.fields > ->['id', 'writable_if_intended'] > The first field does not appear, so all my forms a broken for the moment > and I do not know how to > create a form with mixed intentions for the fields (readable only / and > writable fields) > > many thanks for your help, > Andreas > > > > Am Montag, 13. August 2018 03:36:06 UTC+2 schrieb Massimo Di Pierro: >> >> On second look this is correct and intentional and fixed a bug. this form >> is a from a factory and there is no record. the field is not writable >> therefore it can only be displayed in read-only mode but there is no value >> (record) to display. >> >> Does it break something? >> >> On Sunday, 12 August 2018 12:52:31 UTC-7, Jim Karsten wrote: >>> >>> I'm seeing a change in behaviour between versions 2.16.1 and 2.17.1. >>> >>> form = SQLFORM.factory(Field('name', writable=False)) >>> print form.fields >>> >>> # In 2.16.1 prints: ['id', 'name'] >>> # In 2.17.1 prints: ['id'] >>> >>> Is this intentional? >>> >>> -- 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.
[web2py] Re: web2py 2.17.1
Well, yes I think it breaks something, in 2.16.1 this was fine: form = SQLFORM.factory( Field('always_show', default='123', readable=True, writable=False), Field('writable_if_intended', default='456', readable=True, writable=True), readonly=False, ) Both fields were shown, first field as textonly, and second one as edit/input field In 2.17.1 print form.fields ->['id', 'writable_if_intended'] The first field does not appear, so all my forms a broken for the moment and I do not know how to create a form with mixed intentions for the fields (readable only / and writable fields) many thanks for your help, Andreas Am Montag, 13. August 2018 03:36:06 UTC+2 schrieb Massimo Di Pierro: > > On second look this is correct and intentional and fixed a bug. this form > is a from a factory and there is no record. the field is not writable > therefore it can only be displayed in read-only mode but there is no value > (record) to display. > > Does it break something? > > On Sunday, 12 August 2018 12:52:31 UTC-7, Jim Karsten wrote: >> >> I'm seeing a change in behaviour between versions 2.16.1 and 2.17.1. >> >> form = SQLFORM.factory(Field('name', writable=False)) >> print form.fields >> >> # In 2.16.1 prints: ['id', 'name'] >> # In 2.17.1 prints: ['id'] >> >> Is this intentional? >> >> -- 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.
[web2py] Re: web2py 2.17.1
I'm using Python 3, and when I run into a traceback, this is the ticket details (it's the same one...) 'NoneType' object has no attribute 'strip'Version web2py™ Version 2.17.1-stable+timestamp.2018.08.05.17.57.00Traceback 1. no traceback because template parsing error On Monday, August 6, 2018 at 9:12:25 AM UTC+8, Massimo Di Pierro wrote: > > Hello everybody, > > I released pyDAL 18.08 and web2py 2.17.1 > They mostly contain bug fixes as well as better support for python 3 and > bootstrap 4 by default. > Thanks to all those who contributed! > > Please check them out and report any issue with them. > > I have a been a little slow checking this group because of lots of > traveling but I will do my best to catch up. :-) > > Massimo > -- 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.
[web2py] Re: web2py 2.17.1
I'm still not sure how to upgrade a git installation. git pull git submodule update --recursive git pull --recurse-submodules ? Maybe that could be added to: https://github.com/web2py/web2py/blob/master/README.markdown -- 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.
[web2py] Re: web2py 2.17.1
I just downloaded 2.17.1 and it works great... thankyou! However I am a bit confused with the pyDAL that came with it... _version_ = 17.11 Same version 17.11 when I downloaded pyDAL using pip Is this the latest pyDAL 18.08 only without the _version_ number updated? On Sunday, August 5, 2018 at 6:12:25 PM UTC-7, Massimo Di Pierro wrote: > > Hello everybody, > > I released pyDAL 18.08 and web2py 2.17.1 > They mostly contain bug fixes as well as better support for python 3 and > bootstrap 4 by default. > Thanks to all those who contributed! > > Please check them out and report any issue with them. > > I have a been a little slow checking this group because of lots of > traveling but I will do my best to catch up. :-) > > Massimo > -- 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.
[web2py] Re: web2py 2.17.1
I am conditionally displaying the form input in a view. Something like this: {{if 'name' in form.fields:}} Name: {{=form.custom.widget.name}} {{pass}} I can change that to: {{if 'name' in form.custom.widget:}} ... {{pass}} On Sunday, August 12, 2018 at 9:36:06 PM UTC-4, Massimo Di Pierro wrote: > > On second look this is correct and intentional and fixed a bug. this form > is a from a factory and there is no record. the field is not writable > therefore it can only be displayed in read-only mode but there is no value > (record) to display. > > Does it break something? > > On Sunday, 12 August 2018 12:52:31 UTC-7, Jim Karsten wrote: >> >> I'm seeing a change in behaviour between versions 2.16.1 and 2.17.1. >> >> form = SQLFORM.factory(Field('name', writable=False)) >> print form.fields >> >> # In 2.16.1 prints: ['id', 'name'] >> # In 2.17.1 prints: ['id'] >> >> Is this intentional? >> >> -- 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.
Re: [web2py] Re: web2py 2.17.1
Thanks, @Leonel Câmara Now works fine! /sp On Mon, Aug 13, 2018 at 5:30 PM Leonel Câmara wrote: > Sandeep I think that's this issue: > > https://github.com/web2py/web2py/issues/1972 > > -- > 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.
[web2py] Re: web2py 2.17.1
Sandeep I think that's this issue: https://github.com/web2py/web2py/issues/1972 -- 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.
[web2py] Re: web2py 2.17.1
Cannot reproduce this. it works for me. Mind that configuration.take('app.toolbar') == 'false' while configuration.get('app.toolbar') is False On Tuesday, 7 August 2018 07:28:55 UTC-7, 黄祥 wrote: > > configuration.take() no longer worked > *e.g.* > *private/appconfig.ini* > [app] > toolbar = false > > *models/db.py* > response.show_toolbar = configuration.take('app.toolbar') # not worked > while in the past worked, result the response.toolbar() is shown even the > value is false, use configuration.get() instead > > best regards, > stifan > -- 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.
[web2py] Re: web2py 2.17.1
On second look this is correct and intentional and fixed a bug. this form is a from a factory and there is no record. the field is not writable therefore it can only be displayed in read-only mode but there is no value (record) to display. Does it break something? On Sunday, 12 August 2018 12:52:31 UTC-7, Jim Karsten wrote: > > I'm seeing a change in behaviour between versions 2.16.1 and 2.17.1. > > form = SQLFORM.factory(Field('name', writable=False)) > print form.fields > > # In 2.16.1 prints: ['id', 'name'] > # In 2.17.1 prints: ['id'] > > Is this intentional? > > -- 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.
[web2py] Re: web2py 2.17.1
No. will fix it. On Sunday, 12 August 2018 12:52:31 UTC-7, Jim Karsten wrote: > > I'm seeing a change in behaviour between versions 2.16.1 and 2.17.1. > > form = SQLFORM.factory(Field('name', writable=False)) > print form.fields > > # In 2.16.1 prints: ['id', 'name'] > # In 2.17.1 prints: ['id'] > > Is this intentional? > > -- 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.
[web2py] Re: web2py 2.17.1
I'm seeing a change in behaviour between versions 2.16.1 and 2.17.1. form = SQLFORM.factory(Field('name', writable=False)) print form.fields # In 2.16.1 prints: ['id', 'name'] # In 2.17.1 prints: ['id'] Is this intentional? -- 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.
Re: [web2py] Re: web2py 2.17.1
Installed it and it's up whilst I learn it ... On Tue, Aug 7, 2018 at 9:29 AM 黄祥 wrote: > configuration.take() no longer worked > *e.g.* > *private/appconfig.ini* > [app] > toolbar = false > > *models/db.py* > response.show_toolbar = configuration.take('app.toolbar') # not worked > while in the past worked, result the response.toolbar() is shown even the > value is false, use configuration.get() instead > > best regards, > stifan > > -- > 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.
[web2py] Re: web2py 2.17.1
configuration.take() no longer worked *e.g.* *private/appconfig.ini* [app] toolbar = false *models/db.py* response.show_toolbar = configuration.take('app.toolbar') # not worked while in the past worked, result the response.toolbar() is shown even the value is false, use configuration.get() instead best regards, stifan -- 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.