Bugs item #2989601, was opened at 2010-04-19 23:50
Message generated for change (Comment added) made by gijzelaerr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2989601&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Clients "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Matthew W. Jones (matburt)
Assigned to: Gijs Molenaar (gijzelaerr)
Summary: Python Error "length of row doesn't match header"

Initial Comment:
When connecting to a remote Monet instance with the python client and setting 
the cursor's arraysize to something significant (100, as an example) then I 
will occasionally get the following error:

Traceback (most recent call last):
  File "afile.py", line 9, in <module>
    cur.execute("SELECT max(val), otherval"
  File "build/bdist.linux-x86_64/egg/monetdb/sql/cursors.py", line 203, in 
execute
  File "build/bdist.linux-x86_64/egg/monetdb/sql/cursors.py", line 445, in 
__store_result
  File "build/bdist.linux-x86_64/egg/monetdb/sql/cursors.py", line 529, in 
__parse_tuple
  File "build/bdist.linux-x86_64/egg/monetdb/sql/cursors.py", line 569, in 
__exception_handler
monetdb.monetdb_exceptions.InterfaceError: length of row doesn't match header


This doesn't happen when the client is used locally on the machine running the 
database.

It prevents the .arraysize cursor property from being used remotely.   It's 
default value is 1, which causes the server to take a ridiculously long time to 
send back large data sets.


----------------------------------------------------------------------

>Comment By: Gijs Molenaar (gijzelaerr)
Date: 2010-04-23 14:24

Message:
I can't reproduce the problem at the moment. Can you run your script in the
failing situation again, but with this in the top:

import logging
logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger('monetdb')

And report the debug output (only the last lines related to the exception)
into this bug report? This would help me a lot.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2989601&group_id=56967

------------------------------------------------------------------------------
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to