[Zope] Upgrading from 2.10 to 2.13

2011-09-02 Thread Michael Shulman
Hi, I am trying to upgrade an old 2.10 instance to 2.13, and I appear to be having trouble with the Psycopg connection and ZSQL methods. First of all, it took some work to uncover that I had to download the source code for Psycopg in order to get the ZPsycopgDA zope product (easy_install

Re: [Zope] Upgrading from 2.10 to 2.13

2011-09-02 Thread Michael Shulman
: On 09/02/2011 11:12 PM, Michael Shulman wrote: Second, it took some more work to uncover that I had to separately install the ZSQLMethods product. Michael, I can't help you with your issue but I got stuck in the upgrade since I didn't manage to install the ZSQLMethods. Can you tell which

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] 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

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

Re: [Zope] Generic SQL insert

2006-04-15 Thread Michael Shulman
Robert (Jamie) Munro [EMAIL PROTECTED] wrote: I'd much rather have a dictionary of fields and values, and just throw it at the DB, not having to make those queries for every table. I have acheived it like so: I have achieved a similar result, although for update methods in my case, in what I

[Zope] nested records

2006-03-11 Thread Michael Shulman
Am I correct that zope's item.subitem:record facility for form submission does not extend to nesting such things? If I have a form of the sort: input name=item.subitem.subsubitem:record I would like it to show up in the request as a record 'item' with an element named 'subitem' that is itself a

Re: [Zope] nested records

2006-03-11 Thread Michael Shulman
I don't *think* that page answers my question... if it does, can you point me to where? On 3/11/06, Jonathan [EMAIL PROTECTED] wrote: Have a look at: http://www.zope.org/Members/Zen/howto/FormVariableTypes Jonathan - Original Message - From: Michael Shulman [EMAIL PROTECTED

[Zope] Re: restricting permissions for direct access only

2006-02-16 Thread Michael Shulman
I don't understand what inheriting proxy roles from callers has to do with allowing users to access protected resources above their user folders. They seem like totally different questions to me. Could you please explain? On 2/16/06, Tres Seaver [EMAIL PROTECTED] wrote: But... it's still not

[Zope] Re: Zope Digest, Vol 21, Issue 24

2006-02-16 Thread Michael Shulman
On 2/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The only change I recall to how proxy roles work is that proxy roles used to *augment* a users' roles; now they *replace* them. I don't know that the case you are talking about (S1 has proxy roles, calls protected S2 fine, but fails when

Re: [Zope] restricting permissions for direct access only

2006-02-15 Thread Michael Shulman
On 2/15/06, Chris Withers [EMAIL PROTECTED] wrote: But... it's still not working for my real site. I think the issue is this. If script1 has proxy role Manager, and script2 has view permissions set only for Manager, then script1 can call script2, no problem. But if script1 instead calls

Re: [Zope] restricting permissions for direct access only

2006-02-14 Thread Michael Shulman
*also* has proxy role Manager. Is there a way to make scripts inherit proxy roles from their callers? Or am I confused once again? mike On 2/14/06, Chris Withers [EMAIL PROTECTED] wrote: Michael Shulman wrote: Thanks Lennart! Proxy roles do sound like the answer, but I cannot get them

[Zope] restricting permissions for direct access only

2006-02-10 Thread Michael Shulman
Hi, I am new to Zope, and so far I like it very much. But I think I am confused about how security works, or is supposed to work. Specifically I want to know the following. Is there a way in Zope to restrict permissions for direct access only (i.e. calling an object through the web) but still