[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Move to ZODB 3.4.1a6. This restores the LoopCallback.exit_status

2005-07-19 Thread Tim Peters
Log message for revision 37340: Move to ZODB 3.4.1a6. This restores the LoopCallback.exit_status gimmick back to where it was. Changed: _U Zope/branches/Zope-2_8-branch/lib/python/ _U Zope/branches/Zope-2_8-branch/utilities/ -=- Property changes on:

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

2005-07-19 Thread Tim Peters
Log message for revision 37341: Merge rev 37340 from Zope 2.8 branch. Move to ZODB 3.4.1a6. This restores the LoopCallback.exit_status gimmick back to where it was. Changed: _U Zope/trunk/lib/python/ _U Zope/trunk/utilities/ -=- Property changes on: Zope/trunk/lib/python

[Zope-Coders] Zope tests: 8 OK

2005-07-19 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Mon Jul 18 11:01:02 2005 UTC to Tue Jul 19 11:01:02 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: Mon Jul 18 23:25:47 EDT

[Zope-Coders] Rescheduling Zope 2.8.1 b1

2005-07-19 Thread Andreas Jung
Because of some traveling next week I will push back the release for one or two days (means Jul 28th or 29th). Hope this won't hurt anyone. Andreas pgpLTH5RalkWJ.pgp Description: PGP signature ___ Zope-Coders mailing list Zope-Coders@zope.org

Re: [Zope-Coders] Upcoming 2.8.1 release

2005-07-19 Thread Tim Peters
[Andreas Jung] Just the usual reminder from the release management :-) Zope 2.8.1 b1 will be released next Wednesday [Tim Peters] Is this correct? Please confirm. http://www.zope.org/Wikis/DevSite/Projects/Zope2.8/MilestonePlan still says 2.8.1 b1: 2005/7/27 2.8.1 final:

[Zope-dev] Reg Zope Installation Problem

2005-07-19 Thread praba kar
Dear All, I try to install zope 2.7.0. After the installation. I have create zope installation directory using mkzopeinstance.py. From that zope installation directory I try to run bin/runzope command. But It will give below type error. ***

[Zope-dev] Re: [Zope-Coders] Upcoming 2.8.1 release

2005-07-19 Thread Tim Peters
[Andreas Jung] Just the usual reminder from the release management :-) Zope 2.8.1 b1 will be released next Wednesday [Tim Peters] Is this correct? Please confirm. http://www.zope.org/Wikis/DevSite/Projects/Zope2.8/MilestonePlan still says 2.8.1 b1: 2005/7/27 2.8.1 final:

Re: [Zope] Forcing Zope transaction commit

2005-07-19 Thread Bakhtiar A Hamid
On 7/19/05, David H [EMAIL PROTECTED] wrote: Hi list, At times (it seems) necessary to force a Zope transaction commit. This might occur between two zSQL calls where the second depends on the first's *SQL* transaction's availability but the first has not yet been commited because the

Re: [Zope] Forcing Zope transaction commit

2005-07-19 Thread David H
Bakhtiar A Hamid wrote: On 7/19/05, David H [EMAIL PROTECTED] wrote: Hi list, At times (it seems) necessary to force a Zope transaction commit. This might occur between two zSQL calls where the second depends on the first's *SQL* transaction's availability but the first has not

Re: [Zope] Forcing Zope transaction commit

2005-07-19 Thread m . bizzarri
It would be better if you explain what you're trying to obtain. Inside a single *Zope* transaction, all the queries are inside the same *RDBMS* transaction. Therefore, the second sql method should see the effects of the first one. If that is not the case, review what is actually happening (i.e.

Re: [Zope] Forcing Zope transaction commit

2005-07-19 Thread Tino Wildenhain
Am Dienstag, den 19.07.2005, 00:35 -0700 schrieb David H: ... Your idea is what I thought of at first - but my Interbase Adapter doesn't like COMMIT statements (!) and I didn't test it out. But it seems that would not solve the problem because both ZSQL methods are embedded in the *same*

[Zope] Error in treating custom exception

2005-07-19 Thread Marco Bizzarri
Hi all. It looks like I've hit something which is already known (I've found this reference: http://mail.zope.org/pipermail/zope-collector-monitor/2004-October/004316.html ) I've a custom standard_error_html page, made with a Zope Page Template. I'm trying to provide a custom __str__ for a

[Zope] ZPyIRC and Zope 2.7

2005-07-19 Thread David
Hi I installed ZPyIRC version 0.1.3 in Zope 2.7.5 and I get Zope Template Errors on two of the frames when trying to start a chat client. I don't know ZTP very well. (Python is 2.3.5) I was hoping that maybe somebody has fixed the templates for 2.7. Any help very welcome! DR Here a

Re: [Zope] ZPyIRC and Zope 2.7

2005-07-19 Thread Andreas Jung
--On 19. Juli 2005 09:57:27 +0100 David [EMAIL PROTECTED] wrote: Hi I installed ZPyIRC version 0.1.3 in Zope 2.7.5 and I get Zope Template Errors on two of the frames when trying to start a chat client. I don't know ZTP very well. (Python is 2.3.5) I was hoping that maybe somebody has

[Zope] Reg Zope Installation Problem

2005-07-19 Thread praba kar
Dear All, I try to install zope 2.7.0. After the installation. I have create zope installation directory using mkzopeinstance.py. From that zope installation directory I try to run bin/runzope command. But It will give below type error. ***

Re: [Zope] Reg Zope Installation Problem

2005-07-19 Thread Andreas Jung
--On 19. Juli 2005 14:42:01 +0100 praba kar [EMAIL PROTECTED] wrote: Dear All, I try to install zope 2.7.0. After the installation. I have create zope installation directory using mkzopeinstance.py. From that zope installation directory I try to run bin/runzope command. But It

