[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/ZPublisher/tests/testPublish.py Remove deprecation warning induced by refactoring in Z3.
Log message for revision 70358: Remove deprecation warning induced by refactoring in Z3. Changed: U Zope/branches/2.10/lib/python/ZPublisher/tests/testPublish.py -=- Modified: Zope/branches/2.10/lib/python/ZPublisher/tests/testPublish.py === --- Zope/branches/2.10/lib/python/ZPublisher/tests/testPublish.py 2006-09-24 17:59:04 UTC (rev 70357) +++ Zope/branches/2.10/lib/python/ZPublisher/tests/testPublish.py 2006-09-24 22:34:09 UTC (rev 70358) @@ -1,4 +1,4 @@ -from zope.app.publication.browser import setDefaultSkin +from zope.publisher.browser import setDefaultSkin from zope.publisher.interfaces.browser import IDefaultBrowserLayer from ZPublisher import Retry from ZODB.POSException import ConflictError ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
Re: [Zope-dev] WebDAV PUT factory tests failing on 2.10 branch
OK, a fix has been checked in. I hope it doesn't break anything, my checkout now fails a lot of tests with or without this change, so I'm checking it in on the 2.10 branch, and I'll have to recheck it out and try again, and I don't have time tonight. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7848 Blamelist: baijum,ctheune,dobe,faassen,fdrake,jinty,jukart,regebro,srichter,tseaver,wosc BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Windows 2000 zc-bbwin2
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Windows 2000 zc-bbwin2. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7848 Blamelist: baijum,ctheune,dobe,faassen,fdrake,jinty,jukart,regebro,srichter,tseaver,wosc BUILD FAILED: failed compile sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] [ZODB] probable small hole in transaction management
ATT: Crosspost. Please reply to zodb-dev@zope.org (Reply-To header set). We recently have had a problem that seems to indicate a small hole in ZODB (3.4) transaction management. Here is the sequence of events: We have got a repeated ConflictError, until ZPublisher gave up. After this, the ZODB connection seems to be in a strange state: We get continuous ERROR ZODB.Connection Close callback failed for ZODB.Mount.MountedConnectionCloser instance at 0x9653a28c ... ConnectionStateError: Cannot close a connection joined to a transaction A 'Shared.DC.ZRDB.TM.TM' instance no longer registers with Zope's transaction system (almost surely, because it _registered flag is still set). The relational database behind this TM gets very unhappy with its never ending transaction No other entries in the logfile that could help to understand what happens. -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7849 Blamelist: tseaver BUILD FAILED: failed test sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Windows 2000 zc-bbwin2
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Windows 2000 zc-bbwin2. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7849 Blamelist: tseaver BUILD FAILED: failed compile sincerely, -The Buildbot ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope] Newbie Question
Is it possible to have the same host running ZOPE 2 and ZOPE 3? I would like to put both on a Mac OS X server. I have Apache 2.2 running on it and PostgreSQL version 8.1.3 running my existing software. I'd like to add zwiki which uses ZOPE 2. And then add ZOPE 3 so that I can start developing a new application. Can all three of these coexist on the same machine? Are there any suggested do's and don'ts to follow in such an arrangement?Thank you, Perry SmithEase Software, Inc.[EMAIL PROTECTED]http://www.easesoftware.comSATA Products for IBMs RS/6000, pSeries, and AIX systems ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Newbie Question
--On 24. September 2006 10:49:12 -0500 Perry Smith [EMAIL PROTECTED] wrote: Is it possible to have the same host running ZOPE 2 and ZOPE 3? I would like to put both on a Mac OS X server. I have Apache 2.2 running on it and PostgreSQL version 8.1.3 running my existing software. I'd like to add zwiki which uses ZOPE 2. And then add ZOPE 3 so that I can start developing a new application. Can all three of these coexist on the same machine? Are there any suggested do's and don'ts to follow in such an arrangement? You can use configure --prefix=/path/to/dir to install (at least Zope 2) into a custom location. This might also work for Zope 3. In addition you must adjust the ports in etc/zope.conf (for Zope 2) in order to run multiple Zope instances on different ports. -aj pgpD86nJBoM8A.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] unexpected keyword argument 'error'
Hello, I am trying to make a Data.fs file work on my local workstation. I've download it from my server. My server runs Debian with Python, Zope and Plone installed from sources. My workstation runs Gentoo with Python, Zope and Plone installed from ebuild but the same versions as on the server: Python 2.4.3 Zope 2.9.4 Plone 2.5 I've put the Data.fs and started the local Zope. But no matter what I try to access I always get the error: Error Value: _log() got an unexpected keyword argument 'error' The whole error is: Site Error An error was encountered while publishing this resource. Error Type: TypeError Error Value: _log() got an unexpected keyword argument 'error' Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. and the error.log reveals: -- 2006-09-24T16:34:06 ERROR Zope.SiteErrorLog http://phoenix.pupeno.com:8080 Traceback (innermost last): Module ZPublisher.Publish, line 106, in publish Module ZPublisher.BaseRequest, line 275, in traverse Module ZPublisher.BeforeTraverse, line 108, in __call__ Module logging, line 999, in error TypeError: _log() got an unexpected keyword argument 'error' I can't find any other useful information. Any ideas what the problem might be ? Thank you. -- Pupeno [EMAIL PROTECTED] (http://pupeno.com) pgpLFCB7XUcGd.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] unexpected keyword argument 'error'
--On 24. September 2006 17:02:21 + Pupeno [EMAIL PROTECTED] wrote: Hello, I am trying to make a Data.fs file work on my local workstation. I've download it from my server. My server runs Debian with Python, Zope and Plone installed from sources. My workstation runs Gentoo with Python, Zope and Plone installed from ebuild but the same versions as on the server: Python 2.4.3 Zope 2.9.4 Plone 2.5 I've put the Data.fs and started the local Zope. But no matter what I try to access I always get the error: Error Value: _log() got an unexpected keyword argument 'error' This is a known error that will be fixed in Zope 2.9.5. -aj pgplhVgRjdg4f.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] unexpected keyword argument 'error'
On Sunday 24 September 2006 17:12, Andreas Jung wrote: --On 24. September 2006 17:02:21 + Pupeno [EMAIL PROTECTED] wrote: Hello, I am trying to make a Data.fs file work on my local workstation. I've download it from my server. My server runs Debian with Python, Zope and Plone installed from sources. My workstation runs Gentoo with Python, Zope and Plone installed from ebuild but the same versions as on the server: Python 2.4.3 Zope 2.9.4 Plone 2.5 I've put the Data.fs and started the local Zope. But no matter what I try to access I always get the error: Error Value: _log() got an unexpected keyword argument 'error' This is a known error that will be fixed in Zope 2.9.5. Is there any workaround ? -- Pupeno [EMAIL PROTECTED] (http://pupeno.com) pgpESzuccvfO6.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] unexpected keyword argument 'error'
--On 24. September 2006 17:30:02 + Pupeno [EMAIL PROTECTED] wrote: On Sunday 24 September 2006 17:12, Andreas Jung wrote: --On 24. September 2006 17:02:21 + Pupeno [EMAIL PROTECTED] wrote: Hello, I am trying to make a Data.fs file work on my local workstation. I've download it from my server. My server runs Debian with Python, Zope and Plone installed from sources. My workstation runs Gentoo with Python, Zope and Plone installed from ebuild but the same versions as on the server: Python 2.4.3 Zope 2.9.4 Plone 2.5 I've put the Data.fs and started the local Zope. But no matter what I try to access I always get the error: Error Value: _log() got an unexpected keyword argument 'error' This is a known error that will be fixed in Zope 2.9.5. Is there any workaround ? Fetch the bugfix from the SVN. -aj pgpZOFwtK5XRV.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] unexpected keyword argument 'error'
On Sunday 24 September 2006 17:35, Andreas Jung wrote: --On 24. September 2006 17:30:02 + Pupeno [EMAIL PROTECTED] wrote: On Sunday 24 September 2006 17:12, Andreas Jung wrote: This is a known error that will be fixed in Zope 2.9.5. Is there any workaround ? Fetch the bugfix from the SVN. I've searched the bug database for this bug and I couldn't find it. Can you give me any hints to help me find the fix on SVN ? -- Pupeno [EMAIL PROTECTED] (http://pupeno.com) pgpmBJ4GudAJk.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] unexpected keyword argument 'error'
--On 24. September 2006 17:52:03 + Pupeno [EMAIL PROTECTED] wrote: On Sunday 24 September 2006 17:35, Andreas Jung wrote: --On 24. September 2006 17:30:02 + Pupeno [EMAIL PROTECTED] wrote: On Sunday 24 September 2006 17:12, Andreas Jung wrote: This is a known error that will be fixed in Zope 2.9.5. Is there any workaround ? Fetch the bugfix from the SVN. I've searched the bug database for this bug and I couldn't find it. Can you give me any hints to help me find the fix on SVN ? Well, the traceback tells you clearly that the error occurs in BeforeTraverse.py. -aj pgpmr8ywaxmEA.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] unexpected keyword argument 'error'
Hi, It's not so difficult to fix it by yourself. Here is the answer: http://mail.zope.org/pipermail/zope-collector-monitor/2006-July/006905.html Greets, Ferhat --- Pupeno [EMAIL PROTECTED] wrote: Hello, I am trying to make a Data.fs file work on my local workstation. I've download it from my server. My server runs Debian with Python, Zope and Plone installed from sources. My workstation runs Gentoo with Python, Zope and Plone installed from ebuild but the same versions as on the server: Python 2.4.3 Zope 2.9.4 Plone 2.5 I've put the Data.fs and started the local Zope. But no matter what I try to access I always get the error: Error Value: _log() got an unexpected keyword argument 'error' The whole error is: Site Error An error was encountered while publishing this resource. Error Type: TypeError Error Value: _log() got an unexpected keyword argument 'error' Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the error log. If the error persists please contact the site maintainer. Thank you for your patience. and the error.log reveals: -- 2006-09-24T16:34:06 ERROR Zope.SiteErrorLog http://phoenix.pupeno.com:8080 Traceback (innermost last): Module ZPublisher.Publish, line 106, in publish Module ZPublisher.BaseRequest, line 275, in traverse Module ZPublisher.BeforeTraverse, line 108, in __call__ Module logging, line 999, in error TypeError: _log() got an unexpected keyword argument 'error' I can't find any other useful information. Any ideas what the problem might be ? Thank you. -- Pupeno [EMAIL PROTECTED] (http://pupeno.com) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] unexpected keyword argument 'error'
On Sunday 24 September 2006 18:50, Ferhat Ayaz wrote: Hi, It's not so difficult to fix it by yourself. Here is the answer: http://mail.zope.org/pipermail/zope-collector-monitor/2006-July/006905.html Thank you. That was useful! But I still can't access this Data.fs, but I'll put that in another thread. Thank you. -- Pupeno [EMAIL PROTECTED] (http://pupeno.com) pgpzdsogrSOcz.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Protocol question about ZopeBook typos
Wonderful documentation but there are a fair amount of silly typos, etc. Do folks want me to open "issues" or "bugs" on these typos? Perry SmithEase Software, Inc.[EMAIL PROTECTED]http://www.easesoftware.comSATA Products for IBMs RS/6000, pSeries, and AIX systems ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Protocol question about ZopeBook typos
Perry Smith wrote: Wonderful documentation but there are a fair amount of silly typos, etc. Do folks want me to open issues or bugs on these typos? Current ZopeBook version is at http://www.plope.com/Books/2_7Edition Please check http://www.plope.com/Books/zb_signup for contact information. Michael -- http://zope.org/Members/d2m http://planetzope.org ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope-DB] Zope database connectivity
Maciej Wisniowski wrote at 2006-9-23 00:27 +0200: You could recode DA's to close the connection at the end of every transaction and reopen them on demand, Seems for me that difference betwen connect on load and connect on demand is in _begin, _finish and __init__ methods of TransactionManager (usually defined in db.py in specific database adapter). The bad behaviour is in standard Zope code: Shared.DC.ZRDB.Connection.Connection.__setstate__ It connects to the database as soon as the instance is loaded from ZODB. My modified code looks like: def __setstate__(self, state): Globals.Persistent.__setstate__(self, state) if self.connection_string: # DM 2005-06-24: what a stupidity to connect on load! # It should be delayed until the connections is really used. # I do not change this here to not break DAs. # DM 2005-06-24: connect_ in order to protect '_v_' attributes #try: self.connect(self.connection_string) try: self.connect_(self.connection_string) except: LOG('Shared.DC.ZRDB.Connection', ERROR, 'Error connecting to relational database.', error=exc_info()) -- Dieter ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db
Re: [Zope-DB] Zope database connectivity
ZODB. My modified code looks like: def __setstate__(self, state): Globals.Persistent.__setstate__(self, state) if self.connection_string: # DM 2005-06-24: what a stupidity to connect on load! # It should be delayed until the connections is really used. # I do not change this here to not break DAs. # DM 2005-06-24: connect_ in order to protect '_v_' attributes #try: self.connect(self.connection_string) try: self.connect_(self.connection_string) except: LOG('Shared.DC.ZRDB.Connection', ERROR, 'Error connecting to relational database.', error=exc_info()) Do you have 'connect_' defined elsewhere or it is expected to raise an exception here and just log this? -- Maciej Wisniowski ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db