Hmmm, I think this may be due to a typo in the helper app code. Try applying the attached diff to zopeedit.py and see if it helps. -Casey On Tuesday 04 February 2003 03:58 am, Jean Jordaan wrote:
Hi all
A couple of times now, I've noticed this:
- I open a Python Script using ExternalEditor. A GET is issued, My editor starts up, and a LOCK gets set.
- Now I view and execute the script (more GETs) while editing and saving in my editor (PUTs get issued).
- That's fine. But then the lock goes away, and I successfully edit the script in the ZMI: a POST goes thru. But there hasn't been any UNLOCK yet. This shouldn't happen, right?
(Zope 2.5.1 (source release, python 2.1, linux2), python 2.1.3, linux2)
Excerpt from Z2.log:
192.168.1.5 - jean [03/Feb/2003:18:25:38 +0200] "GET /externalEdit_/test HTTP/1.1" 200 1088 "http://blommie:17081/manage_main" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20021212" 192.168.1.5 - jean [03/Feb/2003:18:25:40 +0200] "LOCK /test HTTP/1.1" 200 789 "" "Zope External Editor/0.6" 192.168.1.5 - jean [03/Feb/2003:18:25:56 +0200] "PUT /test HTTP/1.1" 204 251 "" "Zope External Editor/0.6" 192.168.1.5 - jean [03/Feb/2003:18:25:58 +0200] "GET /test/manage_workspace HTTP/1.1" 302 467 "http://blommie:17081/manage_main" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20021212" 192.168.1.5 - jean [04/Feb/2003:10:32:25 +0200] "PUT /test HTTP/1.1" 204 251 "" "Zope External Editor/0.6" 192.168.1.5 - jean [04/Feb/2003:10:46:11 +0200] "POST /test HTTP/1.1" 200 12877 "http://blommie:17081/test/ZPythonScriptHTML_editForm" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20021212" 192.168.1.5 - jean [04/Feb/2003:10:46:11 +0200] "GET /manage_page_style.css HTTP/1.1" 200 3014 "http://blommie:17081/test" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20021212" 192.168.1.5 - jean [04/Feb/2003:10:46:16 +0200] "PUT /test HTTP/1.1" 204 251 "" "Zope External Editor/0.6" 192.168.1.5 - jean [04/Feb/2003:10:46:18 +0200] "GET /test/manage_workspace HTTP/1.1" 302 467 "http://blommie:17081/test" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20021212"
-- Jean Jordaan http://www.upfrontsystems.co.za
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )