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

2008-03-18 Thread Mark Hellewell
Hello, 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 the following error in the event.log

Re: [Zope] content headers wrong after upload

2008-03-18 Thread Andreas Jung
--On 18. März 2008 15:23:56 -0500 Michael Shulman <[EMAIL PROTECTED]> wrote: On Tue, Mar 18, 2008 at 2:52 PM, Andreas Jung <[EMAIL PROTECTED]> 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 head

Re: [Zope] Choosing printer in client computer

2008-03-18 Thread Andreas Jung
--On 18. März 2008 14:16:54 -0700 rieh25 <[EMAIL PROTECTED]> wrote: I need an application to choose a specific printer in a client computer (not the server) for printing reports. Internet explorer uses register entries to configure the default printer, but the problem is that an external scri

[Zope] Choosing printer in client computer

2008-03-18 Thread rieh25
I need an application to choose a specific printer in a client computer (not the server) for printing reports. Internet explorer uses register entries to configure the default printer, but the problem is that an external script would do this changes in the server, not the local computer. Or should

Re: [Zope] content headers wrong after upload

2008-03-18 Thread Michael Shulman
On Tue, Mar 18, 2008 at 2:52 PM, Andreas Jung <[EMAIL PROTECTED]> 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, rathe

Re: [Zope] content headers wrong after upload

2008-03-18 Thread Andreas Jung
--On 18. März 2008 13:03:18 -0500 Michael Shulman <[EMAIL PROTECTED]> 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 th

Re: [Zope] queryCatalog API?

2008-03-18 Thread James Robertson
Thanks Andreas I (mistakenly?) thought the Plone queryCatalog method simply wrapped a Zope method. Anyway, Martin Aspeli has since explained it as: " The API is just that it takes a dict or keyword arguments that correspond to catalog indexes (which you can see in portal_catalog in the ZMI) and v

[Zope] content headers wrong after upload

2008-03-18 Thread Michael Shulman
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 could be happening

[Zope] For the record

2008-03-18 Thread Peter Bengtsson
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 each with a ZCatalog that has a PathIndex. I would

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

2008-03-18 Thread Chris Withers
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 archive without problem.