[web2py] Re: warning: new pydal

2020-01-07 Thread Leonel Câmara
Found it, the adapter was only setting the parser after the first connection. For some reason the parser was being changed back to the one registered in parsers at a later moment. I've fixed all my json issues here: https://github.com/web2py/pydal/pull/606 -- Resources: - http://web2py.com - h

[web2py] Re: warning: new pydal

2020-01-07 Thread Leonel Câmara
I'm still investigating but in the middle of the request the parser in the postgres adapter seems to be changing: This is the cause. Now I need to investigate why it happens. Because this doesn't happen if I'm using the shell in my app and everything seems to be fine in the shell. -- Resou

[web2py] Re: warning: new pydal

2020-01-07 Thread Leonel Câmara
Kevin, you need to be using jsonb fields, so yes in postgres. First I needed to fix the jsonb parser: https://github.com/web2py/pydal/pull/606/files Buf after I did that I'm getting a lot of errors like this: File "C:\Users\Leonel\Desktop\web2py\gluon\packages\dal\pydal\parsers\__init__.py",

Re: [web2py] Re: warning: new pydal

2020-01-06 Thread Kevin Keller
In postresql? What issues do you have? On Mon, Jan 6, 2020 at 7:24 PM Leonel Câmara wrote: > I seem to be having quite a few issues with json and jsonb fields. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code)

[web2py] Re: warning: new pydal

2020-01-06 Thread Leonel Câmara
I seem to be having quite a few issues with json and jsonb fields. -- 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 a

[web2py] Re: warning: new pydal

2020-01-02 Thread Leonel Câmara
It seems good, the only problem I've had until now was that I had to update my Validators to have a record_id argument in their validate method. Make sure that you warn people about that in the release notes. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://gi

[web2py] Re: warning: new pydal

2019-12-27 Thread Massimo Di Pierro
wrong thread. This is about pydal. Anyway. It looks for a folder apps/.service that do not exist. Try create that folder "mkdir apps/.service" On Friday, 27 December 2019 14:37:34 UTC+1, JSalvat wrote: > > Hi Massimo, still getting errors: > > c:\wwwroot\py4web>python -m pip install -r requirem

[web2py] Re: warning: new pydal

2019-12-27 Thread JSalvat
Hi Massimo, still getting errors: c:\wwwroot\py4web>python -m pip install -r requirements.txt --user Successfully installed pydal-20191227.1 c:\wwwroot\py4web>python ./py4web-start.py apps . Is still experimental... Dashboard is at: http://127.0.0.1:8000/_dashboard [ ] loading e