[Tutor] PythonWin IDE Problem on Win2K with ActivePython

Tom Churm churmtom@hotmail.com
Fri Jan 3 15:07:15 2003


This is a multi-part message in MIME format.

------=_NextPart_000_001D_01C2B36B.E3A6FEC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi,

(i don't like to cross-post, but i'd sent this message originally one =
week ago to python-help@python.org and never received a response.)

i just installed ActivePython-2.2.2-224 on Windows 2000 (no Service =
Pack).  don't think it matters, but i'm running a multi-boot system and =
Python has been installed on my (win2k) partition 'H:\' instead of =
'C:\'.

Python works, and Tkinter works, but not the PythonWin IDE.  as soon as =
i open up the PythonWin IDE i get a popup window labelled 'Traceback =
when executing InitInstance handler'.  the text inside this popup is as =
follows:

  File =
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\intpyapp.py", =
line 163, in InitInstance
    import interact
  File =
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\interact.py", =
line 26, in ?
    import winout
  File =
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\winout.py", =
line 228, in ?
    import pywin.scintilla.view
  File =
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\view.py", line =
16, in ?
    import bindings
  File =
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\bindings.py", =
line 6, in ?
    import keycodes
  File =
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\keycodes.py", =
line 25, in ?
    _better_names =3D [
exceptions.AttributeError: 'module' object has no attribute 'VK_RETURN'

please note that i've tried starting the ActivePython installer package =
and running the 'Repair' option, as well as completely uninstalling =
ActivePython and then reinstalling it (including deleting all Python =
registry items before reinstalling), but it just ain't workin'.  i hope =
noone's going to suggest that i install a Win2k Service Pack...i'd like =
to avoid this.

any help would be greatly appreciated...oh, yeah - i'm 99% sure my =
ActivePython installer package is not damaged, 'cause it's the same =
installation file i've used to successfully install ActivePython on =
another Win2K computer.

thanks,

tom






 
------=_NextPart_000_001D_01C2B36B.E3A6FEC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>(i don't like to cross-post, but i'd =
sent this=20
message originally&nbsp;one week ago to <A=20
href=3D"mailto:python-help@python.org">python-help@python.org</A>&nbsp;an=
d never=20
received a response.)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>i just installed ActivePython-2.2.2-224 =
on Windows=20
2000 (no Service Pack).&nbsp; don't think it matters, but i'm running a=20
multi-boot system and Python has been installed on my (win2k) partition =
'H:\'=20
instead of 'C:\'.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Python works, and Tkinter works, but =
not the=20
PythonWin IDE.&nbsp; as soon as i open up the PythonWin IDE i get a =
popup window=20
labelled 'Traceback when executing InitInstance handler'.&nbsp; the text =
inside=20
this popup is as follows:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; File=20
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\intpyapp.py", =
line 163,=20
in InitInstance<BR>&nbsp;&nbsp;&nbsp; import interact<BR>&nbsp; File=20
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\interact.py", =
line 26,=20
in ?<BR>&nbsp;&nbsp;&nbsp; import winout<BR>&nbsp; File=20
"H:\Python22\Lib\site-packages\Pythonwin\pywin\framework\winout.py", =
line 228,=20
in ?<BR>&nbsp;&nbsp;&nbsp; import pywin.scintilla.view<BR>&nbsp; File=20
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\view.py", line =
16, in=20
?<BR>&nbsp;&nbsp;&nbsp; import bindings<BR>&nbsp; File=20
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\bindings.py", =
line 6,=20
in ?<BR>&nbsp;&nbsp;&nbsp; import keycodes<BR>&nbsp; File=20
"H:\Python22\Lib\site-packages\Pythonwin\pywin\scintilla\keycodes.py", =
line 25,=20
in ?<BR>&nbsp;&nbsp;&nbsp; _better_names =3D =
[<BR>exceptions.AttributeError:=20
'module' object has no attribute 'VK_RETURN'</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>please note that i've tried starting =
the=20
ActivePython installer package and running the 'Repair' option, as well =
as=20
completely uninstalling ActivePython and then reinstalling it (including =

deleting all Python registry items before reinstalling), but it just =
ain't=20
workin'.&nbsp; i hope noone's going to suggest that i install a Win2k =
Service=20
Pack...i'd like to avoid this.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>any help&nbsp;would be&nbsp;greatly=20
appreciated...oh, yeah - i'm 99% sure my ActivePython installer package =
is not=20
damaged, 'cause it's the same installation file i've used to =
successfully=20
install ActivePython on another Win2K computer.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>tom</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_001D_01C2B36B.E3A6FEC0--