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 posts
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
ConflictErrors
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 igno
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
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 -
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
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
d
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
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 mai
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
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 resu
--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 fr
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 UR
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 t
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 questi
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 a
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
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 othe
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 s
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 th
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
- 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 n
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 tho
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 M
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
> > > -bas
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 s
--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
> > 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
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 th
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 folde
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
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.
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 giv
>> 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 s
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 Z
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 R
[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
> ludicr
--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
l
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 i
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
[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]
>
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 c
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
pro
43 matches
Mail list logo