[Zope] ODBC

Tom Smith Tom Smith" <tom@othermedia.com
Tue, 16 May 2000 14:43:35 +0100


When I create a  ZODBC Connection object and test it (on NT) with say,
"select * from users", I get this.................

Zope has encountered an error while publishing this resource.

Error Type: ValueError
Error Value: unpack sequence of wrong size


Traceback (innermost last):
  File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 214, in
publish_module
  File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 179, in
publish
  File C:\PROGRA~1\Zope\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
    (Object: RoleManager)
  File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 165, in
publish
  File C:\PROGRA~1\Zope\lib\python\ZPublisher\mapply.py, line 160, in mapply
    (Object: manage_test)
  File C:\PROGRA~1\Zope\lib\python\ZPublisher\Publish.py, line 102, in
call_object
    (Object: manage_test)
  File C:\PROGRA~1\Zope\lib\python\Shared\DC\ZRDB\Connection.py, line 177,
in manage_test
    (Object: RoleManager)
  File C:\PROGRA~1\Zope\lib\python\Shared\DC\ZRDB\Results.py, line 104, in
__init__
ValueError: (see above)

.........................however if I then create an SQL object with the
same SQL,  using the above connection, it works fine

why is this anyone

tom


------------------------------------------------------------
tom@othermedia.com tom.smith@i.am
http://www.dmrl.com http://www.OTHERmedia.com http://i.am/tom.smith
phone:// 0171 956 3160
mobile://07720 288285
video-conference:// 0171 956 3071

location://57a Farringdon Road, London, EC1M 3JB
http://www.streetmap.co.uk/streetmap.dll?Postcode2Map?EC1M+3JB&title=Digital
+Media+Research+Labs&back=DMRL&url=http://www.dmrl.com
------------------------------------------------------------