Yes, that is what it turned out to be. You can refer to the discussion
I appended to your initial notice on the BIGINT change.
-Jim
On 5/8/2012 11:56 PM, Massimo Di Pierro wrote:
bigint types for ids perhaps?
On Tuesday, 8 May 2012 07:04:35 UTC-5, Jim S wrote:
Funny thing - After this happened, I re-built all my tables
(allowing web2py to do so) and after that everything worked ok for
that database. 4 of my other apps working off the same server did
not work and I didn't have time to recreate the DBs. Well
yesterday I updated from trunk again and all of a sudden my
re-built database no longer worked. Same error as below. But,
all of my old DBs started working again.
Am I losing it, or did something change with the MySQL adapter and
then change back with the latest release yesterday?
-Jim
On Tuesday, April 24, 2012 1:02:24 PM UTC-5, Jim S wrote:
Hi
I've recently updated my MySQL test server to version 5.1.61
on Ubuntu.
In my db.py I specify my field names with mixed case.
In my.cnf I have:
lower-case-table-names = 1
In the past this has always worked for me. But today, once I
upgraded MySQL, I'm getting the following on any request to
any of my apps:
Traceback(most recent call last):
File"C:\dev\web2py\gluon\restricted.py",line205,inrestricted
execccodeinenvironment
File"C:/dev/web2py/applications/mustangs/models/db.py"
<http://127.0.0.1:8000/admin/default/edit/mustangs/models/db.py>,line76,in<module>
format='%(heading)s')
File"C:\dev\web2py\gluon\dal.py",line6677,indefine_table
polymodel=polymodel)
File"C:\dev\web2py\gluon\dal.py",line795,increate_table
fake_migrate=fake_migrate)
File"C:\dev\web2py\gluon\dal.py",line861,inmigrate_table
and notisinstance(table[key].type,SQLCustomType)\
File"C:\dev\web2py\gluon\dal.py",line7105,in__getitem__
returndict.__getitem__(self,str(key))
KeyError:'newsitemid'
In the database, the field name is newsItemId.
Anyone else seeing this behavior with the latest MySQL on
Ubuntu? My other MySQL tools are working as you'd expect
regardless of the case I use.
-Jim