Hi, I have a problem with external editor and editing python scripts with pythonwin. It works fine if pythonwin is not open when I edit a script by clicking on the pencil. But if pythonwin is already open, I get the error: "external editor lost connection to editor process" The script is loaded in pythonwin, but the connection to Zope is lost.
anyone have a solution ?
Sune B. Woeller
hello again, found a solution, in the ZopeEdit.ini use the following:
[meta-type:Script (Python)] editor=C:\Plone 2\Python\Lib\site-packages\pythonwin\pythonwin.exe /newinstance "%1"
Apparently pythonwin recognizes /newinstance
by the way, add stuff like this as well to recognize the new types used with the CMFFormController:
[meta-type:Controller Python Script] editor=C:\Plone 2\Python\Lib\site-packages\pythonwin\pythonwin.exe /newinstance "%1"
Hi, I have a problem with external editor and editing python scripts with pythonwin. It works fine if pythonwin is not open when I edit a script by clicking on the pencil. But if pythonwin is already open, I get the error: "external editor lost connection to editor process" The script is loaded in pythonwin, but the connection to Zope is lost.
anyone have a solution ?
Sune B. Woeller