Olá. Estou a tentar instalar o psycopg (2.0.7) no Plone 3.1-rc1 (unified installer - buildout), mas não percebo como instalar o ZpsycopgDA. Alguem me pode dar uma ajuda?
Adicionei aos eggs do buildout "psycopg2" e o link http://www.initd.org/pub/software/psycopg/ ao find-links. Aqui está o buildout da minha primeira tentativa: [buildout] eggs-directory=/home/Plone/Plone-3.1/buildout-cache/eggs download-cache=/home/Plone/Plone-3.1/buildout-cache/downloads newest = false parts = plone zope2 productdistros zeoserver client1 client2 zopepy precompile chown unifiedinstaller # Add additional egg download sources here. dist.plone.org contains archives # of Plone packages. find-links = http://dist.plone.org http://download.zope.org/ppix/ http://download.zope.org/distribution/ http://effbot.org/downloads # psycopg2 http://initd.org/pub/software/psycopg/ # Add additional eggs here # elementtree is required by Plone eggs = elementtree FeedParser psycopg2 (...) Como não resultou tentei adaptar o buildout deste site: http://dev.x3ng.com.br/browser/Recria/buildout/buildout.cfg Em anexo: http://www.nabble.com/file/p16763493/buildout2.txt buildout2.txt Mas quando tento abrir a conexão á base de dados obtenho o seguinte erro: Traceback (innermost last): * Module ZPublisher.Publish, line 119, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 42, in call_object * Module Shared.DC.ZRDB.Connection, line 172, in manage_open_connection * Module Products.ZPsycopgDA.DA, line 129, in connect * Module Products.ZPsycopgDA.db, line 87, in open * Module Products.ZPsycopgDA.db, line 52, in getconn DataError: invalid value for parameter "client_encoding": "" Experimentei o psycopg2 2.0.7 no plone 3.0.6 (unified installer) e funcionou sem problemas, agora não consigo é instalar o psycopg2 2.0.7 (e o ZPsycopgDA) num plone através do buildout. Agradeço desde já, Rui -- View this message in context: http://www.nabble.com/Buildout-e-psycopg-tp16763493s16083p16763493.html Sent from the Zope & Plone - Portugal/Brazil mailing list archive at Nabble.com.