Hello, 

at the moment I'm using Firebird 2.1 and kinterbasdb 3.3 on Windows XP.
Dabo version information:

Platform: Win
Python Version: 2.6.1 on win32
Dabo Version: Version 0.9.0; Revision ~4846
UI Version: 2.8.9.1 on wxMSW

My database table contains a BLOB field, subtype text, character set
ISO8859_1. The Dabo form shows the content of this field in a dEditBox,
but at the moment nothing can be changed (or at least no change could
be
saved). But as soon as a record with content in the BLOB field is
shown,
I get this message:

F:\Sibylle\Dabodev\dabo_sib\pflichten>main.py
F:\Sibylle\Dabodev\dabo\db\dDataSet.py:40: DeprecationWarning:
object.__init__()
 takes no parameters
  super(dDataSet, self).__init__(*args, **kwargs)
F:\Sibylle\Dabodev\dabo\db\dCursorMixin.py:965: UnicodeWarning: Unicode
unequal
comparison failed to convert both arguments to Unicode - interpreting
them as 
being unequal
  if old_val != val:
F:\Sibylle\Dabodev\dabo\db\dCursorMixin.py:990: UnicodeWarning: Unicode
equal 
comparison failed to convert both arguments to Unicode - interpreting
them as 
being unequal
  if mem[fld] == val:
  
When I close the application, I get the dialog asking if I want to save
my changes (but I didn't make any).

I changed dbFirebird.py to use the new conversion setting
"type_conv=300" and the problem disappeared. But of course that only
works with the recent kinterbasdb _and_ Firebird 2.1 or higher, so it
would have to be surrounded with tests. The right place in the
kinterbasdb documentation is here:
  
http://firebirdsql.org/devel/python/docs/3.3.0/beyond-python-db-api.html#parameter-conversion

Regards,
Sibylle

-- 
Dr. Sibylle Koczian 


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to