sqlanywhere / sqlanydb

Python driver for SAP Sybase SQL Anywhere
Other
43 stars 20 forks source link

OSError on close() #26

Open Pyroman1x opened 2 years ago

Pyroman1x commented 2 years ago

The method close() is throwing an OSError exception

Exception ignored in: <function Connection.del at 0x0000024ADCA2BB80> Traceback (most recent call last): File ".venv\lib\site-packages\sqlanydb.py", line 596, in del self.close() File ".venv\lib\site-packages\sqlanydb.py", line 651, in close
self.api.sqlany_disconnect(c) OSError: exception: access violation writing 0x0000000000000024

This seems to be related to dbcapi.dll. It has been tested on several computers, using both python 3.9 and python 3.10, on Windows 10 computers and SQL Anywhere 17 with the same error every time.