Summary of messages to the zope-tests list.
Period Thu Nov 23 12:00:00 2006 UTC to Fri Nov 24 12:00:00 2006 UTC.
There were 9 messages: 9 from Zope Unit Tests.
Test failures
-
Subject: FAILED (failures=2) : Zope-2.8 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Thu Nov 23
Hi,
Zope 2.9 and Zope 2.10 currently show up with unreleased
version inside the control panel. App/version_txt.py tries
to read the file lib/python/Zope2/version_txt. This file is
usually created by the 'makefile'. The makefile of Zope 2.9
create the file in the proper location however in
Jonathan wrote:
- Original Message - From: Yuri [EMAIL PROTECTED]
To: zope@zope.org
Sent: Thursday, November 23, 2006 11:07 AM
Subject: [Zope] help performance
Hi!
I've an old machine with zope 2.6 with an application based on
ZClass. Now, updating 4000 record takes ages (more than
Andreas Jung wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- --On 23. November 2006 17:07:39 +0100 Yuri [EMAIL PROTECTED] wrote:
Hi!
I've an old machine with zope 2.6 with an application based on ZClass.
Now, updating 4000 record takes ages (more than an hour...), basically it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- --On 24. November 2006 11:16:50 +0100 Yuri [EMAIL PROTECTED] wrote:
ZopeProfiler will tell you about bottlenecks.
Doesn't work in zope 2.6 based on python 2.1 :(
Try CallProfiler instead.
- -aj
- --
ZOPYX Ltd. Co. KG -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- --On 24. November 2006 11:20:39 +0100 Andreas Jung [EMAIL PROTECTED] wrote:
ZopeProfiler will tell you about bottlenecks.
Doesn't work in zope 2.6 based on python 2.1 :(
Try CallProfiler instead.
and *enable* subtransactions!
- -aj
Andreas Jung wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- --On 24. November 2006 11:20:39 +0100 Andreas Jung [EMAIL PROTECTED] wrote:
ZopeProfiler will tell you about bottlenecks.
Doesn't work in zope 2.6 based on python 2.1 :(
Try CallProfiler
Hello,
I am trying to set the target language using i18n:target label
Example:
p i18n:translate= i18n:target=string:en
label_search
/p
It doesn't work. I cannot specify the target language.
I am in Zope 2.9.4.
Thank you.
Yuri wrote:
When I have a transaction wich takes almost 1 sec, I don't think it will
change anything :)
You might be surprised...
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
___
Zope
On 11/24/06, Yuri [EMAIL PROTECTED] wrote:
and *enable* subtransactions!
When I have a transaction wich takes almost 1 sec, I don't think it will
change anything :) I'll try CallProfiler :)
Did you try? Subtransactions are not the same as transactions. They
are an optimization, so try them!
Martijn Pieters wrote:
On 11/24/06, Yuri [EMAIL PROTECTED] wrote:
and *enable* subtransactions!
When I have a transaction wich takes almost 1 sec, I don't think it will
change anything :) I'll try CallProfiler :)
Did you try? Subtransactions are not the same as transactions. They
are an
Martijn Pieters wrote:
On 11/24/06, Yuri [EMAIL PROTECTED] wrote:
and *enable* subtransactions!
When I have a transaction wich takes almost 1 sec, I don't think it will
change anything :) I'll try CallProfiler :)
Did you try? Subtransactions are not the same as transactions. They
are an
On 11/24/06, Yuri [EMAIL PROTECTED] wrote:
8.7971 was the time without subtransactions, 2.3 with.
Ops... -.-
Indeed. And if you tweak the threshold as Jonathan suggested, you
could even get it lower.
--
Martijn Pieters
___
Zope maillist -
Martijn Pieters wrote:
On 11/24/06, Yuri [EMAIL PROTECTED] wrote:
8.7971 was the time without subtransactions, 2.3 with.
Ops... -.-
Indeed. And if you tweak the threshold as Jonathan suggested, you
could even get it lower.
Just to clarify, 2.3 sec is the time to insert only one object :)
Hi Daniel,
Hello,
I am trying to set the target language using i18n:target label
Example:
p i18n:translate= i18n:target=string:en
label_search
/p
It doesn't work. I cannot specify the target language.
I am in Zope 2.9.4.
Just a guess: Don't you need to specify a domain as well?
I have an problem with this little script. The script is in the zope
file structure and it is an -Script (Python)-
The script should send 2 emails over the mailhost, but it sends 4
emails. I have test this with maildrophost product too, same problem. I
have test it on Zope 2.10.0 and Zope 2.64.
Christian Steinhauer wrote:
This script produce the error:
start
for i in range(2):
subj = str(i) + ' range python'
context.MailHost.send('range test with python', [EMAIL PROTECTED],
[EMAIL PROTECTED], subj)
end
As I said in the tracker, no one can help you if you
The script should send 2 emails over the mailhost, but it sends 4
emails. I have test this with maildrophost product too, same problem. I
have test it on Zope 2.10.0 and Zope 2.64. The problem is the same -
everytime.
How do you call this script? Directly (via URL)? Or it is called
by
It is not necesary.
Anyway, if I specify my domain nothing happens.
- Mensaje original
De: Josef Meile [EMAIL PROTECTED]
Para: zope@zope.org
Enviado: viernes, 24 de noviembre, 2006 13:03:31
Asunto: [Zope] Re: Specifying the target language with i18n
Hi Daniel,
Hello,
I am trying
Example:
p i18n:translate= i18n:target=string:en
label_search
/p
It doesn't work. I cannot specify the target language.
I am in Zope 2.9.4.
Just a guess: Don't you need to specify a domain as well?
Ok, I tested it as well and it didn't work either. I just found it is a
bug and here is a
As I said in the tracker, no one can help you if you don't
actually give us the full traceback and exception that you got.
There is no traceback, i got no error - thats why i have post it into
bug tracker. I spoke to many people but no one can tell me why it
occured. The most said that it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- --On 24. November 2006 13:39:07 +0100 Christian Steinhauer
[EMAIL PROTECTED] wrote:
As I said in the tracker, no one can help you if you don't
actually give us the full traceback and exception that you got.
There is no traceback, i got no
- Original Message -
From: Christian Steinhauer [EMAIL PROTECTED]
To: zope@zope.org
Sent: Friday, November 24, 2006 7:12 AM
Subject: [Zope] error with simple python script loop
I have an problem with this little script. The script is in the zope
file structure and it is an -Script
I just cut and pasted your code into a python script on my
Zope installation
(2.9.2) and it worked as expected (ie. 2 emails sent). So
something is
pooched in your installation.
A quick way to check to see if your script is looping more
than you expect
is to do something like:
loopCheck =
Zope 2.9 and Zope 2.10 currently show up with unreleased
version inside the control panel. App/version_txt.py tries
to read the file lib/python/Zope2/version_txt. This file is
usually created by the 'makefile'. The makefile of Zope 2.9
create the file in the proper location however in Zope
- Original Message -
From: Christian Steinhauer [EMAIL PROTECTED]
To: Jonathan [EMAIL PROTECTED]; zope@zope.org
Sent: Friday, November 24, 2006 8:19 AM
Subject: Re: [Zope] error with simple python script loop
I just cut and pasted your code into a python script on my
Zope
I tried to reproduce your '4 iteration' problem on my Zope 2.9.2
installation, but even by removing the 'return' statement I
still got 2 loop
iterations (and 2 emails).
I have never written a python script that did not have a
'return' statement.
I don't know if it is mandatory or not. I
Hi Jonathan, thanks for taking care of the problem. I have done the self test
you do with the list. But everytime when something is written at last line,
example return 'eof' (My example in the topic) the error did not occured - so
the list gives me 2 and i will get 2 emails.
So try
I have test the script on my local windows python version with an print
statement, and it works fine
- everytime - so its only on zope. i cant use pdb on zopeĀ“s python
script i think?
Are you using the same mail servers?
Anyway, another thing you could do would be to run the script in debug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 24 Nov 2006, at 14:38, Jonathan wrote:
I have never written a python script that did not have a 'return'
statement. I don't know if it is mandatory or not. I usually use
python scripts as subroutines/functions and I always have a return
you remember my report
http://mail.zope.org/pipermail/zope/2005-August/160762.html
of an BUG for the handling of LONGs in DCO2?
In fact I forgot about this...
The consequence of this BUG is stochastic results for LONG fields
We use an Fix of this BUG:
I've put your code into
31 matches
Mail list logo