From izak at upfrontsystems.co.za Mon Nov 2 07:15:05 2009 From: izak at upfrontsystems.co.za (Izak Burger) Date: Mon, 02 Nov 2009 15:15:05 +0200 Subject: [Rhaptos] Siyavula Code Merge In-Reply-To: <4AEB10EA.4040606@rice.edu> References: <4AEB10EA.4040606@rice.edu> Message-ID: <4AEEDB59.6070505@upfrontsystems.co.za> Hi all, Ed Woodward wrote: > We released Light Weight Branding this morning. Please merge trunk to > your main branches. I just completed the merge. I neglected to trim some if the "Fixes #XXXX" lines which means some comments went to the issue tracker in duplicate. I apologise for that. A quick question. Some of the changes made by yourselves means we have to test against trunk for these products. Which products have you touched? So far I've been doing trial and error and found that I need trunk for CNXMLTransforms and CNXMLDocument. regards, Izak From ecw1 at rice.edu Mon Nov 2 08:05:20 2009 From: ecw1 at rice.edu (Ed Woodward) Date: Mon, 02 Nov 2009 08:05:20 -0600 Subject: [Rhaptos] Siyavula Code Merge In-Reply-To: <4AEEDB59.6070505@upfrontsystems.co.za> References: <4AEB10EA.4040606@rice.edu> <4AEEDB59.6070505@upfrontsystems.co.za> Message-ID: <4AEEE720.7070507@rice.edu> If you look at the collection-structure_redesign and light-weight-branding devsets, you can see the products we have modified. Ed Izak Burger wrote: > ** Please note: Replies to this mail will go to the list, not the original sender** > > Hi all, > > Ed Woodward wrote: > >> We released Light Weight Branding this morning. Please merge trunk to >> your main branches. >> > > I just completed the merge. I neglected to trim some if the "Fixes > #XXXX" lines which means some comments went to the issue tracker in > duplicate. I apologise for that. > > A quick question. Some of the changes made by yourselves means we have > to test against trunk for these products. Which products have you > touched? So far I've been doing trial and error and found that I need > trunk for CNXMLTransforms and CNXMLDocument. > > regards, > Izak > > _______________________________________________ > Rhaptos mailing list > Rhaptos at cnx.rice.edu > http://mailman.cnx.rice.edu/mailman/listinfo/rhaptos > > From izak at upfrontsystems.co.za Mon Nov 2 08:17:52 2009 From: izak at upfrontsystems.co.za (Izak Burger) Date: Mon, 02 Nov 2009 16:17:52 +0200 Subject: [Rhaptos] Dependency problem in connexions-cnxml Message-ID: <4AEEEA10.6040803@upfrontsystems.co.za> Hi all, debian/control for the connexions-collxml-1.0 debian package says it depends on connexions-cnxml-0.6. This is not installed on our local testing server, so the instructions in INSTALL.txt in the collection-structure-redesign-1 devset fails. I suspect this should be upped to version 0.7. regards, Izak From ecw1 at rice.edu Thu Nov 5 10:33:59 2009 From: ecw1 at rice.edu (Ed Woodward) Date: Thu, 05 Nov 2009 10:33:59 -0600 Subject: [Rhaptos] Error after Siyavula Install Message-ID: <4AF2FE77.8090108@rice.edu> I updated my local instance with new data and code from the Siyavula phase 3 devset and ran the script listed in INSTALL.txt. I am getting an error when the siyavula user tries to go to author_home. Error Type TypeError Error Value getLensOrganizers() got an unexpected keyword argument 'member_only' There are 3 scripts in the scripts directory of the devset. Should I run these as part of the install? Ed From roche at upfrontsystems.co.za Thu Nov 5 12:28:40 2009 From: roche at upfrontsystems.co.za (=?ISO-8859-1?Q?Roch=E9?= Compaan) Date: Thu, 05 Nov 2009 20:28:40 +0200 Subject: [Rhaptos] Error after Siyavula Install In-Reply-To: <4AF2FE77.8090108@rice.edu> References: <4AF2FE77.8090108@rice.edu> Message-ID: <1257445720.1945.176.camel@didi> On Thu, 2009-11-05 at 10:33 -0600, Ed Woodward wrote: > ** Please note: Replies to this mail will go to the list, not the original sender** > > I updated my local instance with new data and code from the Siyavula > phase 3 devset and ran the script listed in INSTALL.txt. I am getting > an error when the siyavula user tries to go to author_home. > > Error Type > TypeError > Error Value > getLensOrganizers() got an unexpected keyword argument 'member_only' > > There are 3 scripts in the scripts directory of the devset. Should I > run these as part of the install? I'm not sure about that but I don't think running any of the installation scripts will fix the error above since a migration script won't change how a method is called. Did you update your installation with the products from trunk that were changed by the collection-structure_redesign? Please provide the full traceback so that we can see what is making the call to getLensOrganizers. -- Roch? Compaan Upfront Systems http://www.upfrontsystems.co.za From phil at cnx.org Thu Nov 5 15:03:21 2009 From: phil at cnx.org (Philip Schatz) Date: Thu, 5 Nov 2009 15:03:21 -0600 Subject: [Rhaptos] Buildout: partial_ds gives misleading messages Message-ID: <61E20B35-8FE7-4F4F-9E2C-F9145F6AC70D@cnx.org> Julien: I tried building svn:cnx/buildout/partial_ds.cfg and while the data sync worked, starting the instance didn't. There are 2 stack traces at the very end of the build that make the build look like it failed (but didn't): Could not open connection. user=rhaptos dbname=partial port=5432 sslmode=disable Could not open connection. dbname=rhaptos_dev_db user=rhaptos host=localhost port=5558 It appears that the last part of [bootstrap-data] sets the connection string but doesn't actually commit since manually starting the instance attempts to connect to the original connection string. ---------------------------------------------- Just in case, here's what the entire stack trace looks like, followed by the error log when starting up an instance: /home/cnx/buildout/parts/plone/kupu/plone/__init__.py:32: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: kupu icon="kupu_icon.gif", 2009-11-05 07:38:31 ERROR Shared.DC.ZRDB.Connection Error connecting to relational database. Traceback (most recent call last): File "/home/cnx/buildout/parts/zope2/lib/python/Shared/DC/ZRDB/ Connection.py", line 71, in __setstate__ try: self.connect(self.connection_string) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/DA.py", line 276, in connect self._v_database_connection=DB(s, self.tilevel, self.encoding) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/db.py", line 112, in __init__ self.db = self.connect(self.connection) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/db.py", line 117, in connect o = psycopg.connect(connection) BadRequest: Could not open connection.
Connection string: user=rhaptos dbname=partial port=5432 sslmode=disable
psycopg.OperationalError
FATAL:  Ident authentication failed for user "rhaptos"

