[Zope-dev] Yay! :-)

2002-01-07 Thread Chris Withers
Hey! Who sneaked the fix that lets you customise error messages for unauthorised exceptions into Zope 2.5? Well, whoever it was, a HUGE thankyou for fixign what was quite a nasty little wart... ...now if we could only get rid of that nasty appended traceback, my world would be a happy place

Re: [Zope-dev] File/stream like Pdata class in Zope?

2002-01-07 Thread Toby Dickenson
On Fri, 04 Jan 2002 17:41:08 +0100, Niels Mache [EMAIL PROTECTED] wrote: I want to transmit the data of a (probably large) Pdata object (Zope module OSF/Image) over a TCP/IP socket using sock.send(). I assume you mean *not* using http. Do you *need* that to be blocking? I thought I needed

Re: [Zope-dev] [Fwd: Does anyone know how to suppress display of +/- signs on a dtml-tree?]

2002-01-07 Thread Chris McDonough
There are no plans to change the tree tag for Zope 2.5, but later Zope versions might be helped out by your patch. - C Craeg K. Strong wrote: I would like to answer my own question (see below). According to ZOPE/lib/python/TreeDisplay/TreeTag.py, there is no way to suppress the

Re: [Zope-dev] Re: [Zope] [Bug] bobobase_modification_time unreliable to catalog

2002-01-07 Thread Casey Duncan
On Saturday 05 January 2002 08:15 pm, kapil thangavelu allegedly wrote: On Sunday 30 December 2001 08:00 pm, Casey Duncan wrote: This behavior is logical if unintuitive. I propose that we can kill two birds with one stone to fix this: - Add a new method perhaps: getModificationTime() to

[Zope-dev] Testers needed for z2.py security patch

2002-01-07 Thread Matt Behrens
I've made a security patch for Zope 2.5.0b3 that addresses the setuid startup issues on UNIX and plan to backport it to 2.4.4 (?) and 2.3.3 once I get some positive reports. Only UNIX users need apply this patch. Windows may well have similar issues but I have no clue how to fix them.

[Zope-dev] Re: Testers needed for z2.py security patch

2002-01-07 Thread Matt Behrens
Matt Behrens wrote: I've made a security patch for Zope 2.5.0b3 that addresses the setuid startup issues on UNIX and plan to backport it to 2.4.4 (?) and 2.3.3 once I get some positive reports. Only UNIX users need apply this patch. Windows may well have similar issues but I have no

Re: [Zope-dev] Re: [Zope] [Bug] bobobase_modification_time unreliable to catalog

2002-01-07 Thread kapil thangavelu
On Monday 07 January 2002 06:20 am, Casey Duncan wrote: On Saturday 05 January 2002 08:15 pm, kapil thangavelu allegedly wrote: On Sunday 30 December 2001 08:00 pm, Casey Duncan wrote: This behavior is logical if unintuitive. I propose that we can kill two birds with one stone to fix

Re: [Zope-dev] Re: [Zope] [Bug] bobobase_modification_time unreliable to catalog

2002-01-07 Thread Casey Duncan
On Monday 07 January 2002 07:38 am, kapil thangavelu allegedly wrote: On Monday 07 January 2002 06:20 am, Casey Duncan wrote: [snippingtons] I am interested in seeing this code. From my perspective it seems overly sophisticated. I'm interested how you derive the registration time in the

[Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Joachim Werner
Hi! This is my first post in the new year, so best wishes for 2002 from Germany! And on we go with my problem: I have a ZClass-based Class derived from File. It holds PDF documents. SOME (not all) of them do not auto-open in Acrobat Reader as they are supposed to if MS IE 5.x is used. Opera

Re: [Zope-dev] Re: [Zope] [Bug] bobobase_modification_time unreliable to catalog

2002-01-07 Thread Casey Duncan
That looks nice and simple to me. Does anyone have a concern about the behavior for new objects? (I'm not sure what can be done about it...) If no one objects I can check this into the core. Or before getting ahead of myself, does this still need a proposal and all that?

Re: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Casey Duncan
On Monday 07 January 2002 03:28 pm, Joachim Werner allegedly wrote: Hi! This is my first post in the new year, so best wishes for 2002 from Germany! And on we go with my problem: I have a ZClass-based Class derived from File. It holds PDF documents. SOME (not all) of them do not

RE: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Orjust strange behavoiur of IE?

2002-01-07 Thread sean . upton
Acrobat uses something called byte-serving, which is a pain to support sometimes on the server-side, because it essentially amounts to serving parts of a file up to a given byte offset; when Acrobat acts as an HTTP client, it requests the PDF file, and once it has enough of the top of the doc to

Re: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Andreas Jung
Martijn fixed that problem some weeks ago. The fixes are in the CVS now. Andreas - Original Message - From: Casey Duncan [EMAIL PROTECTED] To: Joachim Werner [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 07, 2002 15:45 Subject: Re: [Zope-dev] PDF-specific Bug in the ZServer

RE: [Zope-dev] Re: [Zope] [Bug] bobobase_modification_time unreliable to catalog

2002-01-07 Thread Brian Lloyd
That looks nice and simple to me. Does anyone have a concern about the behavior for new objects? (I'm not sure what can be done about it...) If no one objects I can check this into the core. Or before getting ahead of myself, does this still need a proposal and all that? I'm ok

Re: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Orjust strange behavoiur of IE?

2002-01-07 Thread Derek Simkowiak
- Any hints on that? The failure to open a PDF can be caused by the browser never knowing that file is all done downloading. If Zope is running on WindowsNT and you're using Solaris (either as the workstation or else as an HTTP proxy) then you may be getting a rare bug between

Re: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Joachim Werner
Hi! This was a really quick response! Thanks a lot. Just one additional question: What is the best approach to upgrading to the new code? Replacing the ZServer code by the CVS one? Is the patch in the latest 2.5 beta, too? Joachim - Original Message - From: Andreas Jung [EMAIL

Re: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Dirk Datzert
Hi, I have the same problem and want to fix it in Zope 2.4.3. Can anybody give a short description how to proceed ? Thanks Dirk Joachim Werner schrieb: Hi! This was a really quick response! Thanks a lot. Just one additional question: What is the best approach to upgrading to the new

Re: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Joachim Werner
Hi! Just to answer my own question and complete the mail archive: If you have problems with downloads that make use of the HTTP range functionality (e.g. with the latest Acrobat Reader in MS IE), Zope 2.5 fixes the problem (for me). ___ Zope-Dev

Re: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Martijn Pieters
On Mon, Jan 07, 2002 at 09:56:40PM +0100, Joachim Werner wrote: This was a really quick response! Thanks a lot. Just one additional question: What is the best approach to upgrading to the new code? Replacing the ZServer code by the CVS one? Is the patch in the latest 2.5 beta, too? Yes,

Re: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Martijn Pieters
On Mon, Jan 07, 2002 at 09:56:40PM +0100, Joachim Werner wrote: What is the best approach to upgrading to the new code? Replacing the ZServer code by the CVS one? The code only applies to OFS/Image.py (only File and Image objects support HTTP Range) and ZPublisher/HTTPRangeSupport.py. I've

RE: [Zope-dev] PDF-specific Bug in the ZServer implementation??? Or just strange behavoiur of IE?

2002-01-07 Thread Trevor Toenjes
BRILLIANT!! One headache fixed. Martijn Analgesic Pieters, you are my hero for the day. Thank you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Martijn Pieters Sent: Monday, January 07, 2002 4:12 PM To: Joachim Werner Cc: [EMAIL PROTECTED]

[Zope-dev] ghosts of removed products haunting ZSQL Methods?

2002-01-07 Thread John Ziniti
I used to have the Product TrackerBase installed and have removed it. Now, however, attempts to access the Advanced tab of ZSQL Methods is broken because a chain of events attempt to get info about a the non-existent Product: lib/python/Shared/DC/ZRDB/dtml/advanced.dtml calls