External Editor on WinXP/Zope 2.5.1b1
Hi Casey, I have finally managed to add the x-zope-edit mime type to my WinXP/IE6 system (I have done it manually by editing the registry and I don't know if there is a more simple way to do that in WinXP), but I get the following error when I download the document test.txt by clicking the pencil icon: C:\ExternalEditor>c:\Python22\python zopeedit.py c:\ExternalEditor\test.txt FATAL ERROR: unsupported operand types for +: 'NoneType' and 'str' Traceback (most recent call last): File "zopeedit.py", line 685, in ? ExternalEditor(input_file).launch() File "zopeedit.py", line 286, in launch command = self.getEditorCommand() File "zopeedit.py", line 250, in getEditorCommand classname+'\\Shell\\Open\\Command') TypeError: unsupported operand types for +: 'NoneType' and 'str' What is wrong? Should I upgrade to Zope 2.5.1 [I don't think so]? The beta was here and I thought it would do the job for testing your External Editor product. Regards, Juergen
Have you set an editor in your ZopeEdit.ini file? change #editor = to: editor = c:\windows\notepad.exe At 05:29 AM 6/18/02, Juergen R. Plasser / Hexagon wrote:
Hi Casey,
I have finally managed to add the x-zope-edit mime type to my WinXP/IE6 system (I have done it manually by editing the registry and I don't know if there is a more simple way to do that in WinXP), but I get the following error when I download the document test.txt by clicking the pencil icon:
C:\ExternalEditor>c:\Python22\python zopeedit.py c:\ExternalEditor\test.txt FATAL ERROR: unsupported operand types for +: 'NoneType' and 'str' Traceback (most recent call last): File "zopeedit.py", line 685, in ? ExternalEditor(input_file).launch() File "zopeedit.py", line 286, in launch command = self.getEditorCommand() File "zopeedit.py", line 250, in getEditorCommand classname+'\\Shell\\Open\\Command') TypeError: unsupported operand types for +: 'NoneType' and 'str'
What is wrong? Should I upgrade to Zope 2.5.1 [I don't think so]? The beta was here and I thought it would do the job for testing your External Editor product.
Regards, Juergen
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Thanks! That's it! It works!!!! Juergen --On Dienstag, 18. Juni 2002 07:28 -0400 Adam Manock <abmanock@earthlink.net> wrote:
Have you set an editor in your ZopeEdit.ini file? change #editor = to: editor = c:\windows\notepad.exe
participants (2)
-
Adam Manock -
Juergen R. Plasser / Hexagon