[Zope] Unable to start Zope

2005-10-05 Thread John Poltorak
Following a server reboot, I can't get Zope to run. I get a socket error - permission denied. How do I identify and delete this open socket? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Accessing CURRENT property

2005-10-05 Thread Chris Withers
Peter Bengtsson wrote: Not sure what it's called in Page Templates or Python Scripts but in DTML it's called careful_hasattr() which wraps hasattr() in a restricted context. I wouldn't trust that either ;-) hasattr's insane in that it catches prettymuch all exception, including

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Chris Withers
Paul Winkler wrote: Has anybody set up a batch job to test all installed Products in a zope instance? Yes ;-) Seems like the only *useful* way I can get it to run is with a loop that does bin/zopectl test once for each subdirectory of Products that I actually care about, taking care to

Re: [Zope] Mysql 5? Just curious.

2005-10-05 Thread Chris Withers
Greg Fischer wrote: This is totally unimportant, but I was just curious to know if anyone is running Mysql 5 on Zope right now. That would be some achievement! ISn't MySQL written in C++ or something? Seriously though, Andy Dustman is your man, maybe try compiling mySQLdb and seeing if it'll

Re: [Zope] Unable to start Zope

2005-10-05 Thread John Poltorak
Sorry about this... the email was from yesterday and escaped by mistake. My problems were relalted to mismatches of permissions and userids being used. On Mon, Oct 03, 2005 at 12:48:00PM +0100, John Poltorak wrote: Following a server reboot, I can't get Zope to run. I get a socket error -

Re: [Zope] Unable to start Zope

2005-10-05 Thread Peter Bengtsson
2005/10/3, John Poltorak [EMAIL PROTECTED]: Following a server reboot, I can't get Zope to run. I get a socket error - permission denied. How do I identify and delete this open socket? Permission denied? Have some of your files accidently become owned by root? Try (if you know what you're

[Zope] Re: Presentations Available

2005-10-05 Thread Nick Davis
Chris I agree that 2+ years should have produced maturity. Zope seems to be a lot more stable than Plone. Maybe the reason people focus on your Plone talk is you touch a chord with people who too are wrestling with Plone. Probably at least once a week the thought crosses our minds of

Re: [Zope] Accessing CURRENT property

2005-10-05 Thread Peter Bengtsson
2005/10/5, Chris Withers [EMAIL PROTECTED]: Peter Bengtsson wrote: Not sure what it's called in Page Templates or Python Scripts but in DTML it's called careful_hasattr() which wraps hasattr() in a restricted context. I wouldn't trust that either ;-) hasattr's insane in that it catches

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Jens Vagelpohl
On 4 Oct 2005, at 23:21, Paul Winkler wrote: Has anybody set up a batch job to test all installed Products in a zope instance? bin/zopectl test --dir Products/ from the instance home will test all products in that instance home. jens ___ Zope

[Zope] ZWiki RecentChanges as RSS feed

2005-10-05 Thread Peter Bengtsson
I've got a Zwiki instance that works just fine. If I visit it at http://localhost:8080/wiki/RecentChanges?action=rss_rc I get a nice feed of all the recent changes. But I don't want to reach it by URL, I want to reach it programmatically. How do I do that?? return self.wiki.RecentChanges() gives

[Zope] Upgrading from 2.7.6 to 2.8.1

2005-10-05 Thread Kris Adcock
Afternoon all, I'd like to upgrade our Zope/Plone/CMFPhotoAlbum/etc installation from 2.7.6 to 2.8.1. I'm having trouble performing the upgrade - I couldn't find any instructions on how to do it, and my attempt at a fresh install followed by a copy-over of the var and Products folders

Re: [Zope] Upgrading from 2.7.6 to 2.8.1

2005-10-05 Thread Andreas Jung
--On 5. Oktober 2005 13:45:35 +0100 Kris Adcock [EMAIL PROTECTED] wrote: Afternoon all, I'd like to upgrade our Zope/Plone/CMFPhotoAlbum/etc installation from 2.7.6 to 2.8.1. I'm having trouble performing the upgrade - I couldn't find any instructions on how to do it, and my attempt at a

[Zope] Re: ZWiki RecentChanges as RSS feed

