Typos can be so annoying...
> class pm_users(SQLObject):
> _fromDatabase = True
> _style = MixedCaseStyle
_style = MixedCaseStyle()
of course...
Unfortunately, now there is a ValueError...
------------------------------------------------------------------------------
Traceback (most recent call last):
File "./sq.py", line 32, in ?
for i in pm_users.select():
File "/home/fs/sqlobject/sresults.py", line 149, in __iter__
return iter(list(self.lazyIter()))
File "/home/fs/sqlobject/sresults.py", line 157, in lazyIter
return conn.iterSelect(self)
File "/home/fs/sqlobject/dbconnection.py", line 361, in iterSelect
select, keepConnection=False)
File "/home/fs/sqlobject/dbconnection.py", line 687, in __init__
self.dbconn._executeRetry(self.rawconn, self.cursor, self.query)
File "/home/fs/sqlobject/mysql/mysqlconnection.py", line 60, in _executeRetry
return cursor.execute(query)
File "/usr/lib64/python2.3/site-packages/MySQLdb/cursors.py", line 95, in
execute
return self._execute(query, args)
File "/usr/lib64/python2.3/site-packages/MySQLdb/cursors.py", line 114, in
_execute
self.errorhandler(self, exc, value)
File "/usr/lib64/python2.3/site-packages/MySQLdb/connections.py", line 33,
in defaulterrorhandler
raise errorclass, errorvalue
ValueError: invalid literal for int(): 1-
------------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss