I have the same problem, already found the solution?TRACEBACK

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.

Traceback (most recent call last):
  File "c:\web2py\gluon\restricted.py", line 188, in restricted
    exec ccode in environment
  File "c:/web2py/applications/demanda/models/db.py"
<http://127.0.0.1:8000/admin/default/edit/demanda/models/db.py>, line
39, in <module>
    auth.define_tables()                         # creates all needed tables
  File "c:\web2py\gluon\tools.py", line 1177, in define_tables
    format='%(first_name)s %(last_name)s (%(id)s)')
  File "c:\web2py\gluon\dal.py", line 3490, in define_table
    polymodel=polymodel)
  File "c:\web2py\gluon\dal.py", line 531, in create_table
    self.create_sequence_and_triggers(query,table)
  File "c:\web2py\gluon\dal.py", line 1513, in create_sequence_and_triggers
    self.execute('CREATE SEQUENCE %s;' % sequence_name)
  File "c:\web2py\gluon\dal.py", line 1079, in execute
    return self.log_execute(*a, **b)
  File "c:\web2py\gluon\dal.py", line 1076, in log_execute
    return self.cursor.execute(*a,**b)
ProgrammingError: ERRO:  relação "auth_user_id_seq" já existe




2011/2/6 Massimo Di Pierro <massimo.dipie...@gmail.com>

> The least comment in the issue thread says it is fixed after deleting
> the pyc. Is that not correct?
>
> On Feb 6, 7:26 am, Tom Atkins <minkto...@gmail.com> wrote:
> > Thanks for looking into this Massimo.  I just pulled the most recent
> version
> > and still get the same error as originally described.  I added a comment
> > here:
> >
> > http://code.google.com/p/web2py/issues/detail?id=173&can=1&sort=-id
> >
> > <http://code.google.com/p/web2py/issues/detail?id=173&can=1&sort=-id>Let
> me
> > know if you need any more info.  I definitely have the latest version.
> >
> > On 4 February 2011 19:49, Massimo Di Pierro <massimo.dipie...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > This is a trunk bug. The problem does should be there in stable. I
> > > will fix this tonight.
> >
> > > On Feb 4, 12:50 pm, Tom Atkins <minkto...@gmail.com> wrote:
> > > > On 4 February 2011 14:33, Massimo Di Pierro <
> massimo.dipie...@gmail.com
> > > >wrote:
> >
> > > > > You are using web2py trunk right?
> >
> > > > Yes - just a clean version of web2py pulled by Hg from Google code.
> >
> > > > > Did you set a sequence_name
> > > > > manually?
> >
> > > > No (not even sure what sequence_name is!) -  I tried another app of
> my
> > > own
> > > > and get the same result.
>



-- 
        Ovidio Marinho Falcao Neto
             ovidio...@gmail.com
         Tecnologia da Informaçao
         Casa Civil do Governador
         83 3214 7885 - 88269088
                  Paraiba

Reply via email to