FATAL: role "rhaptos" does not exist Traceback (most recent call last): File "", line 1, in ? File "/home/cnx/buildout/scripts/set_connect_string.py", line 44, in ? main(app, sys.argv[1]) File "/home/cnx/buildout/scripts/set_connect_string.py", line 38, in main tilevel=da.tilevel, encoding=da.encoding, ustrings=da.ustrings) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/DA.py", line 203, in edit if check: self.connect(connection_string) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/DA.py", line 276, in connect self._v_database_connection=DB(s, self.tilevel, self.encoding) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/db.py", line 112, in __init__ self.db = self.connect(self.connection) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/db.py", line 117, in connect o = psycopg.connect(connection) BadRequest: Could not open connection.
Connection string: dbname=rhaptos_dev_db user=rhaptos host=localhost port=5558
psycopg.OperationalError
FATAL:  role "rhaptos" does not exist

LOG: received smart shutdown request LOG: autovacuum launcher shutting down -------------------------------------------------- Instance stack trace: 2009-11-05T08:48:14 ERROR Shared.DC.ZRDB.Connection Error connecting to relational database. Traceback (most recent call last): File "/home/cnx/buildout/parts/zope2/lib/python/Shared/DC/ZRDB/ Connection.py", line 71, in __setstate__ try: self.connect(self.connection_string) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/DA.py", line 276, in connect self._v_database_connection=DB(s, self.tilevel, self.encoding) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/db.py", line 112, in __init__ self.db = self.connect(self.connection) File "/home/cnx/buildout/eggs/ Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ ZPsycopgDA/db.py", line 117, in connect o = psycopg.connect(connection) BadRequest: Could not open connection.
Connection string: user=rhaptos dbname=partial port=5432 sslmode=disable
psycopg.OperationalError
FATAL:  Ident authentication failed for user "rhaptos"

