Hi,

I've had this problem come up quite a few times.  It appears to be a
migration issue and is usually fixed by this...

auth.define_tables(migrate=False)

Thanks
Russell


On Nov 17, 8:48 am, Carlos <carlosgali...@gmail.com> wrote:
> Hi Massimo,
>
> I'll send you the requested files if/when I get the error again (I
> deleted the previous ones).
>
> Btw it was not a custom auth_user.
>
> Johann, please send the files when you get this error too.
>
> Thanks,
>
>    Carlos
>
> On Nov 16, 7:06 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > The error you are getting:
>
> > ProgrammingError: relation "auth_user" already exists
>
> > This is not a migration problem. The DB is not complaining about an
> > ALTER TABLE but about a CREATE TABLE.
>
> > This means your database/*_auth_user.table is either missing or
> > corrupted.
> > It would be useful to have steps to reproduce the problem.
>
> > Check in your database folder. You should have two of those files (one
> > for sqlite and one for postgresql). Can you send them to me? I am
> > assuming you have a custom auth_user. Can you send me that too?
>
> > Massimo
>
> > On Nov 16, 6:57 am, Carlos <carlosgali...@gmail.com> wrote:
>
> > > So, based on Johann's confirmation, then this is a problem, isn't it?.
>
> > > Regards,
>
> > >    Carlos
>
> > > On Nov 16, 12:05 am, Johann Spies <johann.sp...@gmail.com> wrote:
>
> > > > On 15 November 2010 18:17, Carlos <carlosgali...@gmail.com> wrote:
>
> > > > > From what Johann said, I understood the table definitions were changed
> > > > > in web2py (using postgresql as the backend), not in postgresql
> > > > > directly ... or did I misunderstand it?.
>
> > > > Yes, that is what I meant.
>
> > > > Regards
> > > > Johann
> > > > --
> > > >  May grace and peace be yours in abundance through the full knowledge 
> > > > of God
> > > > and of Jesus our Lord!  His divine power has given us everything we 
> > > > need for
> > > > life and godliness through the full knowledge of the one who called us 
> > > > by
> > > > his own glory and excellence.
> > > >                                                     2 Pet. 1:2b,3a
>
>

Reply via email to