After trying to play with some debugging, I got tired of the headaches. So I turned to zLOG, and tried to call it from with DT_Util.py, to find out the value of URL. But I end up getting a "global name 'URL' is not defined" message. How can I work around this without having to rewrite chunks of internal Zope code? --- In zope@yahoogroups.com, Bill Seitz <fluxent@y...> wrote:
Well, I put in a dtmlrequest method, and it says
URL 'http://webseitz.fluxent.com/wiki/dtmlrequest'
so I guess URL must be a string.
see http://webseitz.fluxent.com/wiki/ZopeGetSliceBug
--- Troy Farrell <troy@e...> wrote:
One thing that might help: create a dtml method
in
a folder above this one with this one line in it:
<dtml-var REQUEST>
Then visit
http://server/folderparent/foldernotworking/dtmlrequest
and see what it tells you. Is URL a string (I hope so...)
Troy
[1]
http://cvs.zope.org/*checkout*/Zope2/lib/python/DocumentTemplate/DT_Util.py?...
Bill Seitz wrote:
I thought maybe the problem below was related to running zope 2.3.2. But experimenting on my
laptop
with v2.5.1 doesn't seem to help, either. This makes it impossible to change object properties, etc.
------
I get this when I try to view a particular folder through the ZMI.
I suspect I have too many items in the folder.
I'm running zope 2.3.2, and don't want to change right now (until I make some zwiki code changes).
Is there a workaround? Or a hack to add/copy a DTML document into the folder?
Error Type: AttributeError Error Value: __getslice__
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com