Re: [Zope] Choosing printer in client computer

2008-03-19 Thread Peter Bengtsson
You've seen Andreas response already so I'm not going to repeat that. I don't think the browser will ever have access to these settings. Imagine if it did, it could open up a world of security risks for just using a normal web page. On 18/03/2008, rieh25 [EMAIL PROTECTED] wrote: I need an

Re: [Zope] Upgrading a Product from Zope 2.7 to Zope 2.10

2008-03-19 Thread Peter Bengtsson
I'm not an expert at these kind of things but 3 tips: * Don't bother with trying to run off the old Data.fs until you get your product working in the new Zope. * Inspect your code and what kind of objects (and most likely more importantly) and attributes you're attaching to classes that are

Re: [Zope] Re: zip files corrupted with IE when opened, fine when downloaded

2008-03-19 Thread robert rottermann
Maurits van Rees schrieb: robert rottermann, on 2008-03-17: Hi there, we have a problem with an intranet that runs using plone 2.5.3 when users using IE want to open a zip file from the intranet by using the open option from the download dialog they get winzip complaining that the file is

Re: [Zope] zip files corrupted with IE when opened, fine when downloaded

2008-03-19 Thread robert rottermann
Chris Withers schrieb: robert rottermann wrote: Hi there, when users using IE want to open a zip file from the intranet by using the open option from the download dialog they get winzip complaining that the file is corrupted. if they select save from the same dialog they can open the zip

Re: [Zope] For the record

2008-03-19 Thread Dieter Maurer
Peter Bengtsson wrote at 2008-3-18 17:38 +: I wanted to see how much faster brain.getObject() would be if the returned object was located in a BTreeFolder versus a normal folder so I wrote a benchmark that created about 10,000 light simple objects in two distinctly different containers and

Re: [Zope] content headers wrong after upload

2008-03-19 Thread Dieter Maurer
Michael Shulman wrote at 2008-3-18 13:03 -0500: I just noticed that when I submit a form to a zope script(python) that includes a file upload, the content-type and content-length headers of the response are incorrectly set to those of the uploaded file, rather than those of what the script

Re: [Zope] Upgrading a Product from Zope 2.7 to Zope 2.10

2008-03-19 Thread Dieter Maurer
Mark Hellewell wrote at 2008-3-19 15:57 +1100: I'm in the middle of trying to upgrade a Product written for Zope 2.7 so that it runs on Zope 2.10! The product appears in the newer ZMI's list of available products but whenever I try to add an object of the products type through the ZMI I get

Re: [Zope] For the record

2008-03-19 Thread Peter Bengtsson
On 19/03/2008, Dieter Maurer [EMAIL PROTECTED] wrote: Peter Bengtsson wrote at 2008-3-18 17:38 +: I wanted to see how much faster brain.getObject() would be if the returned object was located in a BTreeFolder versus a normal folder so I wrote a benchmark that created about 10,000 light

Re: [Zope] content headers wrong after upload

2008-03-19 Thread Michael Shulman
I wrote: I just noticed that when I submit a form to a zope script(python) that includes a file upload, the content-type and content-length headers of the response are incorrectly set to those of the uploaded file, rather than those of what the script actually returns. Any ideas why this

[Zope-dev] Zope Tests: 5 OK

2008-03-19 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Tue Mar 18 12:00:00 2008 UTC to Wed Mar 19 12:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Tue Mar 18 21:52:59 EDT 2008 URL:

[Zope-dev] Building / installing Zope on AIX 5.3

2008-03-19 Thread Marcello Bax
Hello, I compiled Python 2.4.4 on AIX 5.3, with cc_r compiler, installed Zope-2.9.8and Plone-2.5.1. Everything seems work well, excepted when I call Plone on the browser or click on the view tab inside one Plone site at the ZMI. When I do this, I get a Segmentation fault on the server. Can

[Zope-dev] Re: Building / installing Zope on AIX 5.3

2008-03-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcello Bax wrote: Hello, I compiled Python 2.4.4 on AIX 5.3, with cc_r compiler, installed Zope-2.9.8and Plone-2.5.1. Everything seems work well, excepted when I call Plone on the browser or click on the view tab inside one Plone site at

Re: [Zope-dev] Building / installing Zope on AIX 5.3

2008-03-19 Thread Dieter Maurer
Marcello Bax wrote at 2008-3-19 09:31 -0300: ... I compiled Python 2.4.4 on AIX 5.3, with cc_r compiler, installed Zope-2.9.8and Plone-2.5.1. Everything seems work well, excepted when I call Plone on the browser or click on the view tab inside one Plone site at the ZMI. When I do this, I get a

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-19 Thread Marius Gedminas
On Mon, Mar 10, 2008 at 06:09:50PM +0100, Wichert Akkerman wrote: [...the usual doctest vs unittest discussion ...] Lack of isolation is a very convincing argument to me. For me as well. Which is why I put my doctests into a traditional tests/test_foo.py module like this: # ... imports etc

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-19 Thread Marius Gedminas
On Tue, Mar 11, 2008 at 09:25:59AM -0400, Jim Fulton wrote: I'm not sure what scaffolding you're referring to. Do you mean test set up? Or the tools for normalizing output? For test set up, I don't think there's any difference. I can sympathize with the skepticism with normalizing output.

Re: [Zope-dev] zope.sendmail Retry fixes and new state machine.

2008-03-19 Thread Marius Gedminas
On Sun, Mar 09, 2008 at 08:54:11PM -0400, Gary Poster wrote: I did a five-minute skim of the checkin but hope to look a bit more tomorrow. Hopefully Marius, Benji, Albertas, or someone else who has actually done work on this package will take a look and chime in. I intend to. Actually, I

[Zope-dev] zope.sendmail grantma-retryfixes branch review

2008-03-19 Thread Marius Gedminas
I'm starting a new thread, because the original one got hijacked by the doctest/unittest flamefest. I appear to have unsubscribed from zope3-checkins a while ago, which is why I'm posting here. Disclaimer: I'm not very good at doing code reviews. I tend to mention every little detail that

Re: [Zope-dev] Building / installing Zope on AIX 5.3

2008-03-19 Thread Marcello Bax
Thank you for the help. The unifiedInstaller from plone.org seems to have a Python package that corrects this stack size issue. After installing GNU versions of tar, make, gcc and ln on AIX-5.3, I followed, step by step, the install.sh script from unifiedInstaller bundle using bash shell. I