I'm not sure I understand your final comment. Are you saying that later
uses of F1 do get you the help, or rather that later uses of F1 don't do
anything at all (including not giving you the error message)?
One oddity is the presence of the double backslashes in the URL. But maybe
that's just an artifact of the error reporting, and the need in a character
string to represent a backslash by two of them (since for example '\n' is
end of line).
Bruce
--On Thursday, December 06, 2001 23:23 -0500 Joe Heafner
<hea...@vn...> wrote:
> I'm running Python 2.1.1 and Visual 2001-12-04 under WinME on a Sony VAIO
> PCG-F630 notebook. When I press F1 from IDLE (VPython version) or select
> "Python Documentation" from the menu, I get the following in a debug
> window:
>
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "C:\PYTHON21\lib\lib-tk\Tkinter.py", line 1285, in __call__
> return apply(self.func, args)
> File "C:\Python21\Tools\idle_VPython\EditorWindow.py", line 327, in
> python_docs webbrowser.open(self.help_url)
> File "C:\PYTHON21\lib\webbrowser.py", line 43, in open
> get().open(url, new, autoraise)
> File "C:\PYTHON21\lib\webbrowser.py", line 221, in open
> os.startfile(url)
> WindowsError: [Errno 2] The system cannot find the file specified:
> 'C:\\Python21\\Doc\\index.html'
>
>
> The help file is present and does indeed come up in Netscape, but I've
> never gotten these error messages before. Invoking F1 subsequent times
> does not generate any error messages. Any ideas?
|