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 a

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

2008-03-19 Thread Maurits van Rees
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 corrupted. > if they

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 persi

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

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 op

[Zope] Zope utf-8 problem using MySQL

2008-03-19 Thread Hugo Ramos
Yellow ppl, I'm using Zope 2.10.5 + MySQL 5.0.51a + MySQL-python-1.2.2. Everything is set to utf-8. In MySQL server and client is set to utf-8 and utf8_general_ci In Zope zpublisher is set to utf-8 I even created the (in)famous sitecustomize.py in Python 2.4.4 site-packages The problem is that w

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 actu

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

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,0

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 >