3 Nov
2000
3 Nov
'00
4:34 p.m.
Error Type: AttributeError Error Value: 'string' object has no attribute 'server'
The error is raised because in the Sybase Adapter an attribute 'server' of connection_string is accessed. Looking at the 2.1.6 code of Connection.py I found two new lines, which convert connection_string into a real string. Commenting out these lines makes everything work. But: IS THIS SAFE? connection_string is of type ZPublisher.HTTPRequest.record before the str() conversion.
Thanks for the report - I've checked in a fix for this for the next release. Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com