hi after installing pysycopg following the steps as mentioned in the INSTALL file of pyscopg when i started Zope i got following error. Coluld anyone please guide me about it thanks you Vandana home4:/Zope-2.6.2-linux2-x86 # ./start ------ 2004-03-11T15:45:49 INFO(0) zdaemon Started subprocess: pid 10269 ------ 2004-03-11T15:45:51 ERROR(200) Zope Could not import Products.ZPsycopgDA Traceback (innermost last): File /Zope-2.6.2-linux2-x86/lib/python/OFS/Application.py, line 522, in import_product File /Zope-2.6.2-linux2-x86/lib/python/Products/ZPsycopgDA/__init__.py, line 92, in ? File /Zope-2.6.2-linux2-x86/lib/python/Products/ZPsycopgDA/DA.py, line 93, in ? File /Zope-2.6.2-linux2-x86/lib/python/Products/ZPsycopgDA/db.py, line 99, in ? ImportError: /Zope-2.6.2-linux2-x86/lib/python2.1/lib-dynload/psycopgmodule.so: undefined symbol: PyType_IsSubtype ------ 2004-03-11T15:45:51 PANIC(300) z2 Startup exception Traceback (innermost last): File /Zope-2.6.2-linux2-x86/z2.py, line 585, in ? File /Zope-2.6.2-linux2-x86/lib/python/Zope/__init__.py, line 46, in startup (Object: startup) File /Zope-2.6.2-linux2-x86/lib/python/Zope/App/startup.py, line 45, in startup File /Zope-2.6.2-linux2-x86/lib/python/OFS/Application.py, line 500, in import_products File /Zope-2.6.2-linux2-x86/lib/python/OFS/Application.py, line 522, in import_product File /Zope-2.6.2-linux2-x86/lib/python/Products/ZPsycopgDA/__init__.py, line 92, in ? File /Zope-2.6.2-linux2-x86/lib/python/Products/ZPsycopgDA/DA.py, line 93, in ? File /Zope-2.6.2-linux2-x86/lib/python/Products/ZPsycopgDA/db.py, line 99, in ? ImportError: /Zope-2.6.2-linux2-x86/lib/python2.1/lib-dynload/psycopgmodule.so: undefined symbol: PyType_IsSubtype __________________________________ Do you Yahoo!? Yahoo! Search - Find what you�re looking for faster http://search.yahoo.com
Il gio, 2004-03-11 alle 11:30, Vandana Bajaj ha scritto:
/Zope-2.6.2-linux2-x86/lib/python2.1/lib-dynload/psycopgmodule.so: undefined symbol: PyType_IsSubtype
you probably built psycopg using python 2.2/2.3 and your zope still uses python 2.1. see psycopg's FAQ about building with the python packaged with zope (http://wiki.initd.org/Projects/PsycopgFaq). -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer fog@debian.org INIT.D Developer fog@initd.org Don't dream it. Be it. -- Dr. Frank'n'further
(Learn to use better subject lines!) Vandana Bajaj wrote:
/Zope-2.6.2-linux2-x86/lib/python2.1/lib-dynload/psycopgmodule.so: undefined symbol: PyType_IsSubtype
Looks like you didn't manage to compile it properly, maybe you compiled it to the wrong python version... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
Federico Di Gregorio -
Vandana Bajaj