WebSeitz/wikilog
Zope Get Slice Bug
Whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it, and to institute new Government, laying its foundation on such principles and organizing its powers in such form, as to them shall seem most likely to effect their Safety and Happiness.

(backlinks off) (map off)
(search off)
last edited by BillSeitz on Jul 14, 2008 3:36 pm

aka

Problem: http://groups.yahoo.com/group/zope/message/113478

One solution: http://groups.yahoo.com/group/zope/message/113482

tested that [URL] is a string --, 2003/06/25 17:17 [GMT]
http://webseitz.fluxent.com/wiki/dtmlrequest shows:

 URL    'http://webseitz.fluxent.com/wiki/dtmlrequest'

Test case to focus on --, 2003/07/01 18:12 [GMT]
Most obvious in just trying to list the wiki contents, but since that's horribly long let's try something simpler.

http://216.17.130.14/fluxent/webseitz/wiki/manage_propertiesForm will be the page I try to get to.

So I need to figure out how to stop before the eval to look at the values of the params.

trying to debug --, 2003/07/04 13:14 [GMT]
per http://www.zope.org/Documentation/Books/ZDG/current/TestingAndDebugging.stx

But after doing the import, when I try ZPublisher.Zope(/fluxent/webseitz/wiki/manage_propertiesForm')' it spits out a 401 (Unauthorized) response. Nothing in the docs says this will happen. I wonder if you can't use this method on [ZMI] [URLs]?

trying zLOG as another approach --, 2003/07/15 17:22 [GMT]
to dump values like action and URL - (note that [ZLog] dumps msg to console, not to a file (for me) which causes problems when there's too much stuf)

but I keep getting error like "global name URL is not defined"

back to debug process --, 2003/07/15 23:21 [GMT]
following Jul4 document, but different process - " Interactive Debugging Triggered From the Web"

seems to work --, 2003/07/16 02:32 [GMT]
Gets into pdb. Here's pdb docs

Will try some more tomorrow.

code objects --, 2003/07/16 02:37 [GMT]
ah, that's a pointer to pseudo-compiled code - see here and find "code objects"

have no clue how to move forward --, 2003/07/16 21:21 [GMT]
Tried setting the breakpoint at various places, but I honestly have no idea what I'm even looking for.

If a 3rd party isn't going to save my bacon, I need to figure out a new approach.

perfect timing! --, 2003/07/16 21:33 [GMT]
[Jamie Heilman] pointed out the problem must be from having an object named URL in the folder. That's it! He suggested a code change (in manage_tabs.dtml), but I just settled for removing the object.

See : | | |


 




Bill Seitz, fluxent at gmail dot com, Weblog