[Zope-dev] monitor_client.py in Zope 2.4.1 not working properly

2001-09-26 Thread Morten W. Petersen
Hi, I've been playing a bit with the monitor_client (ZServer/medusa), and it seems all exceptions aren't raised so it's visible in the client, it's seen in the debug output from Zope itself. Has anyone experienced this? -Morten ___ Zope-Dev

Re: [Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-26 Thread Steve Alexander
Lupus Yonderboy wrote: Can anyone shed some light on how i might do this? All objects under the DocumentRoot will be derived from one of our base classes, so if we need to override __getattr__ as per TransparentFolders it can be done easily. Have you looked at the __bobo_traverse__

[Zope-dev] zLog and stderr

2001-09-26 Thread Toby Dickenson
I have some old python modules which are generating messages from the new python 2.1 warning framework. I can easily fix these modules, however it has exposed a problem in Zope.. The warning framework tries to write to sys.stderr, and my Zope is dying from an exception because stderr has

[Zope-dev] ImportError (No module names utils)

2001-09-26 Thread Morten W. Petersen
Hi, after using a module named utils in a Zope product the root management screen is no longer available (the module is now renamed). The traceback looks like this: Traceback (innermost last): File /home/morten/tmp/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module

[Zope-dev] Multithread transaction problems in ZODB

2001-09-26 Thread Cyril Elkaim
Hi, We are testing ZODB directly from Python and have a multitread ConflictError problem. In short :-) if we open a connection in a first thread, then a second connection in a second thread and then commit the first one and then the second (the transactions are so

[Zope-dev] KeyError on UnIndex.keyForDocument

2001-09-26 Thread Morten W. Petersen
Hia, While trying to reindex an entire catalog an error is raised, which looks like this: Traceback (innermost last): File /home/morten/zope_instances/usr2/local/Zope-bcr/lib/python/ZPublisher/Publish.py, line 223, in publish_module File

Re: [Zope-dev] Multithread transaction problems in ZODB

2001-09-26 Thread Paul Everitt
First, just a friendly reminder that there is a zodb-dev mailing list. On this, check out Andrew Kuchling's page about ZEO development: http://www.amk.ca/zodb/zodb-zeo.html There's a section at the bottom with a brief discussion of ConflictError, what it means, and how to handle it. Zope

Re: [Zope-dev] zLog and stderr

2001-09-26 Thread Steve Alexander
Toby Dickenson wrote: I have some old python modules which are generating messages from the new python 2.1 warning framework. I can easily fix these modules, however it has exposed a problem in Zope.. The warning framework tries to write to sys.stderr, and my Zope is dying from an

Re: [Zope-dev] zLog and stderr

2001-09-26 Thread Stefan H. Holek
On Wed, 26 Sep 2001, Toby Dickenson wrote: I have some old python modules which are generating messages from the new python 2.1 warning framework. I can easily fix these modules, however it has exposed a problem in Zope.. The warning framework tries to write to sys.stderr, and my Zope

[Zope-dev] random regex

2001-09-26 Thread seb bacon
I'm finding that the regex which deals with links in structured text is broken (Zope 2.4.1, Python 2.1). If you try a link with a query string: link:http://www.foo.com?ding=dongbit=bat the part of the regex which is matching the url only matches up to the first '=' (or ''). If I run the

Re: [Zope-dev] random regex

2001-09-26 Thread Andreas Jung
- Original Message - From: seb bacon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 10:47 Subject: [Zope-dev] random regex I'm finding that the regex which deals with links in structured text is broken (Zope 2.4.1, Python 2.1). If you try a link with a

Re: [Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-26 Thread Shane Hathaway
Lupus Yonderboy wrote: I have tried hooking __getattr__ and have a hard time avoiding recursion; I have taken a look at the ever-productive Shane Hathaway's TransparentFolder product as well but I think I am let down by my lack of understanding of the particulars of acquisition. Here are

[Zope-dev] Distributing Zope one of our products

2001-09-26 Thread Simon Coles
Hi, You may know that as well as doing Cool Things With Zope, we also do stuff with Electronic Lab Notebooks (ELNs) - not using Zope unfortunately, but that's another story. Anyway, we have come up with an Open Source ELN (OS-ELN), which is based on Zope and the CMF. Readers of this forum

RE: [Zope-dev] Create directory in LocalFS

2001-09-26 Thread R. David Murray
On Tue, 25 Sep 2001, Jeff Nielsen / UgoFast wrote: I don't think I'm understanding you. I want to create the subdirectory programmitcally inside a DTML Document. Are you suggesting something like: dtml-call /images/Companies/100/manage_addProduct/OFSP/folderAdd(187) OFSP is Zope's Object

RE: [Zope-dev] Create directory in LocalFS

2001-09-26 Thread Garry Steedman
when you're inside a LocalFS folder, you can add a directory by simply adding a folder, but obviously you need the permissions to create a directory in the FS (i.e. the Zope/Apache process needs the permissions)... cheers, Garry On 26 Sep 2001, at 11:59, R. David Murray wrote: From:

[Zope-dev] StructuredText problem w/ literals underlining

2001-09-26 Thread sean . bowman
hello, I'm having a problem with StructuredText on Zope-2_4-branch under python 2.1.1. Literals with underscores in them get rendered as underlined rather than literals; for example, '__class_init__' gets rendered as StructuredTextParagraph(['_, StructuredTextUnderline('class'), init__'], [ ])

[Zope-dev] Z2.log file not showing user name correctly

2001-09-26 Thread George Nguyen
I was looking in the entries in the Z2.log file and it lists the user as being Anonymous when I'm actually logged in as a validated user. I'm using the LDAPLoginAdapter for my top-level acl_users. I have no other acl_users folders. Any comments? George

Re: [Zope-dev] zLog and stderr

2001-09-26 Thread Dieter Maurer
Toby Dickenson writes: I think it makes sense that Zope should replace sys.stderr with an object that sends messages to zLog, however zLog itself sometimes wites to sys.stderr. zLog writes to stderr only when there is no log file defined Dieter

Re: [Zope-dev] DISCUSS: Community checkins for CVS

2001-09-26 Thread Dieter Maurer
Paul Everitt writes: We'll probably work up some boilerplate such as, I'm going to commit your patch to Zope. It's going to be available under the ZPL and the joint ownership model of the Zope Contributor Agreement. Please respond agreeing that you understand the ZPL, the joint

Re: [Zope-dev] zLog and stderr

2001-09-26 Thread Dieter Maurer
Stefan H. Holek writes: AFAIK, setting the STUPID_LOG_FILE envar in the start script will provide stdout/stderr to Zope. stderr but not stdout Long time ago, I switched to STUPID_LOG_FILE= From this time on, I never again saw a write to stderr appear outside the log file. As

Re: [Zope-dev] Z2.log file not showing user name correctly

2001-09-26 Thread R. David Murray
On Wed, 26 Sep 2001, George Nguyen wrote: I was looking in the entries in the Z2.log file and it lists the user as being Anonymous when I'm actually logged in as a validated user. This is very likely the result of an authentication...optimization?...done by the security machinery: if the

Re: [Zope-dev] Z2.log file not showing user name correctly

2001-09-26 Thread Chris McDonough
Someone (Shane?) claimed that 2.4.1 removes this optimization. - Original Message - From: R. David Murray [EMAIL PROTECTED] To: George Nguyen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 26, 2001 4:40 PM Subject: Re: [Zope-dev] Z2.log file not showing user name

Re: [Zope-dev] Acquisition, __getattr__ and making a Proxy/Symlink class

2001-09-26 Thread Chris Withers
Also, be sure optimize, because __getattr__ gets called *a lot*. In some cases, I've measured it getting invoked hundreds of thousands of times in a single request! Ouch! How was that happening? Chris ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Distributing Zope one of our products

2001-09-26 Thread Richard Jones
On Thursday 27 September 2001 00:37, Simon Coles wrote: But of course at the moment we have to get them to: - install Zope - get, expand, and install the CMF (which is distributed as a .tgz, rather confounding Windows users) - get our product and expand/install

[Zope-dev] Zope on Windows/Mac OS X: BatteriesIncludedDistribution

2001-09-26 Thread Richard Jones
I've just created the follwing fishbowl proposal: http://dev.zope.org/Wikis/DevSite/Proposals/BatteriesIncludedDistribution Please read and comment. Richard ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] Web Services for Zope

2001-09-26 Thread Andy McKay
Can I ask what the current status of the WebServices for Zope project is? http://dev.zope.org/Wikis/DevSite/Projects/WebServicesForZope/FrontPage Wiki says I had been shooting for something at the end of September, but that has been overtaken by events :( I'll be trying to work on this on an

RE: [Zope-dev] Web Services for Zope

2001-09-26 Thread sean . upton
{snip} trying-to-auto-generate-a-wsdl-from-my-product'ly yours Hmm... in the interim, what about using ZPT (+ParsedXML, of course) and a few python scripts to do this? Sean ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] Web Services for Zope

2001-09-26 Thread Andy McKay
Ugh ZPT to read through my .py files? Parsing the .py files is relatively straight forward, and writing out xml is easy. But its bits like variable types that get tricky. Cheers. -- Andy McKay. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]

[Zope-dev] Zope Dying

2001-09-26 Thread Andre Schubert
Hi, Yesterday our Zope(2.2.5) on redhat 6.2 immunix was dying 3-4 times in about 2 hours. There are nothing to report in all the logs zope can produce. But is there a way that zope makes a core dump when he is dying unexpectly? as ___ Zope-Dev