My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 26: python crashes while reading binary objects for MSSQL database
1 person starred this issue and may be notified of changes. Back to list
Status:  NoFix
Owner:  ----
Closed:  Jan 2009


 
Reported by xaphi...@googlemail.com, Jan 19, 2009
What is the expected output? What do you see instead?

Expected output is reading an image/binary objects from database.
Unfortunatelly for some binary objects I recieve this error message
followed by a crash of python:

assertion failed: getdata.cpp(222)
cbRead == 0 || pch[cbRead-element_size] != 0


What version of the product are you using? On what operating system?

Python 2.5.2
pyodbc-2.0.58.win32
Windows XP Professional SP 3
Microsoft SQL Server 2008 (but I am pretty sure it also occurs on 2005)

Do you have any idea how to solve the problem?
Jan 23, 2009
Project Member #1 mkleehammer
Can you please retry with the latest version of pyodbc, 2.1.13

https://code.google.com/p/pyodbc/downloads/list

There have been a lot of bugs fixed since 2.0.58.
Status: Investigating
Jan 27, 2009
#2 xaphi...@googlemail.com
Thank you very much. Upgrading to pyodbc 2.1.3 solved the issue.
Jan 27, 2009
Project Member #3 mkleehammer
(No comment was entered for this change.)
Status: Invalid
Nov 21, 2010
Project Member #4 mkleehammer
(No comment was entered for this change.)
Status: NoFix

Powered by Google Project Hosting