Re: [Zope] Pbs with ExternalEditor win32
As a newbie I am having problems getting External Editor to work on Windows(98).
I tried the new 0.3 version and.. it doesn't work, windows nt 4 Fatal Error: No such file or directory 'c:\users\default\ZopeEdit.ini i couldn't find a zopeedit.ini in the distributed files. the class external editor in the helper application asks for it (line 93): # Read the configuration file if win32: config_path = path.expanduser('~\\ZopeEdit.ini') else: config_path = path.expanduser('~/.zope-external-edit') Met vriendelijke groeten, Hans de Wit Stichting Farmaceutische Kengetallen Postbus 30460 2500 GL DEN HAAG Tel. 070-3737448 Fax 070-3737445 Marie Robichon <robichon@esrf.f To: H.de.Wit@SFK.NL r> cc: Subject: Re: [Zope] Pbs with ExternalEditor win32 17-06-02 16:40 At 16:33 17/06/02 +0200, you wrote:
As a newbie I am having problems getting External Editor to work on Windows (98).
There is a new version (0.3) that should support windows. http://www.zope.org/Members/Caseman/ExternalEditor/0.3-release-news
The old one didn't, and there i stopped. Did you try it with 0.3
Yes this is the one I am using..... Marie
Hmm, it should create the a default ini file for you. I'm not in front of a windows box right now, so I can't check this. Any chance of trying to run it from the command line? It should spit out a traceback. -Casey On Mon, 2002-06-17 at 12:31, H.de.Wit@SFK.NL wrote:
As a newbie I am having problems getting External Editor to work on Windows(98).
I tried the new 0.3 version and.. it doesn't work, windows nt 4
Fatal Error: No such file or directory 'c:\users\default\ZopeEdit.ini
i couldn't find a zopeedit.ini in the distributed files. the class external editor in the helper application asks for it (line 93):
# Read the configuration file if win32: config_path = path.expanduser('~\\ZopeEdit.ini') else: config_path = path.expanduser('~/.zope-external-edit')
Met vriendelijke groeten,
Hans de Wit Stichting Farmaceutische Kengetallen Postbus 30460 2500 GL DEN HAAG Tel. 070-3737448 Fax 070-3737445
Marie Robichon <robichon@esrf.f To: H.de.Wit@SFK.NL r> cc: Subject: Re: [Zope] Pbs with ExternalEditor win32 17-06-02 16:40
At 16:33 17/06/02 +0200, you wrote:
As a newbie I am having problems getting External Editor to work on Windows (98).
There is a new version (0.3) that should support windows. http://www.zope.org/Members/Caseman/ExternalEditor/0.3-release-news
The old one didn't, and there i stopped. Did you try it with 0.3
Yes this is the one I am using.....
Marie
_______________________________________________ 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 )
I did a little interactive work on a 98 box with user profiles disabled: (Start / settings / control panel / passwords / user profiles / All users get the same crud) PythonWin 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)] on win32. Portions Copyright 1994-2001 Mark Hammond (mhammond@skippinet.com.au) - see 'Help/About PythonWin' for further copyright information.
from os import path config_path = path.expanduser('~\\ZopeEdit.ini') print config_path ~\ZopeEdit.ini
Adam At 01:01 PM 6/17/2002 -0400, Casey Duncan wrote:
Hmm, it should create the a default ini file for you. I'm not in front of a windows box right now, so I can't check this.
Any chance of trying to run it from the command line? It should spit out a traceback.
-Casey
On Mon, 2002-06-17 at 12:31, H.de.Wit@SFK.NL wrote:
As a newbie I am having problems getting External Editor to work on Windows(98).
I tried the new 0.3 version and.. it doesn't work, windows nt 4
Fatal Error: No such file or directory 'c:\users\default\ZopeEdit.ini
i couldn't find a zopeedit.ini in the distributed files. the class external editor in the helper application asks for it (line 93):
# Read the configuration file if win32: config_path = path.expanduser('~\\ZopeEdit.ini') else: config_path = path.expanduser('~/.zope-external-edit')
Met vriendelijke groeten,
Hans de Wit Stichting Farmaceutische Kengetallen Postbus 30460 2500 GL DEN HAAG Tel. 070-3737448 Fax 070-3737445
Marie
Robichon
<robichon@esrf.f To: H.de.Wit@SFK.NL
r> cc:
Subject: Re: [Zope] Pbs
with ExternalEditor win32
17-06-02
16:40
At 16:33 17/06/02 +0200, you wrote:
As a newbie I am having problems getting External Editor to work on Windows (98).
There is a new version (0.3) that should support windows. http://www.zope.org/Members/Caseman/ExternalEditor/0.3-release-news
The old one didn't, and there i stopped. Did you try it with 0.3
Yes this is the one I am using.....
Marie
_______________________________________________ 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 )
_______________________________________________ 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 )
Yeah, I need to fix that. In the mean time you can set a HOME environment variable in your autoexec.bat. Or wait until I fix it ;^). -Casey On Mon, 2002-06-17 at 13:50, Adam Manock wrote:
I did a little interactive work on a 98 box with user profiles disabled: (Start / settings / control panel / passwords / user profiles / All users get the same crud)
PythonWin 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)] on win32. Portions Copyright 1994-2001 Mark Hammond (mhammond@skippinet.com.au) - see 'Help/About PythonWin' for further copyright information.
from os import path config_path = path.expanduser('~\\ZopeEdit.ini') print config_path ~\ZopeEdit.ini
Adam
At 01:01 PM 6/17/2002 -0400, Casey Duncan wrote:
Hmm, it should create the a default ini file for you. I'm not in front of a windows box right now, so I can't check this.
Any chance of trying to run it from the command line? It should spit out a traceback.
-Casey
On Mon, 2002-06-17 at 12:31, H.de.Wit@SFK.NL wrote:
As a newbie I am having problems getting External Editor to work on Windows(98).
I tried the new 0.3 version and.. it doesn't work, windows nt 4
Fatal Error: No such file or directory 'c:\users\default\ZopeEdit.ini
i couldn't find a zopeedit.ini in the distributed files. the class external editor in the helper application asks for it (line 93):
# Read the configuration file if win32: config_path = path.expanduser('~\\ZopeEdit.ini') else: config_path = path.expanduser('~/.zope-external-edit')
Met vriendelijke groeten,
Hans de Wit Stichting Farmaceutische Kengetallen Postbus 30460 2500 GL DEN HAAG Tel. 070-3737448 Fax 070-3737445
Marie
Robichon
<robichon@esrf.f To: H.de.Wit@SFK.NL
r> cc:
Subject: Re: [Zope] Pbs
with ExternalEditor win32
17-06-02
16:40
At 16:33 17/06/02 +0200, you wrote:
As a newbie I am having problems getting External Editor to work on Windows (98).
There is a new version (0.3) that should support windows. http://www.zope.org/Members/Caseman/ExternalEditor/0.3-release-news
The old one didn't, and there i stopped. Did you try it with 0.3
Yes this is the one I am using.....
Marie
_______________________________________________ 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 )
_______________________________________________ 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 )
Hi, I tried to get ExternalEditor running on win32 (Windows 2000 Pro)with Internet Explorer 6.0, but I cannot find the place to define the mime type of my new file type. The Tools/Folder Options/File Types dialogs only allow me to specify the extension of the file and the name of the file type, not the mimetype, so when I click the icon, IE will not recognize the external program. I had a cursory look at the registry, but I didn't immediately see what was going on. Douwe
Hallo Douwe, I have the same problem with Windows XP and IE6. Do you have a solution already? I tried to change some values in the registry but it still does not work! Juergen --On Dienstag, 18. Juni 2002 08:31 +0200 douwe@oberon.nl wrote:
Hi,
I tried to get ExternalEditor running on win32 (Windows 2000 Pro)with Internet Explorer 6.0, but I cannot find the place to define the mime type of my new file type. The Tools/Folder Options/File Types dialogs only allow me to specify the extension of the file and the name of the file type, not the mimetype, so when I click the icon, IE will not recognize the external program. I had a cursory look at the registry, but I didn't immediately see what was going on.
Douwe
Quick Fix: In zopeedit.py change lines 94-95 from: if win32: config_path = path.expanduser('~\\ZopeEdit.ini') to: if win32: config_path = 'C:\\ZopeEdit.ini' This file will be created the next time you click on a ZMI pencil icon. You can then edit it, set the default and special case editors etc Adam At 06:31 PM 6/17/2002 +0200, H.de.Wit@SFK.NL wrote:
As a newbie I am having problems getting External Editor to work on Windows(98).
I tried the new 0.3 version and.. it doesn't work, windows nt 4
Fatal Error: No such file or directory 'c:\users\default\ZopeEdit.ini
i couldn't find a zopeedit.ini in the distributed files. the class external editor in the helper application asks for it (line 93):
# Read the configuration file if win32: config_path = path.expanduser('~\\ZopeEdit.ini') else: config_path = path.expanduser('~/.zope-external-edit')
Met vriendelijke groeten,
Hans de Wit Stichting Farmaceutische Kengetallen Postbus 30460 2500 GL DEN HAAG Tel. 070-3737448 Fax 070-3737445
Marie Robichon
<robichon@esrf.f To: H.de.Wit@SFK.NL
r> cc:
Subject: Re: [Zope] Pbs with ExternalEditor win32 17-06-02 16:40
At 16:33 17/06/02 +0200, you wrote:
As a newbie I am having problems getting External Editor to work on Windows (98).
There is a new version (0.3) that should support windows. http://www.zope.org/Members/Caseman/ExternalEditor/0.3-release-news
The old one didn't, and there i stopped. Did you try it with 0.3
Yes this is the one I am using.....
Marie
_______________________________________________ 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 )
participants (5)
-
Adam Manock -
Casey Duncan -
douwe@oberon.nl -
H.de.Wit@SFK.NL -
Juergen R. Plasser / Hexagon