I emailed it to you.

On Sep 7, 4:53 pm, mdipierro <[email protected]> wrote:
> I cannot tell if this is related. Otehr things may have caused this,
> for example missing or corrupted database/*.table files.
>
> Can you show me what is sql.log?
>
> On Sep 7, 4:43 pm, "mr.freeze" <[email protected]> wrote:
>
> > I'm not sure if this is related by I just turned migrations back *on*
> > in an app that uses MySQL and got this:
>
> > Traceback (most recent call last):
> >   File "C:\web2py\gluon\restricted.py", line 178, in restricted
> >     exec ccode in environment
> >   File "C:/web2py/applications/main/models/db.py", line 74, in
> > <module>
> >     db.Field("registration_key", length=256, writable=False,
> > readable=False, default=""))
> >   File "C:\web2py\gluon\sql.py", line 1033, in define_table
> >     query = t._create(migrate=migrate)
> >   File "C:\web2py\gluon\sql.py", line 1370, in _create
> >     self._db._execute(query)
> >   File "C:\web2py\gluon\sql.py", line 739, in <lambda>
> >     self._execute = lambda *a, **b: self._cursor.execute(*a, **b)
> >   File "C:\Python25\lib\site-packages\MySQLdb\cursors.py", line 166,
> > in execute
> >     self.errorhandler(self, exc, value)
> >   File "C:\Python25\lib\site-packages\MySQLdb\connections.py", line
> > 35, in defaulterrorhandler
> >     raise errorclass, errorvalue
> > OperationalError: (1050, "Table 'auth_user' already exists")
>
> > On Sep 7, 4:33 pm, mdipierro <[email protected]> wrote:
>
> > > So one of the changes from 1.66 to 1.67 is the default length of
> > > string/password/upload fields from 32/32/128 to 512/512/512.
>
> > > This will cause a migration in almost ALL existing applications
> > > (unless you have explicitly declared a length or you have
> > > migrate=False). This should not break anything and it is important to
> > > prevent future problems and current problems with HMAC+SHA512.
>
> > > If you have used the code in trunk for the last 2 weeks the migration
> > > has already happened.
> > > Has anybody had a problem with it? Specifically, has anybody tried it
> > > with MySQL?
>
> > > Can you think of any problem with this?
>
> > > Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to