Log message for revision 40791:
testRunIgnoresParentSignals(): Try to fix an
intermittent test-killing race between this test
and zdrun.py fighting over who deletes the
test socket first.
Changed:
U zdaemon/trunk/src/zdaemon/tests/testzdrun.py
-=-
Modified:
Log message for revision 40794:
New zdaemon.
Should repair the latest intermittent failures in
testRunIgnoresParentSignals.
Changed:
_U Zope/branches/2.9/lib/python/
-=-
Property changes on: Zope/branches/2.9/lib/python
Hello.
At Fri, 09 Dec 2005 10:11:42 -0500,
Jim Fulton wrote:
- Common approach to Unicode
In particular, In Zope 3, all text is stored and managed as Unicode.
The publisher decodes request data and encodes response data. The vast
majority of application and library code can ignore encoding
Yup, that box is slowly dying on me. I will take down the nightlies
until I find a new machine to run them on.
Stefan
On 14. Dez 2005, at 15:35, Chris McDonough wrote:
FYI: These tests appear to be failing due to a race in the tests
they're exercising that could be exposed if the machine
[Using zope-dev@ instead of [EMAIL PROTECTED]
Dennis Allison wrote:
A more session-friendly conflict resolution might use:
1. if any of the states are invalid (that is, has a key '_invalid')
return the invalid state.
2. if any any of the states attributes
Summary of messages to the zope-tests list.
Period Wed Dec 14 12:01:01 2005 UTC to Thu Dec 15 12:01:01 2005 UTC.
There were 8 messages: 8 from Zope Unit Tests.
Test failures
-
Subject: FAILED (failures=1) : Zope-2_7-branch Python-2.4.2 :
Linux
From: Zope Unit Tests
Date: Wed
Florent Guillaume wrote:
Martijn Faassen wrote:
[snip]
What I'm worried about doing this for old code, but some steps will
probably become clear during the brainstorming session. Migration
tools that turn strings in the ZODB into unicode ones magically (with
the ability to spell out
Andreas Jung wrote:
--On 9. Dezember 2005 10:11:42 -0500 Jim Fulton [EMAIL PROTECTED] wrote:
We need to migrate Zope 2 to use a similar strategy. We need volunteers
to brainstorm how this can be done and make one or more proposals.
This is likely a prerequisite for finishing the publisher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey all,
I'm currently trying to setup a custom zope instance for our c.s.
department at school. Currently we run a totally linux infrastructure
with ldap authentication which we would also like to tie into zope. My
question is not how to
--On 15. Dezember 2005 17:55:16 +0100 Martijn Faassen [EMAIL PROTECTED]
wrote:
Hm, so it auto-decodes non-unicode strings using UTF-8? That's a bit
dangerous, as you suppress a large class of unicode errors in the code.
Code that creates UTF-8 strings will be silently accepted. Not as bad as
Code would be good.
Note that changing the transientobject conflict resolution algorithm
won't get rid of all write conflict errors, because the BTree-based
indexes in the transient object container will still conflict during
a bucket split and other situations that I can't exactly recall
[Chris McDonough]
Note that changing the transientobject conflict resolution algorithm
won't get rid of all write conflict errors, because the BTree-based
indexes in the transient object container will still conflict during a
bucket split and other situations that I can't exactly recall
Zope 2.8.4, ZODB 3.4.2
Chris,
I'm pretty sure that I mentioned having done that in one of my postings.
I have followed your recommendations, but the problem remains. (um...
persists grin)
The systems are running a Zope/ZEO combination with a store configuration
of:
#
zodb_db temporary
Trimmed zodb-dev off the cc list.
On Dec 15, 2005, at 2:24 PM, Dennis Allison wrote:
The systems are running a Zope/ZEO combination with a store
configuration
of:
#
zodb_db temporary
# Temporary storage database (for sessions)
temporarystorage
name temporary storage for
The Buildbot has detected a failed build of Zope branches 2.9 2.4 Windows 2000
zc-bbwin.
Buildbot URL: http://buildbot.zope.org/
Build Reason: changes
Build Source Stamp: 2241
Blamelist: ctheune,jim,tim_one,tseaver,yuppie
BUILD FAILED: failed test
sincerely,
-The Buildbot
I would like to merge this patch to all the branches back to Zope 2.7,
anyone would care to review or is against it?
http://www.zope.org/Collectors/Zope/1976
--
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com
___
Zope-Dev maillist -
On 12/16/05, Dennis Allison [EMAIL PROTECTED] wrote:
MAYBE CONFLICTS AND THEIR RESOLUTION ARE NOT THE ROOT CAUSE OF THE SESSION
VARIABLE PROBLEM. The observed problem is that session variables suddenly
disappear.
Perhaps your app is tripping over some bug in conflict handling. But
I'd say it
Looks good!
On Dec 15, 2005, at 4:47 PM, Sidnei da Silva wrote:
I would like to merge this patch to all the branches back to Zope 2.7,
anyone would care to review or is against it?
http://www.zope.org/Collectors/Zope/1976
--
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com
I would like to consider the 2.7 branch closed for any kind of fixes except
security related fixes. I don't plan any further 2.7 releases.
-aj
--On 15. Dezember 2005 21:53:38 -0500 Chris McDonough [EMAIL PROTECTED]
wrote:
Looks good!
On Dec 15, 2005, at 4:47 PM, Sidnei da Silva wrote:
I
John Barham wrote:
Is it possible to flush a path w/ a specific argument from a RAM cache
from a Python script?
Here's my situation: I have a script FolderExists() that takes a
single path argument and, after running an SQL query, returns True
or False if the folder path exists or not in the
Stepper is a framework for performing asynchronous tasks on Zope servers.
This is a bug fix release that corrects some problems with the 1.4.0
release.
The major bugs fixed for this release were:
- Write conflict errors are now handled in the same way as read conflict
errors.
- Stepper is
Hi,
I would like to know if anyone has been able to compile and run Zope
2.8.4 with Cygwin.
I just installed cygwin with latest stable packages.
I compiled python 2.4.2 (I know, not the supported version, so I am
about to try 2.3.5 now)
I had issues with the socket module, and from google I
Ok, just found it has already been reported several months ago, even with
python 2.3.x:
http://www.zope.org/Collectors/Zope/1725
Does someone know of any kind of temporary workaround for this ?
Thanks !
Pascal
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la
Hello all , I'm trying to display on the same page a table with (3
columns) with content from a list . I'm trying to batch the results so
that every 3 elements anothe row is created.
Can anyone give me a clue how to do that ?
this is my code:
table tal:define=Rnumber
Hi
I suggest to use the following function that
def get_grouped_list(self, seq=[], size=3):
#get the list with all items grouped
return [seq[i:i+size] for i in range(0, len(seq), size)]
that takes as parameter a list and goups items in slices with length = size.
def
- Original Message -
From: Cameron Beattie [EMAIL PROTECTED]
To: zope@zope.org
Sent: Thursday, December 15, 2005 1:25 AM
Subject: Re: [Zope] Unauthorized exception when trying to access a list item
Cameron Beattie wrote:
I am trying to access a value in a list. The script
--On 15. Dezember 2005 08:03:22 -0500 Jonathan [EMAIL PROTECTED] wrote:
- Original Message - From: J Cameron Cooper
It seems strange that one can, using plain vanilla python scripts, trap
bare 'try/excepts' (and I agree with Andreas that this is not a good
thing to do!) and that
Jonathan schrieb:
...
It seems strange that one can, using plain vanilla python scripts, trap
bare 'try/excepts' (and I agree with Andreas that this is not a good
thing to do!) and that one can trap python built-in exceptions, but that
one cannot trap zope exceptions. Why allow python
I'm trying zope on linux but I have come a cross a problem.I windows, I simply changedthe portnumber from 8080 to 80 inzope.conf so I could get to my site without typeing the port.But in Linux, I did the same thing but it always tells me that some other server already occupied this
--On 15. Dezember 2005 05:20:33 -0800 Allen Huang [EMAIL PROTECTED] wrote:
I'm trying zope on linux but I have come a cross a problem.
I windows, I simply changed the port number from 8080 to 80 in
zope.conf so I could get to my site without typeing the port.
But in Linux, I did the
- Original Message -
From: Tino Wildenhain [EMAIL PROTECTED]
To: Jonathan [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Thursday, December 15, 2005 8:18 AM
Subject: Re: [Zope] Trapping zope exceptions in python script
Jonathan schrieb:
...
It seems strange that one can, using plain
Allen Huang schrieb:
I'm trying zope on linux but I have come a cross a problem.
I windows, I simply changed the port number from 8080 to 80
in zope.conf so I could get to my site without typeing the port.
But in Linux, I did the same thing but it always tells me that some
other server
Ok, in case anyone is interested, this nasty code change made it :
In Zope-2.8.4-final/lib/python/ZODB/serialize.py:
Change :
return klass.__new__(klass, *args)
To :
try:
result=klass.__new__(klass, *args)
except TypeError:
Andreas wrote:
My 2 cents: PythonScripts are restricted and are *not* thought to be a full
replacement for Python modules. If you need this functionaltiy consider
writing a Zope Product, using external methods or using TrustedExecutables.
If python scripts are restricted from accessing
Dragos Chirila wrote:
Hi
I suggest to use the following function that
def get_grouped_list(self, seq=[], size=3):
#get the list with all items grouped
return [seq[i:i+size] for i in range(0, len(seq), size)]
that takes as parameter a list and goups items in slices with length =
...
Try:
context.afolder.manage_delObjects(['someitem'])
where 'someitem' does not exist in 'afolder'
works:
try:
context.afolder.manage_adlObjects(['nonexistent'])
except Exception,x:
if 'BadRequest' in repr(x):
print bad request
else:
raise x
:-)
(Ok, this _is_
- Original Message -
From: Tino Wildenhain [EMAIL PROTECTED]
To: Jonathan [EMAIL PROTECTED]; zope@zope.org
Sent: Thursday, December 15, 2005 8:48 AM
Subject: Re: [Zope] Trapping zope exceptions in python script
...
Try:
context.afolder.manage_delObjects(['someitem'])
where
--On 15. Dezember 2005 09:08:20 -0500 Jonathan [EMAIL PROTECTED] wrote:
- Original Message - From: Tino Wildenhain [EMAIL PROTECTED]
Interesting work-around, but I agree that these exception types should be
immediately available in plain vanilla python scripts.
Patches + tests are
On 12/15/05, Allen Huang [EMAIL PROTECTED] wrote:
I'm trying zope on linux but I have come a cross a problem.
I windows, I simply changed the port number from 8080 to 80 in zope.conf so
I could get to my site without typeing the port.
But in Linux, I did the same thing but it always tells
Andreas Jung schrieb:
--On 15. Dezember 2005 09:08:20 -0500 Jonathan [EMAIL PROTECTED] wrote:
- Original Message - From: Tino Wildenhain [EMAIL PROTECTED]
Interesting work-around, but I agree that these exception types should be
immediately available in plain vanilla python scripts.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pascal Peregrina wrote:
Ok, in case anyone is interested, this nasty code change made it :
In Zope-2.8.4-final/lib/python/ZODB/serialize.py:
Change :
return klass.__new__(klass, *args)
To :
try:
David H wrote:
# python script
# input: a tuple named tup of index items to include in list of lists,
eg (1,3) and the list of lists
#example input: listoflists = [[61282125371L, 1, 6, 0], [61282125379L,
1, 6, 0], [61282825240L, 6, 6, 0]]
#example tup: (1,3)
ret = []
for i in
[EMAIL PROTECTED] wrote:
script type=text/javascript
snip js mess
/script
That looks like pure javascript, right?
In which case it's a pure js problem and this is the wrong list ;-)
Try #javascript on irc.freenode.net...
cheers,
Chris
--
Simplistix - Content Management, Zope Python
Hi:
I installed Zope 2.8.4 and moved all folders from the untarred Plone
2.1.1 download to the Products folder of the instance of Zope I'm
running in my home directory. I have Python 2.3.5. However, as the
Plone installation instructions mention, Plone Site does not show up
in the drop down menu
--On 15. Dezember 2005 09:27:11 -0600 Qass [EMAIL PROTECTED] wrote:
Hi:
I installed Zope 2.8.4 and moved all folders from the untarred Plone
2.1.1 download to the Products folder of the instance of Zope I'm
running in my home directory. I have Python 2.3.5. However, as the
Plone installation
These sounds like Plone questions best asked on a Plone list...
Chris
Qass wrote:
Thanks for your reply fm.
The python version in my path is 2.3.5 and both
python and zope were build from source. Zope is installed in /opt
which is where the python 2.3.5 is too.
I got rid of the zope
Cameron Beattie wrote:
The list consists of something like this: [61282125371L, 1, 6, 0].
Are you _sure_ this is a plain python list?
Looking at its format, and the apparently weird nature of your other
questions, are you maybe abusing a relational database somewhere in this
spider's
Gabriel Genellina wrote at 2005-12-12 15:45 -0300:
...
def enableHTTPCompression(self,REQUEST={},force=0,disable=0,query=0):
and I think I should invoke it with REQUEST=REQUEST to enable compression
only when the client browser can handle it.
But I dont know WHEN to do the call - should
Kees de Brabander wrote at 2005-12-13 22:40 +0100:
...
Module AccessControl.ImplPython, line 449, in validate
Module AccessControl.ImplPython, line 774, in raiseVerbose
Unauthorized: Your user account is defined outside the context of the object
being accessed. Access to 'f1_index' of
Jan-Ole Esleben wrote at 2005-12-11 19:10 +0100:
Is it at all impossible to use XML-RPC _within_ a ZOPE architecture?
In principle yes.
Be careful however: it is easy to introduce deadlocks!
When during request processing you call back into the same
Zope via XML-RPC, the calling out request
Dennis Allison wrote at 2005-12-14 12:58 -0800:
...
_p_resolveConflict(self, oldState, savedState, newState)
returns the state of the object after resolving different changes. The
arguments are:
oldState -- state of the object at the beginning of the current
transaction
Jonathan wrote:
Andreas wrote:
My 2 cents: PythonScripts are restricted and are *not* thought to be a full
replacement for Python modules. If you need this functionaltiy consider
writing a Zope Product, using external methods or using TrustedExecutables.
If python scripts are restricted
Nicolas Georgakopoulos wrote:
Dragos Chirila wrote:
Hi
I suggest to use the following function that
def get_grouped_list(self, seq=[], size=3):
#get the list with all items grouped
return [seq[i:i+size] for i in range(0, len(seq), size)]
that takes as parameter a list and goups
redirecting this to the normal zope list where it makes more sense,
please continue there
On 15 Dec 2005, at 16:58, Chris Cole wrote:
Hey all,
I'm currently trying to setup a custom zope instance for our c.s.
department at school. Currently we run a totally linux infrastructure
with ldap
On 15 Dec 2005, at 16:58, Chris Cole wrote:
I'm currently trying to setup a custom zope instance for our c.s.
department at school. Currently we run a totally linux infrastructure
with ldap authentication which we would also like to tie into zope. My
question is not how to authenticate against
I have no idea what the original symptom or situation was, so
I can't really comment. I'll note, however, that the error
refered to in Pascal's reply results from a wart in Python's
type-definition protocols that I thought I had fixed, but maybe
I proposed fixing it and didn't get around to it.
bonjourje suis un débutant. je veux installer zope sur la debian. mais j'ai remarqué un repertoire /usr/lib/zope. j'ai donc conclu que zope a été installé avec mon system debian. maintenant comment faire pour démarer zope. dois-je faire un start et où? merci
Nouveau : téléphonez moins cher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey all,
I'm currently trying to setup a custom zope instance for our c.s.
department at school. Currently we run a totally linux infrastructure
with ldap authentication which we would also like to tie into zope. My
question is not how to
- Original Message -
From: Chris Withers [EMAIL PROTECTED]
To: Kees de Brabander [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Thursday, December 15, 2005 4:24 PM
Subject: Re: [Zope] user account defined outside context of object being
accessed
Kees de Brabander wrote:
Unauthorized:
Am Donnerstag, den 15.12.2005, 19:58 +0100 schrieb adeline nombre:
bonjour
je suis un débutant. je veux installer zope sur la debian. mais j'ai
remarqué un repertoire /usr/lib/zope. j'ai donc conclu que zope a été
installé avec mon system debian. maintenant comment faire pour démarer
zope.
Tino Wildenhain wrote:
Am Donnerstag, den 15.12.2005, 19:58 +0100 schrieb adeline nombre:
bonjour
je suis un débutant. je veux installer zope sur la debian. mais j'ai
remarqué un repertoire /usr/lib/zope. j'ai donc conclu que zope a été
installé avec mon system debian. maintenant comment faire
Am Donnerstag, den 15.12.2005, 21:17 +0100 schrieb Igor Stroh:
Tino Wildenhain wrote:
Am Donnerstag, den 15.12.2005, 19:58 +0100 schrieb adeline nombre:
bonjour
je suis un débutant. je veux installer zope sur la debian. mais j'ai
remarqué un repertoire /usr/lib/zope. j'ai donc conclu que
Andreas Jung wrote:
--On 14. Dezember 2005 12:54:56 -0700 Nikko Wolf
[EMAIL PROTECTED] wrote:
So you could try this instead:
for item in itemList:
try:
context.afolder.manage_delObjects([item])
except:
continue
Wa... DON'T DO THAT. You should
On Dec 15, 2005, at 4:01 PM, Nikko Wolf wrote:
Can you elaborate on what strange and unpredictable behavior you
mean? I'm curious in general, but especially w.r.t. the code above?
BTW, a simple grep of sources in Zope (2.7.6-final) turns up 600+
places where a bare except is used, and my
There is nothing that needs to be done here. It's only if you
*mutate* values stored in the session that you need to do explicit
persistence triggering. I provided an example of doing this in my
last email.
- C
On Dec 15, 2005, at 4:20 PM, Dennis Allison wrote:
Chris McDonnough
Yes, I understand that. This is a development and code organization
issue.
From the developer's point-of-view there is a special namespace called
session variables. What I want to be able to do is have the coders
call
getSessionVariable(name)
to get the current value of the
session variables. What I want to be able to do is have the coders
call
getSessionVariable(name)
to get the current value of the session variable and
setSessionVariable(name, value)
to save the value. The type of the variable should be transparent
to the
programmer--that
ZSyncer 0.7.0 Released
Version 0.7.0-final (2005/12/15) is available for download from
sourceforge:
http://sourceforge.net/project/showfiles.php?group_id=28073package_id=20913release_id=378551
ZSyncer is a Zope 2 product that allows you to synchronize and compare
objects from one zope (source)
68 matches
Mail list logo