[web2py] Re: Installing web2py behind IIS (for Massimo Di Pierro)

2019-03-03 Thread Константин Комков
On the download page there is caveats which contein: > > Any url /a/b/c maps into a call to application a, controller b.py and > function c in that controller. In ajax call I change url: "loadDocs" to url: "hotline/loadDocs" I don't know why old projects work without app name, but it is so.

[web2py] Re: SQLFORM.smartgrid seems to ignore formargs(separator=':'), whereas SQLFORM.grid obeys it

2019-03-03 Thread junderhill
Thanks, Massimo. Will this work for multiple tables? When I write: formargs={'Wordlist': dict(separator=': '), 'Wordlist2word': dict(separator=': ')} this works for the first table, but when I navigate into the second table via a linked field, the arguments don't seem to be picked up. I ask

[web2py] Re: mysql import from csv problem

2019-03-03 Thread Paul Ellis
Which python and web2py version are you using? Do you mean you don't have the csv file anymore? Do you have a backup of the old database to make another one from? On Tuesday, 19 February 2019 22:13:24 UTC+1, Andrea Fae' wrote: > > Hello, when I import with this procedure >

Re: [web2py] Re: dict values error in python 3.6

2019-03-03 Thread Paul Ellis
https://github.com/web2py/web2py/issues/2126 done On Sat, Mar 2, 2019 at 12:16 PM Kevin Keller wrote: > Can someone file an issue on github and also attach the solution please? > Thanks > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > -

[web2py] web2py 2.18.3 is OUT

2019-03-03 Thread Massimo Di Pierro
we fixed a number of small issues. please check it out. -- 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

Re: [web2py] Re: Custom Delimiters Broken in 2.18.1?

2019-03-03 Thread Massimo Di Pierro
Turns out the bug is not in the delimiters but in the import of gluon.packages. web2py incorrectly looks for 'yatl' and 'pydal' in globally installed packages before looking into gluon.packages. Therefore it picks up the wrong version, not most up-to-date. Fixing in 2.18.3 On Saturday, 2 March

[web2py] Re: SQLFORM.smartgrid seems to ignore formargs(separator=':'), whereas SQLFORM.grid obeys it

2019-03-03 Thread Massimo Di Pierro
It is not a bug. The problem is that in smartgrid you have to specify which table the formargs apply to. For example: form = SQLFORM.smartgrid(dvdb.Wordlist, args=request.args[:1], paginate=100, formargs={'Wordlist': dict(separator=': ')}, breadcrumbs_class='breadcrumbs' ) I am making a change

[web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Massimo Di Pierro
The problem really is that urlib_quote is never imported from gluon._compat. Will push a 2.18.3 today with this and other small fixes. On Saturday, 2 March 2019 23:57:03 UTC-8, Ricardo Antonio Zarco wrote: > > The same, I was using python 2.7.5 In my case was the main.py in gluon. > The

Re: [web2py] Web2py Windows edition with 3.x Interpreter

2019-03-03 Thread Massimo Di Pierro
Great work. Thanks for this! On Sunday, 3 March 2019 03:24:38 UTC-8, Nico Zanferrari wrote: > > Good morning! > > I'm proud to say that I've succeeded in building the Windows 64 bit binary > with python 3.7.2 using pyinstaller ! Grab it from > https://github.com/nicozanf/web2py-pyinstaller >

Re: [web2py] Re: Cannot import modules

2019-03-03 Thread Leonel Câmara
There have been a lot of problems due to the compat changes I would test web2py with a DAL trunk version -- 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) ---

Re: [web2py] Re: Cannot import modules

2019-03-03 Thread Ben Duncan
Will do ... *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division On Sun, Mar 3, 2019 at 2:06 AM Massimo Di Pierro wrote: > No. this is indeed stange. Can you please open a ticket about this? > > On Friday, 1 March 2019 04:30:37 UTC-8, Ben

