[Zope] More on External Editor problem
Dennis Allison
allison at sumeru.stanford.EDU
Sat Jul 10 12:27:16 EDT 2004
So, it appears that there is an incompatibility in the file names.
At least under Python 2.3.3 mktemp() generates a file name pointing to the
mktemp('foo')
generates a file path in the TEMP directory rather than TEMP\\Temporary
Internet Files directory where the application looks. I'm still trying
to figure out how the names get our of sync.
The temp_dir option may be a possible workaround for the moment. I did
note, in the code, that it uses os.tempnam() which is a potential security
risk.
Is there a bug tracker for the ExternalEditor? If there is, I'll write up
a formal bug report.
On Sat, 10 Jul 2004, Dennis Allison wrote:
> I've been using version 0.6 and will upgrade to 0.7.2 shortly. Let me
> know if you've already encountered this and fixed it.
>
> Some of my users insist on using WindowsXP Home and IE. The external
> editor fails. Running the helper application standalone works fine.
> Runing Firefox as the browser works fine after a bit of fancy twostepping
> to get it configured.
>
> The diagnostic from IE is
>
> FATAL ERROR: [Errorno 2] No such file or directory: 'C:\\Documents and
> Settings\\joe\\Local Settings\\Temporary Internet
> Files\\Content.IE5\\11Q3QMRM\MyTest[1].zope'
>
> which appears to be a bad path in the helper application. I believe that
> the correct path is ...\\Local Settings\\Temp\\Temporary Internet
> Files\\..
>
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
More information about the Zope
mailing list