Subject | Re: [firebird-python] next driver version |
---|---|
Author | Werner F. Bruhin |
Post date | 2010-10-26T15:12:37Z |
On 26/10/2010 17:04, Hajime Nakagami wrote:HiHhm, that would be even nicer:)
Can you execute without 3to2 at version of 0.2 ?
Yes, it works up to the backup, i.e. output is this:
('dsn=', 'localhost:C:\\dev\\firebirdNewDriver\\nakagami-pyfirebirdsql-a4068ba\\firebirdsql/test.fdb')
['\x0b\x00\x00\x00', '\x02\x00\x00\x00', '\x06SYSDBA']
[(u'A', 496, None, 4, None, 0, False), (u'B', 448, None, -1, None, 0, False), (u'C', 448, None, -1, None, 0, True), (u'D', 580, None, 8, None, -3, True), (u'E', 570, None, 4, None, 0, True), (u'F', 510, None, 8, None, 0, True), (u'G', 560, None, 4, None, 0, True), (u'H', 520, None, 8, None, 0, True)]
[1, u'a', u'Hajime', Decimal('-0.123'), datetime.date(1967, 8, 11), datetime.datetime(1967, 8, 11, 23, 45, 1), datetime.time(23, 45, 1), None]
[2, u'A', u'\x00\x00\x00\x00\x00\x00\x00\x01', Decimal('-0.123'), datetime.date(1999, 1, 25), datetime.datetime(1967, 8, 11, 23, 45, 1), datetime.time(0, 0, 1), None]
[3, u'X', u'Y', Decimal('-0.123'), datetime.date(2001, 7, 5), datetime.datetime(1967, 8, 11, 23, 45, 1), datetime.time(0, 1, 2), None]
backup database
and then this traceback.
Traceback (most recent call last):
File "fbcore.py", line 1242, in <module>
svc.backup_database(TEST_BACKUP_FILE, sys.stdout)
File "fbcore.py", line 1152, in backup_database
(h, oid, buf) = self._op_response()
File "fbcore.py", line 1020, in _op_response
message += messages[gds_code]
KeyError: 62
Exception AttributeError: "'NoneType' object has no attribute 'Packer'" in <bound method service_mgr.__del__ of <__main__.service_mgr instance at 0x0244B6E8>> ignored
This looks better and better!
Werner