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&#39;m 
experiencing the lockup or crash of python.exe when issuing help() and then 
&quot;modules&quot;. 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&#39;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 &quot;dir(win32ui.GetMainFrame)&quot; 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&#39;t have all the expected member attributes. It calls 
win32ui.GetMainFrame.GetWindowText() method which doesn&#39;t exist.</div>
<div> </div>
<div>Why would help() fail on that? </div>
<div>I&#39;m no expert but I figured the information could help point someone 
in the right direction.</div>
<div> </div>
<div>BTW I&#39;ve created a ticket in the pywin32 at <a 
href="http://sourceforge.net";>sourceforge.net</a>. - Because I only suspect 
it&#39;s a corrupt package, I&#39;m not sure and thought others there would be 
able to tell me if it&#39;s the distro file or my installation.</div>

<div> </div>
<div>Traceback reprinted:</div>
<div> </div>
<div>Traceback (most recent call last):<br>  File &quot;&lt;input&gt;&quot;, 
line 1, in &lt;module&gt;<br>  File &quot;Q:\Python27\lib\site.py&quot;, line 
453, in __call__<br>    return pydoc.help(*args, **kwds)<br>  File 
&quot;Q:\Python27\lib\pydoc.py&quot;, line 1723, in __call__<br>
    self.interact()<br>  File &quot;Q:\Python27\lib\pydoc.py&quot;, line 
1735, in interact<br>    request = self.getline(&#39;help&gt; &#39;)<br>  
File &quot;Q:\Python27\lib\pydoc.py&quot;, line 1746, in getline<br>    
return raw_input(prompt)<br>
  File 
&quot;Q:\Python27\Lib\site-packages\pythonwin\pywin\framework\app.py&quot;, 
line 367, in Win32RawInput<br>    ret=dialog.GetSimpleInput(prompt)<br>  
File &quot;Q:\Python27\Lib\site-packages\pythonwin\pywin\mfc\dialog.py&quot;, 
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

Reply via email to