Re: [web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Kevin Keller
Ricardos change fixes it: main.py in gluon. The urllib_quote is not recognized, i change by urllib2.quote On Sunday, 3 March 2019 11:22:37 UTC+1, Lovedie JC wrote: > > Same to me and I have to save se3times and even merge the documents for it > ot finally save. > Regards > > On Sun, 3 Mar

Re: [web2py] another python 3 minor bug in 2.18.2: b'Logged in'

2019-03-03 Thread Kevin Keller
Changing the logged in message to a custom one did not change the situation (see screenshot) nor did trying to fiddle some more with jquery.. I think I had a syntax error before.. flash.text( flash.text(message).replace('b', '') ); On Sunday, 3 March 2019 13:33:41 UTC+1, Kevin Keller wrote: >

Re: [web2py] another python 3 minor bug in 2.18.2: b'Logged in'

2019-03-03 Thread Kevin Keller
Tried flash.text(message).replace('b', ''); in static web2py.js without success.. any other ideas? On Saturday, 2 March 2019 19:47:36 UTC+1, Kevin Keller wrote: > > Tried to fix it in gluon/html.py and gluon/tools.py but can't fix it > > Would appreciate some help. > > It's minor but super

[web2py] Re: how to get username in view html

2019-03-03 Thread Leonel Câmara
You can just do {{=row.created_by.username}} It will perform a select and get the auth_user record and give you the username. If this is for many rows you probably want to do it differently. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Web2py Windows edition with 3.x Interpreter

2019-03-03 Thread Nico Zanferrari
Good morning! I'm proud to say that I've succeeded in building the Windows 64 bit binary with python 3.7.2 using pyinstaller ! Grab it from https://github.com/nicozanf/web2py-pyinstaller There are some little gothas, but it seems to work fine: - in the console I've got many errors like

Re: [web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Lovedie JC
Same to me and I have to save se3times and even merge the documents for it ot finally save. Regards On Sun, 3 Mar 2019, 13:20 Kevin Keller wrote: > The same here with python 3.7.1 on Windows10 latest Web2py from git from > this morning. > Pressing the save button twice brings up the merge

[web2py] Re: Communication Error when Saving

2019-03-03 Thread Kevin Keller
I have teh same with the latest web2py from git, Python 3.7.1 on Windows 10. Pressing save twice and merging finally saves.. as a workaround On Sunday, 3 March 2019 08:57:03 UTC+1, Ricardo Antonio Zarco wrote: > > Hi,after upgrade to 2.18.2 i get the "Comunnicate error" when saving using >

[web2py] Re: Web2py version 2.18.2 Communications Error when in Admin.

2019-03-03 Thread Kevin Keller
The same here with python 3.7.1 on Windows10 latest Web2py from git from this morning. Pressing the save button twice brings up the merge dialogue, which does the trick for me for now.. On Tuesday, 26 February 2019 19:25:32 UTC+1, John McMaster wrote: > > Just installed web2py version 2.18.2

Re: [web2py] Re: update finds previous error in function definition

2019-03-03 Thread Carl Hunter Roach
I've added this as an issue. https://github.com/web2py/web2py/issues/2122 On Sun, 3 Mar 2019 at 08:05, Massimo Di Pierro wrote: > Can you please open a ticket about this? > > On Friday, 1 March 2019 04:07:28 UTC-8, Carl Hunter Roach wrote: >> >> I've been remiss and skipped too may Web2py

[web2py] Re: retrieving json field from db (GAE)

2019-03-03 Thread Massimo Di Pierro
if we broke this, it was not intentional. Please open a ticket about this so we can track it. It will be fixed asap On Friday, 1 March 2019 04:17:44 UTC-8, Carl Hunter Roach wrote: > > In a db table I have: > > Field('address', 'json', custom_qualifier={'indexed':False} > > I retrieve an entry

Re: [web2py] Re: Cannot import modules

2019-03-03 Thread Massimo Di Pierro
No. this is indeed stange. Can you please open a ticket about this? On Friday, 1 March 2019 04:30:37 UTC-8, Ben Duncan wrote: > > Ok further testing* REVELS* that if the module begins with 'test', > cutome_import chokes and pukes. > Named it to bensmodule and it works ... > > *Massimo*, is

[web2py] Re: update finds previous error in function definition

2019-03-03 Thread Massimo Di Pierro
Can you please open a ticket about this? On Friday, 1 March 2019 04:07:28 UTC-8, Carl Hunter Roach wrote: > > I've been remiss and skipped too may Web2py updates. > > I've now updated from web2py v2.14.6 to web2py v2.18.2 > > db.py > > openings_service = Service() > > controller.py > >