[Zope] External Editor Glitch with Galeon Only
Damon Butler
damon@hddesign.com
22 Nov 2002 15:37:58 -0600
On Fri, 2002-11-22 at 15:23, Casey Duncan wrote:
> On Friday 22 November 2002 04:13 pm, Damon Butler wrote:
> > > > However, *every* time I try this in Galeon, I also get an error
> > > > dialog as the file is opened:
> > > >
> > > > "FATAL ERROR: [Errno 2] No such file or directory:
> > > > '/tmp/<name_of_file>'"
>
> Look in your tmp directory and see if you see a zopeedit-traceback file. Send
> it to me. I can't explain how External Editor continues to run after
> presenting this dialog. It's followed by sys.exit()...
Here's what I just did:
(1) I cleared out /tmp completely. Empty /tmp directory.
(2) I launched EE on a file called index_html. Got the error msg box
noted above.
(3) Looked in /tmp. The only file there was the tempfile relating the
one just opened in gvim via EE. NO TRACEBACK FILE IS PRESENT.
(4) Closed the file and quit gvim.
(5) Looked in /tmp. Completely empty, as expected.
(6) Went back to Galeon and launched EE on the same index_html file. Got
the error msg box again.
(7) Looked in /tmp. Now, along with the correct tempfile that *should*
be there, is indeed a zopeedit-traceback file. Here's the complete text
of it (not that it's very helpful):
Traceback (most recent call last):
File "/home/damon/bin/python/zopeedit.py", line 737, in ?
ExternalEditor(input_file).launch()
File "/home/damon/bin/python/zopeedit.py", line 182, in __init__
raise exc, exc_data
IOError: [Errno 2] No such file or directory: '/tmp/index_html'
(8) Now, any file I launch produces two files in /tmp: The correct
tempfile and an associated zopeedit-traceback file.
Bizarro.
--Damon