[Zope] Re: DateTime().Time() gets Insufficient Privileges error, why?

Jamie O'Keefe jokeefe at jamesokeefe.org
Thu Dec 29 15:14:29 EST 2005


Nevermind.  I later found that I could not call HTTPConnection from my
python script in Zope and ended up going straight to running it in
python 2.3.

Jamie

On 12/28/05, Jamie O'Keefe <jokeefe at jamesokeefe.org> wrote:
> I am trying to get the latest time in a Python Script.
>
> I declare:
>
>    from DateTime.DateTime import DateTime
>
> But when I run:
>
>    t = DateTime().latestTime()
>
> or
>
>    t = DateTime().Time()
>
> I always get an Insufficient Privileges error.
>
> I have combed through the archives and the web and as far as I can
> tell this should work.  What am I doing wrong?
>
> Thanks!
>
> Jamie


More information about the Zope mailing list