[web2py] Re: web2py 2.15.4 is OUT

2017-10-03 Thread IVINH
gluon.contrib.feedparser is using for Python 2.7 On Saturday, September 2, 2017 at 11:10:30 AM UTC+7, Massimo Di Pierro wrote: > > Includes a few bug-fixes (thanks to Anthony and Leonel in particular) and > it is tracking the latest python (thanks Giovanni). > > Please report any outstanding

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-15 Thread Anthony
Looks like there's already an issue about that: https://github.com/web2py/pydal/issues/480 Anthony On Thursday, September 14, 2017 at 11:56:26 PM UTC-4, 黄祥 wrote: > > *e.g.* > *models/db.py* > def __before_insert_cash_in(f): > chart_of_account = int(f['chart_of_account'] ) > > # get default

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-14 Thread 黄祥
*e.g.* *models/db.py* def __before_insert_cash_in(f): chart_of_account = int(f['chart_of_account'] ) # get default value for branch field from coa table field branch query_coa = (db.chart_of_account.id == chart_of_account) row_coa = db(query_coa).select().first() #f['branch'] = '%s' %

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-14 Thread Anthony
On Thursday, September 14, 2017 at 9:20:55 PM UTC-4, 黄祥 wrote: > > before_insert callback that insert value to table with required = True is > still error (temporary solution is set required = False, while in 2.14.6 it > works with required = True). > Can you show an example? -- Resources: -

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-14 Thread 黄祥
before_insert callback that insert value to table with required = True is still error (temporary solution is set required = False, while in 2.14.6 it works with required = True). best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-14 Thread Anthony
This is a bug. I just submitted a pull request: https://github.com/web2py/web2py/pull/1766 Anthony On Thursday, September 14, 2017 at 4:43:24 AM UTC-4, 黄祥 wrote: > > test SQLFORM.grid() export TSV, return error: > Traceback (most recent call last): > File

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-14 Thread Anthony
I cannot reproduce the problem. In general, though, code from newer apps should not necessarily be expected to work on older versions of web2py (that is referred to as "forward compatibility", and web2py only promises "backward compatibility"). Anthony On Thursday, September 14, 2017 at

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-14 Thread 黄祥
test SQLFORM.grid() export TSV, return error: Traceback (most recent call last): File "/Users/MacBookPro/site/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/home/test/web2py/applications/test/controllers/system.py", line 240, in File

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-13 Thread 黄祥
trying to run 2.15.4 app in 2.14.6 machine return an error : Traceback (most recent call last): File "/home/test/web2py/gluon/main.py", line 445, in wsgibase serve_controller(request, response, session) File "/home/test/web2py/gluon/main.py", line 165, in serve_controller environment =

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-12 Thread Anthony
On Tuesday, September 12, 2017 at 8:39:16 AM UTC-4, 黄祥 wrote: > > just tested that maxtextlengths doesnt have any effects, the long field > value still have ... > *e.g.* > grid = SQLFORM.smartgrid(..., maxtextlengths = {'table_name.field_name' : > 350} ) > is it correct or should i just used

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-12 Thread 黄祥
just tested that maxtextlengths doesnt have any effects, the long field value still have ... *e.g.* grid = SQLFORM.smartgrid(..., maxtextlengths = {'table_name.field_name' : 350} ) is it correct or should i just used maxtextlength = 350 ? thanks and best regards, stifan -- Resources: -

[web2py] Re: web2py 2.15.4 is OUT

2017-09-11 Thread IVINH
Thank Leonel. On Monday, September 11, 2017 at 7:18:08 PM UTC+7, Leonel Câmara wrote: > > IVINH please see: > https://github.com/web2py/web2py/issues/1753 > > That's a bug seen with python 3, I have submitted a fix > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: web2py 2.15.4 is OUT

2017-09-11 Thread Leonel Câmara
IVINH please see: https://github.com/web2py/web2py/issues/1753 That's a bug seen with python 3, I have submitted a fix -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list

[web2py] Re: web2py 2.15.4 is OUT

