Re: [Zope-dev] getURL and url_quoting

2002-01-28 Thread Chris Withers
Hi lambert, You question is better suited to the [EMAIL PROTECTED] list. zope-dev is for the development of Zope not the development of applications with Zope. lambert muhr wrote: A HREF=dtml.-getURL;link/a unfortunately, the link on the web page turns out like this:

[Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread Chris Withers
Hi, A routine move to Python 2.1.2 this morning has resulted in one of our Zope instances continually dying with the following: zdaemon: Mon Jan 28 13:45:45 2002: Aiieee! 18724 exited with error code: 6 Some questions: 1. What does Error Code 6 mean? 2. How can I find out what these error

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread stefan holek
At 28.01.2002 13:55 +, Chris Withers wrote: 1. What does Error Code 6 mean? #define ENXIO6 /* No such device or address */ 2. How can I find out what these error codes eman in general? Look into /usr/include/asm/errno.h 3. How can I fix this problem? Make the device or

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread Chris Withers
stefan holek wrote: 1. What does Error Code 6 mean? #define ENXIO6 /* No such device or address */ 2. How can I find out what these error codes eman in general? Look into /usr/include/asm/errno.h 3. How can I fix this problem? Make the device or address

[Zope-dev] DTML Document textarea edit

2002-01-28 Thread Dirk Datzert
Hi! I want to suggest a modification for the DTML Document/Method dtml-file documentEdit.dtml On default the textarea will be displayd with wrap=off . If I imported XML-Files without line breaks it is difficult to edit the files via DTML-Webfrontend. A property wrapmode could solve this:

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread Leonardo Rochael Almeida
On Mon, 2002-01-28 at 12:29, stefan holek wrote: At 28.01.2002 13:55 +, Chris Withers wrote: 1. What does Error Code 6 mean? #define ENXIO6 /* No such device or address */ Actually, it means the Zope process exited because of a signal, and the signal was 6, meaning

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread stefan holek
At 28.01.2002 12:58 -0200, Leonardo Rochael Almeida wrote: On Mon, 2002-01-28 at 12:29, stefan holek wrote: At 28.01.2002 13:55 +, Chris Withers wrote: 1. What does Error Code 6 mean? #define ENXIO6 /* No such device or address */ Actually, it means the Zope

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread Matt Behrens
stefan holek wrote: At 28.01.2002 13:55 +, Chris Withers wrote: 1. What does Error Code 6 mean? #define ENXIO6 /* No such device or address */ Bzzt. The error code comes from waitpid(), which the Python library doco says has the same return code as wait(). The

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread Chris Withers
Leonardo Rochael Almeida wrote: Actually, it means the Zope process exited because of a signal, and the signal was 6, meaning SIGABRT or SIGABORT (check kill -l on your nearest unix prompt). However, I have no idea what could cause a SIGABORT. Hmmm... how would I go about finding out? I

Re: [Zope-dev] Defining Interfaces

2002-01-28 Thread Chris Withers
Jeffrey P Shell wrote: On 1/27/02 11:25 AM, Steve Alexander [EMAIL PROTECTED] wrote: Hi folks, When I define an Interface, are the methods of the interface supposed to have self as the first argument? No. Can you expand on this a little? It doesn't make sense to me to exclude

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread R. David Murray
On Mon, 28 Jan 2002, Chris Withers wrote: I tracked it down to a python script that returned a data structure consisting of nested lists and dictionaries. Now, I remember there being a bug in RestrictedPython that would affect Zope 2.4.2, but why would the upgrade of Python suddenly trigger

Re: [Zope-dev] [BUG] Python 2.1.2 Zope 2.4.1

2002-01-28 Thread Paul Everitt
Leonardo Rochael Almeida wrote: I'm really disappointed with ZC for putting out a new release of Zope instead of a fixed version of the release most everyone is currently using. 2.4.4 is ready, but there's a problem with the Windows build. I suppose we could just put the others up there

Re: [Zope-dev] [BUG] Python 2.1.2 Zope 2.4.1

2002-01-28 Thread Martijn Pieters
On Mon, Jan 28, 2002 at 10:32:11AM -0500, Paul Everitt wrote: All in all, only a few days separate the two releases, and obviously CVS people have been able to get at changes all along. Thus, I don't think this is an extreme case. Also note that downloading a source release from CVS is

[Zope-dev] Python Base Classes, ZObjectManager, and Subobjects (fwd)

2002-01-28 Thread Ross Patterson
I'm transitioning a product from pure ZClasses to a hybrid product python base classes and ZClasses. So this is my first time working with python products. I'm trying to setup a python base class to provide a central place to subclass ZObjectManager and CatalogAware that I can rebase later

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread Dieter Maurer
Chris Withers writes: A routine move to Python 2.1.2 this morning has resulted in one of our Zope instances continually dying with the following: zdaemon: Mon Jan 28 13:45:45 2002: Aiieee! 18724 exited with error code: 6 Some questions: 1. What does Error Code 6 mean? Signal 6,

Re: [Zope-dev] [BUG] Python 2.1.2 Zope 2.4.1

2002-01-28 Thread Dieter Maurer
Olivier Deckmyn writes: This has been explained recently (-- mailing list archives, probably through Google search for f_stacksize). I did, without a great success. Summary, you need to upgrade Zope, too! If only I could... Zope 2.4.3 will not work with Python 2.1.2.

Re: [Zope-dev] Python 2.1.2 causes Error code 6?

2002-01-28 Thread Chris McDonough
This is probably caused by the assertion error raised by Python 2.1.2 in the case of a miscomputed stack size. See my previous message. Dieter Maurer wrote: Chris Withers writes: A routine move to Python 2.1.2 this morning has resulted in one of our Zope instances continually dying

Re: [Zope-dev] [BUG] Python 2.1.2 Zope 2.4.1

2002-01-28 Thread Chris McDonough
Dieter Maurer wrote: Zope 2.4.3 will not work with Python 2.1.2. This is not literally true. Zope 2.4.3 will work fine with Python 2.1.2. However, Python 2.1.2 doesn't ignore stacksize computation problems like Python 2.1.1. Instead of silently corrutping memory and continuing like

[Zope-dev] Zope 2.5.0 and VirtualHostMonster

2002-01-28 Thread Jesus Cea Avion
If you have problems with VirtualHostMonster and Zope 2.5.0, check http://collector.zope.org/ColDev/64 -- Jesus Cea Avion _/_/ _/_/_/_/_/_/ [EMAIL PROTECTED] http://www.argo.es/~jcea/ _/_/_/_/ _/_/_/_/ _/_/

RE: [Zope-dev] Zope 2.5.0 and VirtualHostMonster

2002-01-28 Thread Trevor Toenjes
We are considering upgrading from 2.4.0 to 2.5.0. Does the same issue apply to EnhancedVHM? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jesus Cea Avion Sent: Monday, January 28, 2002 5:01 PM To: [EMAIL PROTECTED] Subject: [Zope-dev] Zope 2.5.0

Re: [Zope-dev] Defining Interfaces

2002-01-28 Thread Adrian Hungate
This is based on the new Python 2.2 stuff, isn't it? I would guess the answer would be You exclude the 'self' first arg in a class method. Unfortunately I am still trying to digest what has changed in Python 2.2, so I am probably not the best person to answer beyond this point. There was a link

Re: [Zope-dev] Defining Interfaces

2002-01-28 Thread Steve Alexander
Adrian Hungate wrote: This is based on the new Python 2.2 stuff, isn't it? I would guess the answer would be You exclude the 'self' first arg in a class method. Not really. You exclude the self first argument of a static method. The first argument of a class method is where the class is

Re: [Zope-dev] Error 11

2002-01-28 Thread Ahsan Imam
Applied the db.py patch and no success. Currently dowloaded and installed the Zope 2.4.4 beta 1 Python Version python 2.1.2 ZMySQLDA Here is a little excerpt from gdb Would the following output have any special meaning? gdb python core #0 0x4008c8a5 in __sigsuspend (set=0x415cf19c) at

Re: [Zope-dev] Defining Interfaces

2002-01-28 Thread Jeffrey P Shell
On 1/28/02 8:17 AM, Chris Withers [EMAIL PROTECTED] wrote: Jeffrey P Shell wrote: On 1/27/02 11:25 AM, Steve Alexander [EMAIL PROTECTED] wrote: Hi folks, When I define an Interface, are the methods of the interface supposed to have self as the first argument? No. Can you expand

Re: [Zope-dev] Error 11

2002-01-28 Thread Chris McDonough
You have a core file from the zdaemon process.. it's sorta useless as a result. If you want to get a meaningful core file, run Zope without ZDaemon (pass -Z '' to the start script). That said, we've confirmed crashbug problems in an installation with mysqlda in at least one customer site.

Re: [Zope-dev] Zope 2.5.0 and VirtualHostMonster

2002-01-28 Thread marc lindahl
From: Trevor Toenjes [EMAIL PROTECTED] Date: Mon, 28 Jan 2002 17:16:12 -0500 To: Jesus Cea Avion [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [Zope-dev] Zope 2.5.0 and VirtualHostMonster We are considering upgrading from 2.4.0 to 2.5.0. Does the same issue apply to EnhancedVHM?

[Zope-dev] Re: Python Base Classes, ZObjectManager, and Subobjects

2002-01-28 Thread Ross Patterson
Nobody's really answering and I keep getting both closer and further looking at the ZClasses code. As I understand it now, ZClasses.ZClass.createZClassForBase is supposed to address the ZClass meta class issues such as creating the _zclass_ in addition to the actual class and handling

Re: [Zope-dev] [BUG] Python 2.1.2 Zope 2.4.1

2002-01-28 Thread Anthony Baxter
Olivier Deckmyn wrote assertion STACK_LEVEL() = f-f_stacksize failed: file Python/ceval.c, line 687 This is a new assertion, put in to catch the case where the RestrictedCompiler code used by PythonScripts incorrectly calculates stack size. After some hours of researches, I have a (dirty,

Re: [Zope-dev] [BUG] Python 2.1.2 Zope 2.4.1

2002-01-28 Thread Olivier Deckmyn
Please, please, please, don't propagate dodgy and incorrect fixes like the above (removing the assertion). The assertion is in the code for a very, very good reason. I obviously know this !! But couldn't find another way to have my servers restart this sunday. I just regret that this problem