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

2005-12-29 Thread Jamie O'Keefe
Thanks Andreas and Jens for the helpful tip.

Jamie
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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

2005-12-29 Thread Jamie O'Keefe
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 <[EMAIL PROTECTED]> 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
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )