Re: [web2py] Problem starting a distributed transaction

2020-07-04 Thread Carlos Correia
Às 14:40 de 03/07/20, Carlos Correia escreveu: Hi, I have this piece of code in a controller to test a distributed transaction but it fails with: "ValueError: need more than 0 values to unpack". def index(): response.flash = T("Hello World") db0 =

[web2py] Problem starting a distributed transaction

2020-07-03 Thread Carlos Correia
Hi, I have this piece of code in a controller to test a distributed transaction but it fails with: "ValueError: need more than 0 values to unpack". def index(): response.flash = T("Hello World") db0 = DAL('postgres://belmiro:naosei@localhost/ennos__blm_0139' ) db1 =