[Zope] Zope and ODBC

Roland Reumerman zope_ddi@hotmail.com
Thu, 20 Jan 2000 17:29:58 CET


Some time ago I asked a question about some error I received when trying to 
do a SQL SELECT query. I didn't receive any reaction on that, and I couldn't 
find any mention of it on the Zope.org site, so I'll just ask it again..

I was running it on Windows NT 4 SP5, using the ZODBC product on Zope 2.1.2. 
It returned the following error message:
ErrorType: ValueError
Error Value: unpack sequence of wrong size

I had a look at Results.py, but couldn't detect anything out of the ordinary 
[with my limited knowledge of Zope and Python].
--------------
The trace was:

Traceback (innermost last):
File D:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 214,
in publish_module
File D:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 179,
in publish
File D:\Program Files\WebSite\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
   (Object: RoleManager)
File D:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 165,
in publish
File D:\Program Files\WebSite\lib\python\ZPublisher\mapply.py, line 160,
in mapply
   (Object: manage_test)
File D:\Program Files\WebSite\lib\python\ZPublisher\Publish.py, line 102,
in call_object
   (Object: manage_test)
File D:\Program Files\WebSite\lib\python\Shared\DC\ZRDB\Connection.py,
line 177, in manage_test
   (Object: RoleManager)
File D:\Program Files\WebSite\lib\python\Shared\DC\ZRDB\Results.py, line
104, in __init__
ValueError: (see above)
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com