How to increase PythonWin v2.0: COM browser limits?

Syver Enstad syver at NOSPAMcyberwatcher.com
Tue Mar 27 17:49:45 EST 2001


Try using OleView instead, it think it's freely downloadable with the
platform sdk if you don't have visual studio.

"Twan van der Schoot" <twanvds at xs4all.nl> wrote in message
news:996flh$e9m$1 at news1.xs4all.nl...
> thanks,
>
>
> But I think it is strange that nobody else seems to have the problem,
wonder
> if anybody uses the COM facilities in Pythonwin.
>
> gr
>
> Twan
>
>
> "Eduard Hiti" <KatMouse at gmx.de> wrote in message
> news:995sgi$7u0$04$1 at news.t-online.com...
> > I just tried the COM browser here on my machine, and it gives me the
same
> > error. I'm suspecting an error in Pythonwin...
> >
> > Eduard
> >
> > "Twan van der Schoot" <twanvds at xs4all.nl> wrote in message
> > news:994psh$so5$1 at news1.xs4all.nl...
> > | I'm trying to use the COM Browser in Pythonwin version 2.0.  But I run
> > into
> > | limitations of some kind.  As a Python newby I dutifully scanned FAQs
> and
> > | newsgroups, but alas!
> > |
> > | To reproduce the problem: On a heavily used NT 4.0 system with a lot
of
> > | registered COM stuff, start Pythonwin version 2.0 go to the menu
entry:
> > COM
> > | Browser to start the COM browser and expand the "Registered
Categories"
> > | branch in the tree view.
> > |
> > | Pythonwin shows in the interactive window a backtrace on an exception.
> > The
> > | culprit raising this exception was the response:
> > |
> > | File "D:\Python20\win32com\client\util.py", line 53, in __GetIndex
> > |     result = self._oleobj_.Next(1)
> > | pywintypes.com_error: (-2147024882, 'Not enough storage is available
to
> > | complete this operation.', None, None)
> > | win32ui: Exception in OnNotify() handler
> > |
> > | Something suggests that the number of registered objects is too large
> for
> > | the COM browser.  As I've -of course- the sources available, I was
> wonder
> > if
> > | there is some parameter which I can increase to solve the problem.  Or
> am
> > I
> > | running into limitations of the treeview control of MS Windows?
> > |
> > | TIA
> > |
> > | Twan van der Schoot
> > | twanvds at NOSPAM.xs4all.nl
> > |
> > |
> >
> >
>
>





More information about the Python-list mailing list