you have a db(
db.table.id==value).select() where value is None.
This is not allowed on GAE.
Massimo
On Dec 26, 11:33 am, "zhao peng" <
zhaopen...@gmail.com> wrote:
> I very appreciate your help,thanks a lot.
> the app "note" and log on gae are attached.
>
> Thanks,
> Peng
>
> note1.2.tar
> 498KViewDownload
>
> [log_on_gae.txt2K ]207 "
http://web2note.appspot.com/note/note/index" -W 12-26 09:17AM 45.598
> no file lockingD 12-26 09:17AM 45.935
> no sqlite3 or dbapi2 driverD 12-26 09:17AM 45.939
> no MySQLdb driverD 12-26 09:17AM 45.942
> no psycopg2 driverD 12-26 09:17AM 45.947
> no cx_Oracle driverD 12-26 09:17AM 45.949
> no MSSQL driverD 12-26 09:17AM 45.960
> no kinterbasdb driverD 12-26 09:17AM 45.964
> no informixdb driverW 12-26 09:17AM 46.002
> unable to import dbhashW 12-26 09:17AM 46.008
> unable to import py_compileW 12-26 09:17AM 46.186
> unable to import wsgiserverW 12-26 09:17AM 47.027
> no cache.diskE 12-26 09:17AM 47.153
> Traceback (most recent call last):
> File "/base/data/home/apps/web2note/1.329967197348459447/gluon/restricted.py", line 62, in restricted
> exec ccode in environment
> File "/base/data/home/apps/web2note/1.329967197348459447/applications/note/controllers/note.py:listnote", line 29, in <module>
> File "/base/data/home/apps/web2note/1.329967197348459447/gluon/globals.py", line 55, in <lambda>
> self._caller=lambda f: f()
> File "/base/data/home/apps/web2note/1.329967197348459447/applications/note/controllers/note.py:listnote", line 16, in listnote
> File "/base/data/home/apps/web2note/1.329967197348459447/gluon/contrib/gql.py", line 210, in __eq__
> def __eq__(self,value): return SQLQuery(self,'=',value)
> File "/base/data/home/apps/web2note/1.329967197348459447/gluon/contrib/gql.py", line 329, in __init__
> self.get_one=QueryException(tablename=left._tablename,id=long(right))
> TypeError: long() argument must be a string or a number, not 'NoneType'