Jorge Mota wrote: > Hi again :) > I am testing the triggers of my app, I have have sql server in spanish. and > when a trigger get fired dabo alert me at > > class DBQueryException(DatabaseException): > def __init__(self, err, sql): > self.sql = sql > self.err_desc = str(err) > > the error is > File > "c:\python25\lib\site-packages\Dabo-0.8.3-py2.5.egg\dabo\dException.py", > line 78, in __str__ > return self.err_desc + '\nSQL: ' + self.sql > UnicodeDecodeError: 'ascii' codec can't decode byte 0xa2 in position 79: > ordinal > not in range(128) > > because the odbc error have 'ó´ int he message: > internal error: SQL Server message 2627, severity 14, state 1, line 1: > Infracción de la restricción PRIMARY KEY 'PK_tbl_actividad'. No se puede > insertar una clave duplicada en el objeto 'tbl_actividad'. > SQL Server message 3621, severity 0, state 0, line 1: > Se terminó la instrucción. > DB-Lib error message 10007, severity 5: > General SQL Server error: Check messages from the SQL Server. > > best regards.
That's a dabo bug. Please get a username for the ticket system at: https://trac.dabodev.com/register After you are able to log in, you can add a ticket at: http://trac.dabodev.com/newticket Uwe and add a ticket at Please add aticket for this at _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