2005-10-05 Thread Simon Michael
Hi Peter, I've got a Zwiki instance that works just fine. If I visit it at http://localhost:8080/wiki/RecentChanges?action=rss_rc I get a nice feed of all the recent changes. I'm not familiar with ?action=rss_rc at all, it sounds like a local customization. But I don't want to reach it by

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Paul Winkler
Jens Vagelpohl said: On 4 Oct 2005, at 23:21, Paul Winkler wrote: Has anybody set up a batch job to test all installed Products in a zope instance? bin/zopectl test --dir Products/ from the instance home will test all products in that instance home. Well, so will bin/zopectl test

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Jens Vagelpohl
On 5 Oct 2005, at 14:44, Paul Winkler wrote: bin/zopectl test --dir Products/ from the instance home will test all products in that instance home. Well, so will bin/zopectl test without the --dir argument, but I guess you didn't read the rest of my message ;-) I answered one of the

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Jens Vagelpohl
On 5 Oct 2005, at 14:49, Lennart Regebro wrote: On 10/5/05, Jens Vagelpohl [EMAIL PROTECTED] wrote: from the instance home will test all products in that instance home. Often doesn't work, the different products tests will walk all over each other. But setting up a script that walks

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Paul Winkler
Chris Withers said: Paul Winkler wrote: Seems like the only *useful* way I can get it to run is with a loop that does bin/zopectl test once for each subdirectory of Products that I actually care about, taking care to ignore problematic third-party products. Which is OK I guess, but I'd

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Paul Winkler
Jens Vagelpohl said: On 5 Oct 2005, at 14:49, Lennart Regebro wrote: On 10/5/05, Jens Vagelpohl [EMAIL PROTECTED] wrote: from the instance home will test all products in that instance home. Often doesn't work, the different products tests will walk all over each other. But setting up a

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Paul Winkler
Alan Milligan said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Winkler wrote: The problem is that tests seem to be run in alphabetical order, I don't know of a way to force another order, and so I'm left with adding and removing things from Products to see what minimal set of

Re: [Zope] ZOPE and DEBIAN INSTALLTION

2005-10-05 Thread benmania
Hello, I tried to install ZOPE from sources via configure - make - make instance but unfortunately I always get the following error message when typing in the make command. command 'gcc' failed with exit status 1 -basherror:: command not found In my last message, I assumed that gcc

[Zope] Re: Upgrading from 2.7.6 to 2.8.1

2005-10-05 Thread Nick Davis
Coyping across var and Products directories should be sufficient I believe. Have you packed the database recently? Rather obvious question but have you actually run Portal Migration (from the ZMI) ? ;-) If your Products use Archetypes you may run into Catalog errors. We haven't succeeded in

Re: [Zope] ZOPE and DEBIAN INSTALLTION

2005-10-05 Thread Jonathan
- Original Message - From: [EMAIL PROTECTED] I tried to install ZOPE from sources via configure - make - make instance but unfortunately I always get the following error message when typing in the make command. command 'gcc' failed with exit status 1 -basherror:: command not

[Zope] Re: Testing products: Testing all in one batch

2005-10-05 Thread Florent Guillaume
Paul Winkler wrote: - Some third-party products (e.g. CMF) ship with tests that just plain fail. If I install CMF 1.4.8 and nothing else, and run ./bin/zopectl test, I get 1 error and 1 failure. This is a bit surprising from a stable release, I'd expect not to get any... will forward

Re: [Zope] Testing products: Testing all in one batch

2005-10-05 Thread Lennart Regebro
On 10/5/05, Jens Vagelpohl [EMAIL PROTECTED] wrote: This is correct, but you're just papering over a deeper problem, namely bad cleanup in some unit tests. Sure, but that's how reality looks. It's unfortunate, but there ya go. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content

Re: [Zope] ZOPE and DEBIAN INSTALLTION

2005-10-05 Thread Andreas Pakulat
On 05.10.05 17:09:45, [EMAIL PROTECTED] wrote: Hello, I tried to install ZOPE from sources via configure - make - make instance but unfortunately I always get the following error message when typing in the make command. command 'gcc' failed with exit status 1 -basherror::

[Zope] Zope Scalability

