As part of an object, I have exported several zsql methods from Zope 2.2.2 and imported to Zope 2.6.2. In the later version I am using Psycopg as a database connection to Postgres. It is working fine for all ZSQL methods I have created within 2.6.2. However, the methods I imported from Zope 2.2.2 do not connect to the database. Message is "Warning: The database connection for this method cannot be found!". However, the Connection ID is shown and all appears to be in place. An ideas? Thanks in advance.
William Herring wrote at 2005-11-25 11:31 -0500:
... However, the methods I imported from Zope 2.2.2 do not connect to the database. Message is "Warning: The database connection for this method cannot be found!". However, the Connection ID is shown and all appears to be in place.
Where is this message? Comes it from an exception? If so, with what traceback? -- Dieter
William Herring wrote:
As part of an object, I have exported several zsql methods from Zope 2.2.2 and imported to Zope 2.6.2. In the later version I am using Psycopg as a database connection to Postgres. It is working fine for all ZSQL methods I have created within 2.6.2.
You should consider a version of Zope newer than the ancient 2.6.2... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
Dieter Maurer -
William Herring