Re: [Zope] Reg Zope Installation Problem

2005-07-19 Thread Florent Guillaume
praba kar [EMAIL PROTECTED] wrote: I try to install zope 2.7.0. Stop right here. Zope 2.7.0 is hopelessly outdated. Use Zope 2.7.6. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]

[Zope] question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
I use the following template often. When using a page template for my MAIN page, I access the error and message vars with: p tal:content=options/errorError message/p p tal:content=options/messageReg. Message/p How would I access them when I use a dtml-method for my MAIN page? dtml-var error

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
On 7/19/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I use the following template often. When using a page template for my MAIN page, I access the error and message vars with: p tal:content=options/errorError message/p p tal:content=options/messageReg. Message/p How would I access them

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
I don't get a traceback, i just get error and message back as empty strings; their initiallized value. very strange. Peter Bengtsson wrote: On 7/19/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I use the following template often. When using a page template for my MAIN page, I access the

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
On 7/19/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I don't get a traceback, i just get error and message back as empty strings; their initiallized value. So you're not getting an error. What is the initialized value? Is 'error' and 'message' set in REQUEST? (that you can find out from doing

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
I am using DTML only because I am using the excellent Calendar tag product. sometimes, the links on the calendar tag get affected by from variables so as a hack i re-write the QUERY_STRING using: request.RESPONSE.redirect(request['URL'] + '?mode-calendar=' + request['mode-calendar'] +

Re: [Zope] question on python script, dtml method and options

2005-07-19 Thread Peter Bengtsson
How you get to the page is irrelevant. I don't care if you redirect there or type in the url or click a link. On 7/19/05, Erik Myllymaki [EMAIL PROTECTED] wrote: I am using DTML only because I am using the excellent Calendar tag product. sometimes, the links on the calendar tag get affected

[Zope] Re: question on python script, dtml method and options

2005-07-19 Thread Josef Meile
Hi Erik, I don't get a traceback, i just get error and message back as empty strings; their initiallized value. very strange. Looking at your python script I saw that initially you set error and message to the empty string ''. I guess the script is not detecting a 'next_state' keyword in the

Re: [Zope] Re: question on python script, dtml method and options

2005-07-19 Thread Erik Myllymaki
next_state does get initialized - it is the name of the submit buttons on my various forms. Josef Meile wrote: Hi Erik, I don't get a traceback, i just get error and message back as empty strings; their initiallized value. very strange. Looking at your python script I saw that initially

[Zope] ZTUtils.Iterator value in ZPT

2005-07-19 Thread David Pratt
I want to intialize the value of ZTUtils.Iterator and use the value to increment tabindex attribute in my ZPT for forms in CMF Something like: div tal:define iterator python:modules['ZTUtils'].Iterator; div .. html form contents .. a field

[Zope] ZopeProfiler (python profiler) - strange results

2005-07-19 Thread Maciej Wisniowski
Hi! I've just run ZopeProfiler few times to check which functions are slowest in my site and during analysis of the results I've found something that confuses me a bit. When I'm showing results using print_stats and ordered by time I get times: calls tottime percall cumtime

Re: [Zope] ZTUtils.Iterator value in ZPT

2005-07-19 Thread Peter Bengtsson
On 7/19/05, David Pratt [EMAIL PROTECTED] wrote: I want to intialize the value of ZTUtils.Iterator and use the value to increment tabindex attribute in my ZPT for forms in CMF Something like: div tal:define iterator python:modules['ZTUtils'].Iterator; div Don't you need to

[Zope] performance of textindexng2 vs. zctextindex

2005-07-19 Thread Francis Kelly
I recently installed TextIndexNG2 2.1.1 on a system running Zope 2.7.6 on Fedora Core 3. I've been running some comparison tests with ZCTextIndex, which is what our site currently uses. We're indexing around 50,000 objects at the moment. For TextIndexNG2, this is the configuration: Indexed

Re: [Zope] ZTUtils.Iterator value in ZPT

2005-07-19 Thread David Pratt
Hi Peter. Thanks for your reply. I think I am getting closer with this but still not quite right. It appears I am calling Iterator right, because it gets an Iterator instance and now getting number 1 but that doesn't tell me much. div tal:define = tabindex python:Iterator(range(100));

[Zope] Zope Foundation Update

2005-07-19 Thread Rob Page
Foundation Update This note updates progress on forming of the Zope Foundation. To remain transparent as possible, we are communicating in as timely a manner as possible. First, we have contacted the Software Freedom Law Center (SFLC) which specializes in the formation and

Re: [Zope] performance of textindexng2 vs. zctextindex

2005-07-19 Thread Andreas Jung
--On 19. Juli 2005 17:15:25 -0700 Francis Kelly [EMAIL PROTECTED] wrote: I recently installed TextIndexNG2 2.1.1 which is *pretty old*. Take a look at the v 2.2.0 which has been optimized over the time in different ways. Consider using StupidStorage as documented in the release notes.

Re: [Zope] Zope Foundation Update

2005-07-19 Thread Andreas Jung
--On 19. Juli 2005 19:07:25 -0400 Rob Page [EMAIL PROTECTED] wrote: During my stay at EuroPython I learned that eighteen months ago (and without Zope Corporation's knowledge or consent) Zope Europe Association (ZEA) registered a trademark consisting of the Cirlce-Z (the stylized Z surrounded

Re: [Zope] Cool monkey patch to make tracebacks more useful :-)

2005-07-19 Thread Chris Withers
Dieter Maurer wrote: Do you get a traceback by pdb? I meant when I type w in a pdb session. I only get information of the form *** TypeError: exceptions.TypeError instance at 0x405e0cac This is even more stupid than Microsoft error messages. Today, I have been so annoyed by this