I get this on running setup-app off the tg2 trunk using postgres

  File 
"/home/sanjiv/tg2-trunk/lib/python2.5/site-packages/SQLAlchemy-0.5.0rc5dev-py2.5.egg/sqlalchemy/engine/base.py",
line 937, in _cursor_execute
    self._handle_dbapi_exception(e, statement, parameters, cursor)
  File 
"/home/sanjiv/tg2-trunk/lib/python2.5/site-packages/SQLAlchemy-0.5.0rc5dev-py2.5.egg/sqlalchemy/engine/base.py",
line 919, in _handle_dbapi_exception
    raise exc.DBAPIError.instance(statement, parameters, e,
connection_invalidated=is_disconnect)
sqlalchemy.exc.DataError: (DataError) value too long for type
character varying(40)
 'INSERT INTO tg_user (user_id, user_name, email_address,
display_name, password, created) VALUES (%(user_id)s, %(user_name)s,
%(email_address)s, %(display_name)s, %(password)s, %(created)s)'
{'user_id': 1L, 'created': datetime.datetime(2009, 1, 9, 23, 26, 13,
889017), 'user_name': 'manager', 'display_name': 'Example manager',
'password': 
'fad487626e4afa7e8ae71523bd6aa543caca90fda1ce984a3e5ebfa360b04003c38823f2666b76bd',
'email_address': 'mana...@somedomain.com'}

Do we need to increase the size of _password field? But why does it
work fine with sqlite?

regards
Sanjiv

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to turbogears-trunk@googlegroups.com
To unsubscribe from this group, send email to 
turbogears-trunk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to