This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author devplayer
Recipients devplayer, eric.araujo, r.david.murray, terry.reedy
Date 2011-01-03.21:13:12
SpamBayes Score 5.720202e-11
Marked as misclassified No
Message-id <AANLkTinDaTZtaJp3xDgYOw3GSkL1pNUx0AF7SBUHEU6Q@mail.gmail.com>
In-reply-to <1294062298.52.0.453221053133.issue10060@psf.upfronthosting.co.za>
Content
It was suggested that a corrupt package would be where I'm experiencing the
lockup or crash of python.exe when issuing help() and then "modules". And
that if I or someone could verify that a corrupt package has this effect by
creating a corrupt package. I have not figured out how to make a package let
a lone a corrupt one. I think the following traceback points to my pywin32
being corrupt. Although I've downloaded that package from sourceforge more
then twice and reinstalled that package.

I included the information in the previous posts in case it helps in the
following mannger;
I expect others here in this forum are likely to have pywin32 version 214
installed. They could compare what I get from the traceback (returned when
using help() modules) the "dir(win32ui.GetMainFrame)" with what they have.
So that if they get something different with their dir(win32ui.GetmainFrame)
then we at least are more sure of where this issue is occuring.

Why does python.exe help() fail when an object, in this case win32ui, in the
traceback does not have a certain attribute, GetMainframe?

The dir() outputs in my previous posts show an object pywin32 package
doesn't have all the expected member attributes. It calls
win32ui.GetMainFrame.GetWindowText() method which doesn't exist.

Why would help() fail on that?
I'm no expert but I figured the information could help point someone in the
right direction.

BTW I've created a ticket in the pywin32 at sourceforge.net. - Because I
only suspect it's a corrupt package, I'm not sure and thought others there
would be able to tell me if it's the distro file or my installation.

Traceback reprinted:

Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "Q:\Python27\lib\site.py", line 453, in __call__
    return pydoc.help(*args, **kwds)
  File "Q:\Python27\lib\pydoc.py", line 1723, in __call__
    self.interact()
  File "Q:\Python27\lib\pydoc.py", line 1735, in interact
    request = self.getline('help> ')
  File "Q:\Python27\lib\pydoc.py", line 1746, in getline
    return raw_input(prompt)
  File "Q:\Python27\Lib\site-packages\pythonwin\pywin\framework\app.py",
line 367, in Win32RawInput
    ret=dialog.GetSimpleInput(prompt)
  File "Q:\Python27\Lib\site-packages\pythonwin\pywin\mfc\dialog.py", line
223, in GetSimpleInput
    if title is None: title=win32ui.GetMainFrame().GetWindowText()
error: The frame does not exist
Files
File name Uploaded
unnamed devplayer, 2011-01-03.21:13:12
History
Date User Action Args
2011-01-03 21:13:14devplayersetrecipients: + devplayer, terry.reedy, eric.araujo, r.david.murray
2011-01-03 21:13:12devplayerlinkissue10060 messages
2011-01-03 21:13:12devplayercreate