Newbie ZPsycopgDA question
I am very new to Zope & Python so please forgive me if this is stupid question or if the answer is posted elsewhere (I've looked!)... I am using Zope v. 2.8.0-a1, Python v.2.3, and psycopg-1.1.18. After adding the ZPsycopgDA connection in Zope the Status indicates I am connected to the database but the tables do not show up on the Browse tab and when I attempt to perform a query on the Test tab I get the following (from the log): Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.ZRDB.Connection, line 123, in manage_test Module Shared.DC.ZRDB.Results, line 76, in __init__ TypeError: object does not support item assignment I have tested adding tables and removing them and that works fine, but I have to use phpPgAdmin to see them. Any ideas on what I need to change? Thanks!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Heather Bumbalough wrote:
I am very new to Zope & Python so please forgive me if this is stupid question or if the answer is posted elsewhere (I've looked!)...
I am using Zope v. 2.8.0-a1, Python v.2.3, and psycopg-1.1.18. After adding the ZPsycopgDA connection in Zope the Status indicates I am connected to the database but the tables do not show up on the Browse tab and when I attempt to perform a query on the Test tab I get the following (from the log):
Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module Shared.DC.ZRDB.Connection, line 123, in manage_test Module Shared.DC.ZRDB.Results, line 76, in __init__ TypeError: object does not support item assignment
I have tested adding tables and removing them and that works fine, but I have to use phpPgAdmin to see them.
Any ideas on what I need to change?
Can you try with 2.8.0a2? I'm pretty sure that Sidnei da Silva checked in a fix for that. Tres. - -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCWrzMGqWXf00rNCgRAqyMAJ0Y3gpnR750LGrtDqlorViY4HdIfwCeNSPT rEh3HpddHe8o8phtlX1YMMk= =HK9D -----END PGP SIGNATURE-----
participants (2)
-
Heather Bumbalough -
Tres Seaver