2005-10-05 Thread Tom Wilde
Hi folks, I've been using Zope for a while now and found it to be an excellent solution however I've got a few enterprise questions about the scalability of Zope that just need to be answered. [ nb: I'm using V2.72 at the moment, not having moved over to V3 ] ZODB size What is the maximum

Re: [Zope] Zope Scalability

2005-10-05 Thread Andreas Jung
--On 5. Oktober 2005 17:37:08 +0100 Tom Wilde [EMAIL PROTECTED] wrote: Hi folks, I've been using Zope for a while now and found it to be an excellent solution however I've got a few enterprise questions about the scalability of Zope that just need to be answered. [ nb: I'm using V2.72 at

Re: [Zope] Re: ZWiki RecentChanges as RSS feed

2005-10-05 Thread Peter Bengtsson
http://localhost:8080/wiki/RecentChanges?action=rss_rc I get a nice feed of all the recent changes. I'm not familiar with ?action=rss_rc at all, it sounds like a local customization. I'm sorry. That was for MoinMoin which we had before but upgraded to Zwiki. My script was assuming

[Zope] MailingLogger 2.4.1 and 2.5.0 Released!

2005-10-05 Thread Chris Withers
MailingLogger allows configured entries from the event log to be mailed to a list of configured recipients. These releases fix a major bug involving email flood protection and add support for Zope 2.8 These releases fix the following bugs: - A bug in the email flood protection often meant

Re: [Zope] Re: ZWiki RecentChanges as RSS feed

2005-10-05 Thread Simon Michael
Peter Bengtsson wrote: The big problem with this is that it seems to be in reverse order with the first wiki page first. I'd like it the other way around. Have a look at the changes_rss method in RSS.py (in 0.46). It calls pages(), which is essentially a catalog query restricted to this

[Zope] Re: Problem with hasattr() and Zope 2.8.1

2005-10-05 Thread Doyon, Jean-Francois
Alec, Heh, thanks for the reply, I somehow have been using python for a few years now without ever running into that! I'm afraid I'm still baffled by it, mostly because I've used attributes named in such a manner up until now without problem ... From what you're saying I guess hasattr() being a

Re: [Zope] Zope Scalability

2005-10-05 Thread Jens Vagelpohl
ZODB size What is the maximum size of this file and/or maximum object ID? = just how many objects can the zodb hold? millions? tens of millions..?? billions...??? I have a feeling we'll run out of ram long before actually hitting the limit but it'd be nice to know the theoretical top limit.

Re: [Zope] Re: Problem with hasattr() and Zope 2.8.1

2005-10-05 Thread Paul Winkler
Doyon, Jean-Francois said: But then, why does this code work ok? class CrosslingualSupport: Mix-in class to provide content objects with support for cross-lingual properties when needed. def clearCrosslingualAttributes(self, lang): For a given language,

Re: [Zope] Re: Problem with hasattr() and Zope 2.8.1

2005-10-05 Thread Paul Winkler
for propertyname in [ propname for propname in self.__multilingualproperties__.keys() if self.__multilingualproperties__[propname][1] == True ]: attname = '__' + propertyname + '_' + lang if hasattr(self, attname): delattr(self, attname) As you see on the

RE: [Zope] Zope Scalability

2005-10-05 Thread Matthew X. Economou
Jens wrote: There is no answer to this question because it cannot be answered. No one has come against a limit yet as far as I know. Hitting RAM limits depends on the settings you apply to the Zope/ZEO instance(s) that serve(s) the content and how much RAM you put in, you can control ZODB

Re: [Zope] Zope Scalability

2005-10-05 Thread Jens Vagelpohl
On 5 Oct 2005, at 20:35, Matthew X. Economou wrote: There is no answer to this question because it cannot be answered. No one has come against a limit yet as far as I know. Hitting RAM limits depends on the settings you apply to the Zope/ZEO instance(s) that serve(s) the content and how much

Re: [Zope] Zope Scalability

2005-10-05 Thread Tim Peters
[Jens Vagelpohl] Well, the question was actually What is the maximum size of this file and/or maximum object ID? = just how many objects can the zodb hold?. There is only a theoretical limit that has to do with the largest index key for the ZODB index I believe, and that is some ludicrously

Re: [Zope] Zope Scalability

2005-10-05 Thread Andreas Jung
--On 5. Oktober 2005 15:57:14 -0400 Tim Peters [EMAIL PROTECTED] wrote: [Jens Vagelpohl] Well, the question was actually What is the maximum size of this file and/or maximum object ID? = just how many objects can the zodb hold?. There is only a theoretical limit that has to do with the

Re: [Zope] Zope Scalability

2005-10-05 Thread Jens Vagelpohl
On 5 Oct 2005, at 20:57, Tim Peters wrote: [Jens Vagelpohl] Well, the question was actually What is the maximum size of this file and/or maximum object ID? = just how many objects can the zodb hold?. There is only a theoretical limit that has to do with the largest index key for the ZODB

RE: [Zope] Re: Problem with hasattr() and Zope 2.8.1

2005-10-05 Thread Doyon, Jean-Francois
Your example shows my problem, or what I see as a problem anyways: def __init__(self): self.__blech = 1 def do(self): print hasattr(self, __blech) x = Foo() x.do() False False? Really? hasattr() is used within the context of the class itself, so

Re: [Zope] Zope Scalability

2005-10-05 Thread Tim Peters
[Tim Peters] If you're using FileStorage, a technical detail in the implementation of the FileStorage index limits the maximum file offset that can be used to 2**48-1, or about 281 terabytes. Object IDs are effectively 64-bit integers (masquerading as 8-byte strings). [Andreas Jung] This

[Zope] Re: need help python-zope

2005-10-05 Thread Jonathan Cyr
Hello, You may want to send questions to the Zope list at zope@zope.org. You can join the list at http://www.zope.org/Resources/MailingLists The authentication box in Zope by default is part of the standard HTTP Authentication mechanism, and is available to most web servers. Very little

Re: [Zope] Re: DTML-tree Custom sort

2005-10-05 Thread J Cameron Cooper
Chris Beaven wrote: It's really more a cool way to do lists than if statements :) It's technically list comprehension. Sort of a one-line list transform tool. I recommend reading through some of Dive Into Python (http://diveintopython.org/) for lots more cool hands-on tips on Python

[Zope-Checkins] CVS: Packages/ZODB - BaseStorage.py:1.34.4.5

2005-10-05 Thread Tim Peters
Update of /cvs-repository/Packages/ZODB In directory cvs.zope.org:/tmp/cvs-serv29632/ZODB Modified Files: Tag: Zope-2_7-branch BaseStorage.py Log Message: tpc_abort(): Release the commit lock no matter what. === Packages/ZODB/BaseStorage.py 1.34.4.4 = 1.34.4.5 === ---

[Zope-Checkins] CVS: Packages/ZODB - __init__.py:1.23.4.31

2005-10-05 Thread Tim Peters
Update of /cvs-repository/Packages/ZODB In directory cvs.zope.org:/tmp/cvs-serv30745/ZODB Modified Files: Tag: Zope-2_7-branch __init__.py Log Message: An internal 3.2.10b2 release. === Packages/ZODB/__init__.py 1.23.4.30 = 1.23.4.31 === --- Packages/ZODB/__init__.py:1.23.4.30

[Zope-Checkins] CVS: Packages/ZODB - BaseStorage.py:1.34.4.6

2005-10-05 Thread Tim Peters
Update of /cvs-repository/Packages/ZODB In directory cvs.zope.org:/tmp/cvs-serv6225/ZODB Modified Files: Tag: Zope-2_7-branch BaseStorage.py Log Message: tpc_abort(): Repair fubar'ed repaired logic. === Packages/ZODB/BaseStorage.py 1.34.4.5 = 1.34.4.6 === ---

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Move to ZODB 3.4.2b3.

2005-10-05 Thread Tim Peters
Log message for revision 38783: Move to ZODB 3.4.2b3. Changed: _U Zope/branches/Zope-2_8-branch/doc/ _U Zope/branches/Zope-2_8-branch/lib/python/ _U Zope/branches/Zope-2_8-branch/utilities/ -=- Property changes on: Zope/branches/Zope-2_8-branch/doc

[Zope-Checkins] SVN: Zope/trunk/ Merge rev 38783 from 2.8 branch.

2005-10-05 Thread Tim Peters
Log message for revision 38784: Merge rev 38783 from 2.8 branch. Move to ZODB 3.4.2b3. Changed: _U Zope/trunk/doc/ _U Zope/trunk/lib/python/ _U Zope/trunk/utilities/ -=- Property changes on: Zope/trunk/doc ___

[Zope-Coders] Zope tests: 8 OK

2005-10-05 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Tue Oct 4 11:01:01 2005 UTC to Wed Oct 5 11:01:01 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Oct 4 22:22:39 EDT

Re: [Zope-dev] log levels

2005-10-05 Thread Chris Withers
Florent Guillaume wrote: For instance the transaction code logs at DEBUG level every transaction start and end (self.log.debug(...)). This makes the logs very verbose, and any other code I write that logs at DEBUG level gets drowned in it. Previously transaction logs were at TRACE level