Dev Player <devpla...@gmail.com> added the comment:
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
----------
Added file: http://bugs.python.org/file20245/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10060>
_______________________________________
<div>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. </div>
<div>Â </div>
<div>I included the information in the previous posts in case it helps in the
following mannger;</div>
<div>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.</div>
<div>Â </div>
<div>Why does python.exe help() fail when an object, in this case win32ui, in
the traceback does not have a certain attribute, GetMainframe?</div>
<div>Â </div>
<div>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.</div>
<div>Â </div>
<div>Why would help() fail on that? </div>
<div>I'm no expert but I figured the information could help point someone
in the right direction.</div>
<div>Â </div>
<div>BTW I've created a ticket in the pywin32 at <a
href="http://sourceforge.net">sourceforge.net</a>. - 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.</div>
<div>Â </div>
<div>Traceback reprinted:</div>
<div>Â </div>
<div>Traceback (most recent call last):<br>Â File "<input>",
line 1, in <module><br>Â File "Q:\Python27\lib\site.py", line
453, in __call__<br>Â Â Â return pydoc.help(*args, **kwds)<br>Â File
"Q:\Python27\lib\pydoc.py", line 1723, in __call__<br>
   self.interact()<br> File "Q:\Python27\lib\pydoc.py", line
1735, in interact<br>Â Â Â request = self.getline('help> ')<br>Â
File "Q:\Python27\lib\pydoc.py", line 1746, in getline<br>Â Â Â
return raw_input(prompt)<br>
 File
"Q:\Python27\Lib\site-packages\pythonwin\pywin\framework\app.py",
line 367, in Win32RawInput<br>Â Â Â ret=dialog.GetSimpleInput(prompt)<br>Â
File "Q:\Python27\Lib\site-packages\pythonwin\pywin\mfc\dialog.py",
line 223, in GetSimpleInput<br>
   if title is None: title=win32ui.GetMainFrame().GetWindowText()<br>error:
The frame does not exist<br></div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com