i frequently get this error on simple select db queries.
can you tell what is wrong?
thanks


Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/processing-0.52-py2.5-linux-x86_64.egg/processing/process.py",
line 227, in _bootstrap
    self.run()
  File
"/usr/lib/python2.5/site-packages/processing-0.52-py2.5-linux-x86_64.egg/processing/process.py",
line 85, in run
    self._target(*self._args, **self._kwargs)
  File "./xxx.py", line 20, in sendalert
    u = abc.User(id)
  File "/home/kevin/apps/abc.py", line 1544, in __new__
    x = db.query('select * from users where id=$id',vars=locals()).list()
  File "/home/kevin/web/db.py", line 592, in query
    self._db_execute(db_cursor, sql_query)
  File "/home/kevin/web/db.py", line 543, in _db_execute
    out = cur.execute(sql_query.query(paramstyle), sql_query.values())
InternalError: SET TRANSACTION ISOLATION LEVEL must be called before any
query

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to