help needed - I cant get win32all working

Mark Hammond MarkH at ActiveState.com
Tue Aug 22 01:17:01 EDT 2000


Try starting Python.exe, and typing the following:

>>> import pywin.framework.intpyapp
>>> import win32ui
>>> win32ui.GetApp().InitInstance()
Failed to connect to Pythonwin|System. Error 0
>>> win32ui.GetApp().Run()

The error message is a debug message you can ignore (it is simply
indicating there is no existing pythonwin running it should switch to)

Note you will need to shutdown Pythonwin before you get control of
your console session back!

I expect that you will see an additional error message as Pythonwin
starts up - let me know what it says...

Mark.
markh at activestate.com - but if you think I speak for them, you dont
know Dick!

<dave_k3652 at my-deja.com> wrote in message
news:8nr144$vic$1 at nnrp1.deja.com...
> I have just installed Python 1.5.2 on a new PC
> and it seems to work fine, but when I install
> win32all (both builds 132 & 129 with patches)I
> get the following problems:
>
> 1) The interactive window comes up blank - no
> startup message, no command prompt, nothing.  I
> can type text in, but thats all.
>
> 2) When I try to create a new file it gives me
> the 'grep' dialog box.  Similarly when I try to
> open a file the dialog box has the 'grep'
> extensions as the default.
>
> 3) when I try to open a file for editing (either
> with the dialog box or through drag and drop) it
> just says 'Failed to open document'.
>
> Has anyone else come across this problem, and if
> so do they have a fix?
>
> I am running NT 4 (sp 4) on a dual processor
> machine (pentium IIIs) with 512Mb of RAM. I
> suspect that the dual processors may have
> something to do with it, but cant be sure.
>
> Any help would be appreciated.
>
>     Dave K
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.





More information about the Python-list mailing list