------ 2009-11-05T08:48:14 ERROR Zope.SiteErrorLog http://localhost:9998/index_html Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply ... Module Products.PageTemplates.TALES, line 221, in evaluate - URL: file:CNXPloneSite/skins/CNXPloneSite/portlet_find_create.pt - Line 20, Column 2 - Expression: - Names: {'container': , ... 'request': , 'user': } Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ - __traceback_info__: here.content.countRhaptosObjects(['Module']) Module Python expression "here.content.countRhaptosObjects (['Module'])", line 1, in Module Products.RhaptosRepository.Repository, line 327, in countRhaptosObjects Module Products.RhaptosModuleStorage.ModuleVersionFolder, line 272, in countObjects Module Products.RhaptosModuleStorage.ZSQLFile, line 44, in __call__ Module Shared.DC.ZRDB.DA, line 464, in __call__ - DatabaseError: 20091105084814.820724239459 is not connected to a database From anguenot at gmail.com Thu Nov 5 15:31:25 2009 From: anguenot at gmail.com (Julien Anguenot) Date: Thu, 05 Nov 2009 15:31:25 -0600 Subject: [Rhaptos] Buildout: partial_ds gives misleading messages In-Reply-To: <61E20B35-8FE7-4F4F-9E2C-F9145F6AC70D@cnx.org> References: <61E20B35-8FE7-4F4F-9E2C-F9145F6AC70D@cnx.org> Message-ID: <4AF3442D.5000601@anguenot.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/05/2009 03:03 PM, Philip Schatz wrote: > I tried building svn:cnx/buildout/partial_ds.cfg and while the data > sync worked, starting the instance didn't. > > There are 2 stack traces at the very end of the build that make the > build look like it failed (but didn't): > > > Could not open connection. user=rhaptos dbname=partial port=5432 > sslmode=disable > Could not open connection. dbname=rhaptos_dev_db user=rhaptos > host=localhost port=5558 > > > It appears that the last part of [bootstrap-data] sets the connection > string but doesn't actually commit since manually starting the > instance attempts to connect to the original connection string. Did you see this only with the CNX partial? Would you please enter this inside our Jira please? J. > ---------------------------------------------- > Just in case, here's what the entire stack trace looks like, followed > by the error log when starting up an instance: > > > /home/cnx/buildout/parts/plone/kupu/plone/__init__.py:32: > DeprecationWarning: The product_name parameter of ToolInit is > deprecated and will be ignored in CMF 2.0: kupu > icon="kupu_icon.gif", > 2009-11-05 07:38:31 ERROR Shared.DC.ZRDB.Connection Error connecting > to relational database. > Traceback (most recent call last): > File "/home/cnx/buildout/parts/zope2/lib/python/Shared/DC/ZRDB/ > Connection.py", line 71, in __setstate__ > try: self.connect(self.connection_string) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/DA.py", line 276, in connect > self._v_database_connection=DB(s, self.tilevel, self.encoding) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/db.py", line 112, in __init__ > self.db = self.connect(self.connection) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/db.py", line 117, in connect > o = psycopg.connect(connection) > BadRequest: Could not open connection.
Connection string: strong>user=rhaptos dbname=partial port=5432 sslmode=disable CODE>
>
> psycopg.OperationalError
> FATAL:  Ident authentication failed for user "rhaptos"
> 
> 
> > FATAL: role "rhaptos" does not exist > Traceback (most recent call last): > File "", line 1, in ? > File "/home/cnx/buildout/scripts/set_connect_string.py", line 44, > in ? > main(app, sys.argv[1]) > File "/home/cnx/buildout/scripts/set_connect_string.py", line 38, > in main > tilevel=da.tilevel, encoding=da.encoding, ustrings=da.ustrings) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/DA.py", line 203, in edit > if check: self.connect(connection_string) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/DA.py", line 276, in connect > self._v_database_connection=DB(s, self.tilevel, self.encoding) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/db.py", line 112, in __init__ > self.db = self.connect(self.connection) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/db.py", line 117, in connect > o = psycopg.connect(connection) > BadRequest: Could not open connection.
Connection string: strong>dbname=rhaptos_dev_db user=rhaptos host=localhost > port=5558
>
> psycopg.OperationalError
> FATAL:  role "rhaptos" does not exist
> 
> 
> > LOG: received smart shutdown request > LOG: autovacuum launcher shutting down > > > > > > > > -------------------------------------------------- > Instance stack trace: > > > 2009-11-05T08:48:14 ERROR Shared.DC.ZRDB.Connection Error connecting > to relational database. > Traceback (most recent call last): > File "/home/cnx/buildout/parts/zope2/lib/python/Shared/DC/ZRDB/ > Connection.py", line 71, in __setstate__ > try: self.connect(self.connection_string) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/DA.py", line 276, in connect > self._v_database_connection=DB(s, self.tilevel, self.encoding) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/db.py", line 112, in __init__ > self.db = self.connect(self.connection) > File "/home/cnx/buildout/eggs/ > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > ZPsycopgDA/db.py", line 117, in connect > o = psycopg.connect(connection) > BadRequest: Could not open connection.
Connection string: strong>user=rhaptos dbname=partial port=5432 sslmode=disable CODE>
>
> psycopg.OperationalError
> FATAL:  Ident authentication failed for user "rhaptos"
> 
> 
> > ------ > 2009-11-05T08:48:14 ERROR Zope.SiteErrorLog http://localhost:9998/index_html > Traceback (innermost last): > Module ZPublisher.Publish, line 115, in publish > Module ZPublisher.mapply, line 88, in mapply > ... > Module Products.PageTemplates.TALES, line 221, in evaluate > - URL: file:CNXPloneSite/skins/CNXPloneSite/portlet_find_create.pt > - Line 20, Column 2 > - Expression: (['Module'])> > - Names: > {'container': , > ... > 'request': , > 'user': } > Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > - __traceback_info__: here.content.countRhaptosObjects(['Module']) > Module Python expression "here.content.countRhaptosObjects > (['Module'])", line 1, in > Module Products.RhaptosRepository.Repository, line 327, in > countRhaptosObjects > Module Products.RhaptosModuleStorage.ModuleVersionFolder, line 272, > in countObjects > Module Products.RhaptosModuleStorage.ZSQLFile, line 44, in __call__ > Module Shared.DC.ZRDB.DA, line 464, in __call__ > - 20091105084814.820724239459> > DatabaseError: 20091105084814.820724239459 is not connected to a > database > > > _______________________________________________ > Rhaptos mailing list > Rhaptos at cnx.rice.edu > http://mailman.cnx.rice.edu/mailman/listinfo/rhaptos -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkrzRCkACgkQ4rYagmLmfkPXRACgmWTAoYCnfI+xoGIGfTdotiUg pCsAnipI8b8IWCn/NKL+esuLRlIcn7Wh =pUt5 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: 0x62E67E43.asc Type: application/pgp-keys Size: 1340 bytes Desc: not available Url : http://mailman.cnx.rice.edu/pipermail/rhaptos/attachments/20091105/7241c363/attachment.key From kef at rice.edu Thu Nov 5 16:07:50 2009 From: kef at rice.edu (Kathi Fletcher) Date: Thu, 5 Nov 2009 16:07:50 -0600 Subject: [Rhaptos] Buildout: partial_ds gives misleading messages In-Reply-To: <4AF3442D.5000601@anguenot.org> References: <61E20B35-8FE7-4F4F-9E2C-F9145F6AC70D@cnx.org> <4AF3442D.5000601@anguenot.org> Message-ID: Hi Julien, Can you send me links to the demo instances using the partial dataset? Kathi On Thu, Nov 5, 2009 at 3:31 PM, Julien Anguenot wrote: > ** Please note: Replies to this mail will go to the list, not the original > sender** > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/05/2009 03:03 PM, Philip Schatz wrote: > > I tried building svn:cnx/buildout/partial_ds.cfg and while the data > > sync worked, starting the instance didn't. > > > > There are 2 stack traces at the very end of the build that make the > > build look like it failed (but didn't): > > > > > > Could not open connection. user=rhaptos dbname=partial port=5432 > > sslmode=disable > > Could not open connection. dbname=rhaptos_dev_db user=rhaptos > > host=localhost port=5558 > > > > > > It appears that the last part of [bootstrap-data] sets the connection > > string but doesn't actually commit since manually starting the > > instance attempts to connect to the original connection string. > > Did you see this only with the CNX partial? > > Would you please enter this inside our Jira please? > > J. > > > ---------------------------------------------- > > Just in case, here's what the entire stack trace looks like, followed > > by the error log when starting up an instance: > > > > > > /home/cnx/buildout/parts/plone/kupu/plone/__init__.py:32: > > DeprecationWarning: The product_name parameter of ToolInit is > > deprecated and will be ignored in CMF 2.0: kupu > > icon="kupu_icon.gif", > > 2009-11-05 07:38:31 ERROR Shared.DC.ZRDB.Connection Error connecting > > to relational database. > > Traceback (most recent call last): > > File "/home/cnx/buildout/parts/zope2/lib/python/Shared/DC/ZRDB/ > > Connection.py", line 71, in __setstate__ > > try: self.connect(self.connection_string) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/DA.py", line 276, in connect > > self._v_database_connection=DB(s, self.tilevel, self.encoding) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/db.py", line 112, in __init__ > > self.db = self.connect(self.connection) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/db.py", line 117, in connect > > o = psycopg.connect(connection) > > BadRequest: Could not open connection.
Connection string: > strong>user=rhaptos dbname=partial port=5432 sslmode=disable > CODE>
> >
> > psycopg.OperationalError
> > FATAL:  Ident authentication failed for user "rhaptos"
> >
> > 
> > > > FATAL: role "rhaptos" does not exist > > Traceback (most recent call last): > > File "", line 1, in ? > > File "/home/cnx/buildout/scripts/set_connect_string.py", line 44, > > in ? > > main(app, sys.argv[1]) > > File "/home/cnx/buildout/scripts/set_connect_string.py", line 38, > > in main > > tilevel=da.tilevel, encoding=da.encoding, ustrings=da.ustrings) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/DA.py", line 203, in edit > > if check: self.connect(connection_string) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/DA.py", line 276, in connect > > self._v_database_connection=DB(s, self.tilevel, self.encoding) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/db.py", line 112, in __init__ > > self.db = self.connect(self.connection) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/db.py", line 117, in connect > > o = psycopg.connect(connection) > > BadRequest: Could not open connection.
Connection string: > strong>dbname=rhaptos_dev_db user=rhaptos host=localhost > > port=5558
> >
> > psycopg.OperationalError
> > FATAL:  role "rhaptos" does not exist
> >
> > 
> > > > LOG: received smart shutdown request > > LOG: autovacuum launcher shutting down > > > > > > > > > > > > > > > > -------------------------------------------------- > > Instance stack trace: > > > > > > 2009-11-05T08:48:14 ERROR Shared.DC.ZRDB.Connection Error connecting > > to relational database. > > Traceback (most recent call last): > > File "/home/cnx/buildout/parts/zope2/lib/python/Shared/DC/ZRDB/ > > Connection.py", line 71, in __setstate__ > > try: self.connect(self.connection_string) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/DA.py", line 276, in connect > > self._v_database_connection=DB(s, self.tilevel, self.encoding) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/db.py", line 112, in __init__ > > self.db = self.connect(self.connection) > > File "/home/cnx/buildout/eggs/ > > Products.ZPsycopgDA-1.11_rhaptosdev_r30378-py2.4.egg/Products/ > > ZPsycopgDA/db.py", line 117, in connect > > o = psycopg.connect(connection) > > BadRequest: Could not open connection.
Connection string: > strong>user=rhaptos dbname=partial port=5432 sslmode=disable > CODE>
> >
> > psycopg.OperationalError
> > FATAL:  Ident authentication failed for user "rhaptos"
> >
> > 
> > > > ------ > > 2009-11-05T08:48:14 ERROR Zope.SiteErrorLog > http://localhost:9998/index_html > > Traceback (innermost last): > > Module ZPublisher.Publish, line 115, in publish > > Module ZPublisher.mapply, line 88, in mapply > > ... > > Module Products.PageTemplates.TALES, line 221, in evaluate > > - URL: file:CNXPloneSite/skins/CNXPloneSite/portlet_find_create.pt > > - Line 20, Column 2 > > - Expression: > (['Module'])> > > - Names: > > {'container': , > > ... > > 'request': , > > 'user': } > > Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > > - __traceback_info__: here.content.countRhaptosObjects(['Module']) > > Module Python expression "here.content.countRhaptosObjects > > (['Module'])", line 1, in > > Module Products.RhaptosRepository.Repository, line 327, in > > countRhaptosObjects > > Module Products.RhaptosModuleStorage.ModuleVersionFolder, line 272, > > in countObjects > > Module Products.RhaptosModuleStorage.ZSQLFile, line 44, in __call__ > > Module Shared.DC.ZRDB.DA, line 464, in __call__ > > - > 20091105084814.820724239459> > > DatabaseError: 20091105084814.820724239459 is not connected to a > > database > > > > > > _______________________________________________ > > Rhaptos mailing list > > Rhaptos at cnx.rice.edu > > http://mailman.cnx.rice.edu/mailman/listinfo/rhaptos > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkrzRCkACgkQ4rYagmLmfkPXRACgmWTAoYCnfI+xoGIGfTdotiUg > pCsAnipI8b8IWCn/NKL+esuLRlIcn7Wh > =pUt5 > -----END PGP SIGNATURE----- > > _______________________________________________ > Rhaptos mailing list > Rhaptos at cnx.rice.edu > http://mailman.cnx.rice.edu/mailman/listinfo/rhaptos > > -- Katherine Fletcher, Connexions Project Manager 5615 Kirby Drive, Ste 350 Work: 713.348.3662 Work Cell: 713.248.7959 Connexions Coordinator: Emily Lopez 713-348-3674 Web: http://cnx.org Email: kef at cnx.org, kef at rice.edu Connexions Social Media: http://blog.cnx.org , http://twitter.com/cnxorg, http://www.facebook.com/cnx.org Personal Email: kathi.fletcher at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.cnx.rice.edu/pipermail/rhaptos/attachments/20091105/a877273b/attachment-0001.htm From ecw1 at rice.edu Mon Nov 9 15:03:39 2009 From: ecw1 at rice.edu (Ed Woodward) Date: Mon, 09 Nov 2009 15:03:39 -0600 Subject: [Rhaptos] Error after Siyavula Install In-Reply-To: <1257445720.1945.176.camel@didi> References: <4AF2FE77.8090108@rice.edu> <1257445720.1945.176.camel@didi> Message-ID: <4AF883AB.8050906@rice.edu> Sorry I haven't gotten back. The trace is below. Ed Traceback (most recent call last): File "/opt/Zope-2.9.8/lib/python/zExceptions/ExceptionFormatter.py", line 156, in formatLine supp = factory(*args) TypeError: __init__() takes exactly 2 arguments (3 given) Traceback (most recent call last): File "/opt/Zope-2.9.8/lib/python/zExceptions/ExceptionFormatter.py", line 156, in formatLine supp = factory(*args) TypeError: __init__() takes exactly 2 arguments (3 given) 2009-11-09 14:29:01 ERROR Zope.SiteErrorLog http://musser.cnx.rice.edu:8080/mycnx/author_home Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Products.CMFFormController.FSControllerPageTemplate, line 90, in __call__ Module Products.CMFFormController.BaseControllerPageTemplate, line 31, in _call Module Shared.DC.Scripts.Bindings, line 311, in __call__ Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 195, in _exec Module Products.CacheSetup.patch_cmf, line 48, in FSPT_pt_render Module Products.CacheSetup.patch_cmf, line 120, in PT_pt_render Module TAL.TALInterpreter, line 238, in __call__ Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 780, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 728, in do_defineMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 772, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 715, in do_condition Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 715, in do_condition Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 507, in do_setLocal_tal Module Products.PageTemplates.TALES, line 221, in evaluate - URL: file:RhaptosSite/skins/rhaptos_site/author_home.cpt - Line 159, Column 14 - Expression: - Names: {'container': , 'context': , 'default': , 'here': , 'loop': , 'modules': , 'nothing': None, 'options': {'args': (), 'state': }, 'repeat': , 'request': , 'root': , 'template': , 'traverse_subpath': [], 'user': } Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ - __traceback_info__: context.restrictedTraverse('@@lensorganizers')(member_only=True) or None Module Python expression "context.restrictedTraverse('@@lensorganizers')(member_only=True) or None", line 1, in TypeError: getLensOrganizers() got an unexpected keyword argument 'member_only' Traceback (most recent call last): File "/opt/Zope-2.9.8/lib/python/zExceptions/ExceptionFormatter.py", line 156, in formatLine supp = factory(*args) TypeError: __init__() takes exactly 2 arguments (3 given) Roch? Compaan wrote: > ** Please note: Replies to this mail will go to the list, not the original sender** > > On Thu, 2009-11-05 at 10:33 -0600, Ed Woodward wrote: > >> ** Please note: Replies to this mail will go to the list, not the original sender** >> >> I updated my local instance with new data and code from the Siyavula >> phase 3 devset and ran the script listed in INSTALL.txt. I am getting >> an error when the siyavula user tries to go to author_home. >> >> Error Type >> TypeError >> Error Value >> getLensOrganizers() got an unexpected keyword argument 'member_only' >> >> There are 3 scripts in the scripts directory of the devset. Should I >> run these as part of the install? >> > > I'm not sure about that but I don't think running any of the > installation scripts will fix the error above since a migration script > won't change how a method is called. > > Did you update your installation with the products from trunk that were > changed by the collection-structure_redesign? > > Please provide the full traceback so that we can see what is making the > call to getLensOrganizers. > > > From roche at upfrontsystems.co.za Tue Nov 10 06:04:32 2009 From: roche at upfrontsystems.co.za (=?ISO-8859-1?Q?Roch=E9?= Compaan) Date: Tue, 10 Nov 2009 14:04:32 +0200 Subject: [Rhaptos] Error after Siyavula Install In-Reply-To: <4AF883AB.8050906@rice.edu> References: <4AF2FE77.8090108@rice.edu> <1257445720.1945.176.camel@didi> <4AF883AB.8050906@rice.edu> Message-ID: <1257854672.2017.10.camel@didi> Hi Ed The error suggests that you don't have the correct checkout for LensOrganizer. Please verify that your LensOrganizer checkout points to https://software.cnx.rice.edu/svn/LensOrganizer/branches/siyavula-phase-3 as indicated in the devset. -- Roch? Compaan Upfront Systems http://www.upfrontsystems.co.za On Mon, 2009-11-09 at 15:03 -0600, Ed Woodward wrote: > ** Please note: Replies to this mail will go to the list, not the original sender** > > Sorry I haven't gotten back. The trace is below. > > Ed > > Traceback (most recent call last): > File "/opt/Zope-2.9.8/lib/python/zExceptions/ExceptionFormatter.py", > line 156, in formatLine > supp = factory(*args) > TypeError: __init__() takes exactly 2 arguments (3 given) > Traceback (most recent call last): > File "/opt/Zope-2.9.8/lib/python/zExceptions/ExceptionFormatter.py", > line 156, in formatLine > supp = factory(*args) > TypeError: __init__() takes exactly 2 arguments (3 given) > 2009-11-09 14:29:01 ERROR Zope.SiteErrorLog > http://musser.cnx.rice.edu:8080/mycnx/author_home > Traceback (innermost last): > Module ZPublisher.Publish, line 115, in publish > Module ZPublisher.mapply, line 88, in mapply > Module ZPublisher.Publish, line 41, in call_object > Module Products.CMFFormController.FSControllerPageTemplate, line 90, > in __call__ > Module Products.CMFFormController.BaseControllerPageTemplate, line 31, > in _call > Module Shared.DC.Scripts.Bindings, line 311, in __call__ > Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec > Module Products.CMFCore.FSPageTemplate, line 195, in _exec > Module Products.CacheSetup.patch_cmf, line 48, in FSPT_pt_render > Module Products.CacheSetup.patch_cmf, line 120, in PT_pt_render > Module TAL.TALInterpreter, line 238, in __call__ > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 749, in do_useMacro > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 457, in do_optTag_tal > Module TAL.TALInterpreter, line 442, in do_optTag > Module TAL.TALInterpreter, line 437, in no_tag > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 780, in do_defineSlot > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 457, in do_optTag_tal > Module TAL.TALInterpreter, line 442, in do_optTag > Module TAL.TALInterpreter, line 437, in no_tag > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 728, in do_defineMacro > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 772, in do_defineSlot > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 715, in do_condition > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 715, in do_condition > Module TAL.TALInterpreter, line 281, in interpret > Module TAL.TALInterpreter, line 507, in do_setLocal_tal > Module Products.PageTemplates.TALES, line 221, in evaluate > - URL: file:RhaptosSite/skins/rhaptos_site/author_home.cpt > - Line 159, Column 14 > - Expression: context.restrictedTraverse('@@lensorganizers')(member_only=True) or None> > - Names: > {'container': , > 'context': , > 'default': 0xb7174b8c>, > 'here': , > 'loop': 0xdcef34c>, > 'modules': > 0xb7199ccc>, > 'nothing': None, > 'options': {'args': (), > 'state': > 0xd9061ac>}, > 'repeat': 0xdcef34c>, > 'request': URL=http://musser.cnx.rice.edu:8080/mycnx/author_home>, > 'root': , > 'template': for /plone/mycnx>, > 'traverse_subpath': [], > 'user': } > Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > - __traceback_info__: > context.restrictedTraverse('@@lensorganizers')(member_only=True) or None > Module Python expression > "context.restrictedTraverse('@@lensorganizers')(member_only=True) or > None", line 1, in > TypeError: getLensOrganizers() got an unexpected keyword argument > 'member_only' > Traceback (most recent call last): > File "/opt/Zope-2.9.8/lib/python/zExceptions/ExceptionFormatter.py", > line 156, in formatLine > supp = factory(*args) > TypeError: __init__() takes exactly 2 arguments (3 given) > > > Roch? Compaan wrote: > > ** Please note: Replies to this mail will go to the list, not the original sender** > > > > On Thu, 2009-11-05 at 10:33 -0600, Ed Woodward wrote: > > > >> ** Please note: Replies to this mail will go to the list, not the original sender** > >> > >> I updated my local instance with new data and code from the Siyavula > >> phase 3 devset and ran the script listed in INSTALL.txt. I am getting > >> an error when the siyavula user tries to go to author_home. > >> > >> Error Type > >> TypeError > >> Error Value > >> getLensOrganizers() got an unexpected keyword argument 'member_only' > >> > >> There are 3 scripts in the scripts directory of the devset. Should I > >> run these as part of the install? > >> > > > > I'm not sure about that but I don't think running any of the > > installation scripts will fix the error above since a migration script > > won't change how a method is called. > > > > Did you update your installation with the products from trunk that were > > changed by the collection-structure_redesign? > > > > Please provide the full traceback so that we can see what is making the > > call to getLensOrganizers. > > > > > > > > _______________________________________________ > Rhaptos mailing list > Rhaptos at cnx.rice.edu > http://mailman.cnx.rice.edu/mailman/listinfo/rhaptos From ecw1 at rice.edu Tue Nov 10 08:31:18 2009 From: ecw1 at rice.edu (Ed Woodward) Date: Tue, 10 Nov 2009 08:31:18 -0600 Subject: [Rhaptos] Error after Siyavula Install In-Reply-To: <1257854672.2017.10.camel@didi> References: <4AF2FE77.8090108@rice.edu> <1257445720.1945.176.camel@didi> <4AF883AB.8050906@rice.edu> <1257854672.2017.10.camel@didi> Message-ID: <4AF97936.3030603@rice.edu> I did check that I was pointing to the devset before sending. However, my svn up did not take for some reason. Checked out everything again and it appears to be working. Ed Roch? Compaan wrote: > ** Please note: Replies to this mail will go to the list, not the original sender** > > Hi Ed > > The error suggests that you don't have the correct checkout for > LensOrganizer. > > Please verify that your LensOrganizer checkout points to > https://software.cnx.rice.edu/svn/LensOrganizer/branches/siyavula-phase-3 as indicated in the devset. > > From ecw1 at rice.edu Wed Nov 11 14:05:17 2009 From: ecw1 at rice.edu (Ed Woodward) Date: Wed, 11 Nov 2009 14:05:17 -0600 Subject: [Rhaptos] Express Edit in Siyavula Phase 3 Message-ID: <4AFB18FD.5020807@rice.edu> Roche, It looks like the Express Edit devset got merged into the Siyavula Phase 3 devset since I am seeing the Edit/Reuse option on the Content Actions. We were not expecting these to be released at the same time. Can Express Edit be back out? Thanks, Ed From roche at upfrontsystems.co.za Wed Nov 11 14:32:11 2009 From: roche at upfrontsystems.co.za (=?ISO-8859-1?Q?Roch=E9?= Compaan) Date: Wed, 11 Nov 2009 22:32:11 +0200 Subject: [Rhaptos] Express Edit in Siyavula Phase 3 In-Reply-To: <4AFB18FD.5020807@rice.edu> References: <4AFB18FD.5020807@rice.edu> Message-ID: <1257971531.1958.163.camel@didi> On Wed, 2009-11-11 at 14:05 -0600, Ed Woodward wrote: > ** Please note: Replies to this mail will go to the list, not the original sender** > > Roche, > > It looks like the Express Edit devset got merged into the Siyavula Phase > 3 devset since I am seeing the Edit/Reuse option on the Content > Actions. We were not expecting these to be released at the same time. > Can Express Edit be back out? This shouldn't be merged with the Siyavula Phase 3 branch, so I'll make sure that this is sorted out. -- Roch? Compaan Upfront Systems http://www.upfrontsystems.co.za From jccooper at rice.edu Thu Nov 12 18:34:46 2009 From: jccooper at rice.edu (J Cameron Cooper) Date: Thu, 12 Nov 2009 18:34:46 -0600 Subject: [Rhaptos] catalog size vs speed experiment Message-ID: <4AFCA9A6.3040503@rice.edu> I had hoped to get this done sooner, but I didn't have the time, alas. Anyway, I've begun to suspect that the size of our catalog is causing a lot of slowness, so I wrote a script to remove most everything from the catalog: everything but my stuff, essentially. catalog = app.plone.portal_catalog for brain in catalog(): path = brain.getPath() if path.find('jccooper') == -1: try: catalog.uncatalog_object(path) except: pass else: print "keeping:", path It has only removed maybe half of what's in the catalog, but I haven't had the chance to debug it. A slightly old copy of production has had this run on boole.cnx.rice.edu:8080 so you can see what happens. I really haven't had a chance to work with this appropriately, but it would be a good project for someone, just to let us know what's going on. It seems a little better behaved, but it hasn't really been trimmed as much as I hoped (but even so the process took quite a while.) Other experiments: delete all the entries in collections and lenses (which we could perhaps turn into less-expensive types of data) and delete the actual objects that I here uncatalog. --jcc From ecw1 at rice.edu Mon Nov 16 14:35:00 2009 From: ecw1 at rice.edu (Ed Woodward) Date: Mon, 16 Nov 2009 14:35:00 -0600 Subject: [Rhaptos] Express Edit in Siyavula Phase 3 In-Reply-To: <1257971531.1958.163.camel@didi> References: <4AFB18FD.5020807@rice.edu> <1257971531.1958.163.camel@didi> Message-ID: <4B01B774.6090301@rice.edu> Roche, Any update on this? I haven't seen any changes to remove Express Edit. Ed Roch? Compaan wrote: > ** Please note: Replies to this mail will go to the list, not the original sender** > > On Wed, 2009-11-11 at 14:05 -0600, Ed Woodward wrote: > >> ** Please note: Replies to this mail will go to the list, not the original sender** >> >> Roche, >> >> It looks like the Express Edit devset got merged into the Siyavula Phase >> 3 devset since I am seeing the Edit/Reuse option on the Content >> Actions. We were not expecting these to be released at the same time. >> Can Express Edit be back out? >> > > This shouldn't be merged with the Siyavula Phase 3 branch, so I'll make > sure that this is sorted out. > > > From hedleyroos at gmail.com Mon Nov 16 14:37:30 2009 From: hedleyroos at gmail.com (Hedley Roos) Date: Mon, 16 Nov 2009 22:37:30 +0200 Subject: [Rhaptos] Express Edit in Siyavula Phase 3 In-Reply-To: <4B01B774.6090301@rice.edu> References: <4AFB18FD.5020807@rice.edu> <1257971531.1958.163.camel@didi> <4B01B774.6090301@rice.edu> Message-ID: <776caf8b0911161237k2a8884f0qfa54f2045be7985f@mail.gmail.com> Hi Ed I went through the logs but I cannot find who merged express edit into the siyavula branch. I'm pretty sure it wasn't me but I'll have a look with Roche tomorrow morning. Sorry for the delay. Hedley From hedley at upfrontsystems.co.za Tue Nov 17 04:19:01 2009 From: hedley at upfrontsystems.co.za (Hedley Roos) Date: Tue, 17 Nov 2009 12:19:01 +0200 Subject: [Rhaptos] Express Edit in Siyavula Phase 3 In-Reply-To: <776caf8b0911161237k2a8884f0qfa54f2045be7985f@mail.gmail.com> References: <4AFB18FD.5020807@rice.edu> <1257971531.1958.163.camel@didi> <4B01B774.6090301@rice.edu> <776caf8b0911161237k2a8884f0qfa54f2045be7985f@mail.gmail.com> Message-ID: <4B027895.80104@upfrontsystems.co.za> I un-merged quite a few accidental merges. The branch should be clean now.