Zope: how far

Michele Beltrame mb at italpro.net
Wed May 23 09:09:08 EDT 2001


Hello!

I'm using Zope and have a problem which makes me wonder how far I
can go with scripts. OK, I created many "DTML Methods" and "Scripts
(Python)" which work as long as I do not call something like:

time.gmtime()

In this case an "Unauthorized" error is reported when I browse/test
the created object. An example which gives this error is:

---
import gmtime
mygmt = time.gmtime(time.time())
return mygmt
---

What's the problem?

       Thanks, Michele.

-- 
Michele Beltrame
mb at io.com
http://www.io.com/~mick/
ICQ# 76660101
==> Sito di it.comp.lang.perl: http://www.perl-it.org
==> Sei del triveneto e vuoi unirti ai Perl Mongers? Scrivimi!



More information about the Python-list mailing list