[web2py] Re: dict values error in python 3.6

2019-02-28 Thread Kevin Keller
Seems a python3 vs python2 related error? https://stackoverflow.com/questions/17431638/get-typeerror-dict-values-object-does-not-support-indexing-when-using-python Can you try to run your app with python2 for testing please ? On Thursday, 28 February 2019 05:36:04 UTC+1, Maurice Waka wrote: > >

[web2py] 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Jacinto Parga
Unable to store in FILE: Framework Traceback (most recent call last): File "/base//2263366/gluon/main.py", line 488, in wsgibase urllib_quote(xmlescape(response.flash).replace(b'\n', b'')) NameError: global name 'urllib_quote' is not defined I've got this error

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

2019-02-28 Thread Lovedie JC
Ok on p2. But I'm shifting to p3. 6 On Thu, 28 Feb 2019, 13:54 Kevin Keller wrote: > Seems a python3 vs python2 related error? > > > https://stackoverflow.com/questions/17431638/get-typeerror-dict-values-object-does-not-support-indexing-when-using-python > > Can you try to run your app with pyth

[web2py] How to update your web2py vue-whoosh scaffolding app to work with python 3, vue 2.6, whoosh 2.7

2019-02-28 Thread Casey S. Schroeder
First a shout out to all the people monitoring this feed who develop web2py. I was able to throw together geo.atheoryof.us together in less than two weeks because of web2py and the vue-whoosh scaffolding app in particular. In the process though, I came across a few things. Standard debugging

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

2019-02-28 Thread Kevin Keller
Ok, could you file an issue on github for. This please? On Thu, 28 Feb 2019, 12:06 Lovedie JC, wrote: > Ok on p2. > But I'm shifting to p3. 6 > > On Thu, 28 Feb 2019, 13:54 Kevin Keller wrote: > >> Seems a python3 vs python2 related error? >> >> >> https://stackoverflow.com/questions/17431638

[web2py] Re: 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Leonel Câmara
Are you using the github version of web2py? You need to update your pydal. Run a: git submodule update --recursive --remote -- 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] Poweredby error

2019-02-28 Thread Daniel Guilhermino
Hi, I've just tried to submit an new application made with web2py and integrated with Dialogflow, but the following error was show: Internal errorTicket issued: poweredby/191.162.178.30.2019-02-28.12-36-03.22ce450a-64b7-4832-8d08-750e16ce25c2

[web2py] Re: dict values error in python 3.6

2019-02-28 Thread Leonel Câmara
Probably something misusing a dictionary values() method in your models. It's expecting a list which can be accessed that way but it's getting a dictionary values generator in python 3. Can we see your models? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://g

[web2py] Re: 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Jacinto Parga
No, I have got it form https://mdipierro.pythonanywhere.com/examples/static/web2py_src.zip from the download page http://www.web2py.com/init/default/download El jueves, 28 de febrero de 2019, 13:24:30 (UTC+1), Leonel Câmara escribió: > > Are you using the github version of web2py? You need to

[web2py] Re: 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Leonel Câmara
I would just downgrade and wait for a new release with an updated pydal then. Massimo moved a lot of _compat stuff to pydal including the urllib_quote causing you problems. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

[web2py] Re: 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Jacinto Parga
ok. should I report it as a bug? El jueves, 28 de febrero de 2019, 14:15:45 (UTC+1), Leonel Câmara escribió: > > I would just downgrade and wait for a new release with an updated pydal > then. Massimo moved a lot of _compat stuff to pydal including the > urllib_quote causing you problems. > --

[web2py] Re: 2.18.2 gluon/main.py bug..?

2019-02-28 Thread Leonel Câmara
There's no need to report the bug, because although it is indeed a bug it's already fixed in github. -- 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

[web2py] Re: hidden field on CRUD

2019-02-28 Thread Marcelo Huerta
El martes, 26 de febrero de 2019, 18:16:15 (UTC-3), Dave S escribió: > > > Also look at 3rd party display tools like DataTables (datatables.net), > which is highly recommended in this list. (added in edit) > > Are there any examples of usage of DataTables with web2py? -- Resources: - http://web

[web2py] Fresh install - ImportError: cannot import name Cookie

2019-02-28 Thread Paul Ellis
with a fresh install of web2py by running git clone --recursive https://github.com/web2py/web2py.git and then running: python web2py.py I am getting: Traceback (most recent call last): File "web2py.py", line 21, in import gluon.widget File "C:\w2p\gluon\__init__.py", line 47

[web2py] Cannot import modules

2019-02-28 Thread Ben Duncan
Getting the following errors when trying to import a module Module directory looks like: [web2py@su-postgres-ben-3 Book]$ ls -la modules/ total 16 drwxr-xr-x 2 web2py web2py 4096 Feb 28 13:49 . drwxrwxr-x 15 web2py web2py 4096 Feb 25 14:33 .. -rw-rw-r-- 1 web2py web2py 256 Jan 30 10:48 emptysam

[web2py] Re: Fresh install - ImportError: cannot import name Cookie

2019-02-28 Thread Leonel Câmara
Most of compat stuff got moved to pydal but the version in the release doesn't have the version with the pydal with the compat stuff there. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2p

[web2py] Re: hidden field on CRUD

2019-02-28 Thread Dave S
On Thursday, February 28, 2019 at 10:43:20 AM UTC-8, Marcelo Huerta wrote: > > El martes, 26 de febrero de 2019, 18:16:15 (UTC-3), Dave S escribió: >> >> >> Also look at 3rd party display tools like DataTables (datatables.net), >> which is highly recommended in this list. (added in edit) >> >> >

[web2py] Re: Cannot import modules

2019-02-28 Thread Dave S
On Thursday, February 28, 2019 at 11:54:24 AM UTC-8, Ben Duncan wrote: > > Getting the following errors when trying to import a module > Module directory looks like: > > [web2py@su-postgres-ben-3 Book]$ ls -la modules/ > total 16 > drwxr-xr-x 2 web2py web2py 4096 Feb 28 13:49 . > drwxrwxr-x 15 w

[web2py] Re: invalid function (default/user) when migrating code to Python 3

2019-02-28 Thread 'jim kaubisch' via web2py-users
closing this. No code changes, one day the screen seemed to "flash" and instead of failing it started work properly. Have now updated to 2.18.2 and it seems to work fine so far On Thursday, February 21, 2019 at 3:08:52 PM UTC-8, jim kaubisch wrote: > > > Hi, starting with an app that’s been runn

[web2py] web2py - docker - sending email

2019-02-28 Thread Paul Ellis
I am moving an app to a new server. Previously on pythonanywhere and could send email for password resets. So the email settings are correct. New server is using docker. web2py + nginx Trying to send email I am getting the following error: web2py:Mail.send failure:[SSL: WRONG_VERSION_NUMBER] f

[web2py] Re: Cannot import modules

2019-02-28 Thread Paul Ellis
I know this sounds odd. But this worked for me recently. It can be caused by a corrupt .pyc file. Try deleting the .pyc files and see if the problem remains. On Thursday, 28 February 2019 20:54:24 UTC+1, Ben Duncan wrote: > > Getting the following errors when trying to import a module > Module d

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

2019-02-28 Thread Константин Комков
I need to add important comment, picture which I put on page couldn't be show becouse path which must be started with server name and app name started with server name only. Maybe it is reason becouse I get welcome page after ajax call. Full path to image as is: http://192.168.XXX.XXX/static/ima