Re: [Zope] Zope scheduling problem

2006-02-27 Thread Martijn Pieters
On 2/24/06, Nicholas Watmough [EMAIL PROTECTED] wrote: Out of interest, why am I unable to access the method from with my Zope python code? What is a private object, and why is it private? All through-the-web code is run in a restricted sandbox; this includes Python Scripts, DTML methods, ZSQL

Re: [Zope] Zope scheduling problem

2006-02-23 Thread Nicholas Watmough
Thanks for that. It worked perfectly. Out of interest, why am I unable to access the method from with my Zope python code? What is a private object, and why is it private? Thanks, Nick Martijn Pieters wrote: On 2/19/06, Nicholas Watmough [EMAIL PROTECTED] wrote: I tried using

Re: [Zope] Zope scheduling problem

2006-02-19 Thread Nicholas Watmough
So my problem is that the user that is running the catalog search doesn't have sufficient permissions? That makes sense, though I had just thought there was a problem with my catalog. And unrestrictedSearchResults gets around this problem? Thanks, I'll have to try that. Martijn Pieters

Re: [Zope] Zope scheduling problem

2006-02-19 Thread Nicholas Watmough
I tried using unrestrictedSearchResults and got a security permission error, saying I didn't have permission to access unrestrictedSearchResults(). When I turned on verbose security, I got the following error: Unauthorized: The object is marked as private. Access to

Re: [Zope] Zope scheduling problem

2006-02-19 Thread Martijn Pieters
On 2/19/06, Nicholas Watmough [EMAIL PROTECTED] wrote: I tried using unrestrictedSearchResults and got a security permission error, saying I didn't have permission to access unrestrictedSearchResults(). When I turned on verbose security, I got the following error: Unauthorized: The object

[Zope] Zope scheduling problem

2006-02-17 Thread Nicholas Watmough
Hello, I'm not sure if this is the correct forum for my question. I'm running Zope 2.9.0 (though I've tried it on 2.8.5, with the same problem). I have a Python script in a Zope folder that checks a specified email address, packages all the emails and attachments, and adds them into a

Re: [Zope] Zope scheduling problem

2006-02-17 Thread Martijn Pieters
On 2/17/06, Nicholas Watmough [EMAIL PROTECTED] wrote: I've set a proxy for the script so it runs as a Manager. However, when I set a ZopeScheduler to run this script, I get an error where the ZCatalog doesn't find any results when I search for the PloneArticle instance. Now the article I am