2017-09-11 Thread Anthony
On Monday, September 11, 2017 at 4:03:59 AM UTC-4, IVINH wrote: > > LOAD function is not work? > > My view: {{=LOAD(c='cms',f='menu',ajax=False)}} > > Traceback (most recent call last): > File "C:\web2py216\gluon\restricted.py", line 219, in restricted > exec(ccode, environment) > TypeError:

[web2py] Re: web2py 2.15.4 is OUT

2017-09-11 Thread IVINH
LOAD function is not work? My view: {{=LOAD(c='cms',f='menu',ajax=False)}} Traceback (most recent call last): File "C:\web2py216\gluon\restricted.py", line 219, in restricted exec(ccode, environment) TypeError: can only concatenate list (not "map") to list On Saturday, September 2,

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-08 Thread Richard Vézina
Here : https://github.com/web2py/web2py-book/pull/367/commits/edffd312bf31d946d4a907f97d665448cac16767 On Fri, Sep 8, 2017 at 1:32 PM, Richard Vézina wrote: > Here a PR to the book pending where you can know which files need to be > update in your own app... > > On

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-08 Thread Richard Vézina
Here a PR to the book pending where you can know which files need to be update in your own app... On Fri, Sep 8, 2017 at 1:27 PM, Richard Vézina wrote: > I would copy my app over an other instance of web2py, I personaly do this : > >

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-08 Thread Richard Vézina
I would copy my app over an other instance of web2py, I personaly do this : version_2-14-6/web2py/applications/myapps1... version_2-15-3/web2py/applications/copy my app here (update web2py dedicated file) It recommended to download the web2py package over web2py web site download page instead

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-08 Thread pbreit
I don't understand. If I have Web2py installed on my Mac from git clone --recursive https://github.com/web2py/web2py.git What is the proper way to upgrade web2py? Can I do just git pull or do I need to do something like git pull --recurse-submodules ? -- Resources: - http://web2py.com -

Re: [web2py] Re: web2py 2.15.4 is OUT

2017-09-08 Thread Richard Vézina
Nop! You need to update some web2py reserved files in you own app(s)... Search the web2py groups about that I repeatedly details which files even write bash command to automated the task. Good luck! Richard On Thu, Sep 7, 2017 at 3:43 AM, pbreit wrote: > To update can

[web2py] Re: web2py 2.15.4 is OUT

2017-09-07 Thread pbreit
To update can i just do a `git pull` or do I need to do something like `git pull --recurse-submodules` -- 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) ---

[web2py] Re: web2py 2.15.4 is OUT

2017-09-04 Thread domezzzz
Yes now. Total of different files: 37 download: 15:40 de Uruguay Greetings 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

[web2py] Re: web2py 2.15.4 is OUT

2017-09-03 Thread domezzzz
El domingo, 3 de septiembre de 2017, 19:25:29 (UTC-3), dome escribió: > > Compare with winmerge-2.14 and there are no differences > Total of objects compared 1989 > > pd: Download web2py windows exe 2.15.4 again at 7:30 p.m. on Sunday, > Uruguay time. > URL:

[web2py] Re: web2py 2.15.4 is OUT

2017-09-03 Thread domezzzz
Compare with winmerge 2.14 and there are no differences. Total of objects compared 1989 -- 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

[web2py] Re: web2py 2.15.4 is OUT

2017-09-03 Thread Massimo Di Pierro
Can you try again? Should be fixed. On Sunday, 3 September 2017 11:54:48 UTC-5, Massimo Di Pierro wrote: > > very strange. Looking into this. > > On Saturday, 2 September 2017 11:33:00 UTC-5, dome wrote: >> >> Dear Massimo >> >> The new windows executable >> >>

[web2py] Re: web2py 2.15.4 is OUT

2017-09-03 Thread Massimo Di Pierro
very strange. Looking into this. On Saturday, 2 September 2017 11:33:00 UTC-5, dome wrote: > > Dear Massimo > > The new windows executable > > 2.15.4-stable+timestamp.2017.09.02.04.02.22 ( > LGPLv3 License >

[web2py] Re: web2py 2.15.4 is OUT

2017-09-02 Thread domezzzz
Dear Massimo The new windows executable version 2.15.4, is identical to the 2.15.2. Already reported the same for 2.15.3: > > https://groups.google.com/forum/?fromgroups#!topic/web2py/IdlH3hc8bRk > Regards. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -