Re: [web2py] Re: sequence name issue postgresql [CLOSED]

2010-07-08 Thread Richard Vézina
THKs Richard 2010/7/8 mdipierro > just get the nightly build from the download page. I will post 1.94.1 > next week. > > On 8 Lug, 10:53, Richard Vézina wrote: > > Right on! > > > > It works! > > > > Can you point me where the mods you made are so I can copy theme on the > > stable version 1.7

[web2py] Re: sequence name issue postgresql

2010-07-08 Thread mdipierro
just get the nightly build from the download page. I will post 1.94.1 next week. On 8 Lug, 10:53, Richard Vézina wrote: > Right on! > > It works! > > Can you point me where the mods you made are so I can copy theme on the > stable version 1.79.2 for deployment? > > Thanks a lot Massimo. > > Richa

Re: [web2py] Re: sequence name issue postgresql

2010-07-08 Thread Richard Vézina
Right on! It works! Can you point me where the mods you made are so I can copy theme on the stable version 1.79.2 for deployment? Thanks a lot Massimo. Richard 2010/7/8 mdipierro > Did you try? > > db.define_table('test_test', >Field('test_id','id'), >Field('field1'), > > Field('fiel

[web2py] Re: sequence name issue postgresql

2010-07-08 Thread mdipierro
Did you try? db.define_table('test_test', Field('test_id','id'), Field('field1'), Field('field2'),migrate=False,sequence_name='test_test_test_id_seq') On 7 Lug, 11:01, Richard Vézina wrote: > There is a different version number for the windows build : web2py Version > 1.79.2 (2010-07-0

Re: [web2py] Re: sequence name issue postgresql

2010-07-08 Thread Richard Vézina
Hello, Did I sent enough information? Richard 2010/7/7 Richard Vézina > There is a different version number for the windows build : web2py Version > 1.79.2 (2010-07-05 23:18:02) > > I download the src build since I am under linux. Maybe the problem is still > there cause of that... > > test_te

Re: [web2py] Re: sequence name issue postgresql

2010-07-07 Thread Richard Vézina
There is a different version number for the windows build : web2py Version 1.79.2 (2010-07-05 23:18:02) I download the src build since I am under linux. Maybe the problem is still there cause of that... test_test is the name of my table. I use this to define my model : db.define_table('test_tes

[web2py] Re: sequence name issue postgresql

2010-07-07 Thread mdipierro
Can you help debug? Is test_test_seq_Id the name of the sequence? If not, what is the name? Did you create the sequence? How did you specify the name? Massimo On 7 Lug, 10:48, Richard Vézina wrote: > Not solving the problem : > > Traceback (most recent call last): >   File "/nigthly_build/web2py

Re: [web2py] Re: sequence name issue postgresql

2010-07-07 Thread Richard Vézina
Not solving the problem : Traceback (most recent call last): File "/nigthly_build/web2py/gluon/restricted.py", line 178, in restricted exec ccode in environment File "/nigthly_build/web2py/applications/app/controllers/test.py" , line 785, in File "/nigthly_build/web2py/gluon/globals.py"

[web2py] Re: sequence name issue postgresql

2010-07-07 Thread mdipierro
The trunk will be the nightly built (in the link below) http://web2py.com/examples/default/download in 5 minutes. On 7 Lug, 10:05, Richard Vézina wrote: > I don't understand how I can download the trunk build of web2py... > > Maybe I am not getting it, do I have to copy only the files (sql.py a

Re: [web2py] Re: sequence name issue postgresql

2010-07-07 Thread Richard Vézina
I don't understand how I can download the trunk build of web2py... Maybe I am not getting it, do I have to copy only the files (sql.py and dal.py) with the mods you had made??? Richard 2010/7/1 mdipierro > Actually the mercurial one should be in sync with bazaar one. > I have had google code

[web2py] Re: sequence name issue postgresql

2010-07-01 Thread mdipierro
Actually the mercurial one should be in sync with bazaar one. I have had google code problems with a different project. On 1 Lug, 13:04, Richard Vézina wrote: > I will look at it... > > Do we need to be on launchpad for accessing the bazaar trunk (can't find the > download able package) since the

Re: [web2py] Re: sequence name issue postgresql

2010-07-01 Thread Richard Vézina
I will look at it... Do we need to be on launchpad for accessing the bazaar trunk (can't find the download able package) since the mercurial seems to be out dated?? Maybe I have to import it with bazaar? Richard 2010/7/1 mdipierro > Hi Richard, > > I am not convinced this is a good solution.

[web2py] Re: sequence name issue postgresql

2010-07-01 Thread mdipierro
Hi Richard, I am not convinced this is a good solution. The reason is that two processes perform insert at the same that may not return the ID of previous insert but the last one, therefore the same value. I may be wrong. I have just added to trunk another solution: db.define_table(,sequen