[Pythonmac-SIG] Traceback bug?

Ben Mitchell ben at mitchellfamily.com
Tue Oct 28 00:57:31 EST 2003


I'm noticing an odd behavior, and I'm wondering if it's a bug and if so  
if it's known.

First off, I found this while unsuccessfully attempting to get eric3 to  
run on OSX.  If you've been able to get this to run, I'd love to hear  
from you off list...

That said, eric3 creates a package:
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/eric3

Under this directory are sub-packages such as:
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/eric3/UI
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/eric3/Project

When I try to run it (and it crashes), I get the traceback stack:

Traceback (most recent call last):
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/eric3/eric3.py", line 130, in ?
     mw = UserInterface(loc, args)
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/UI/UserInterface.py", line 267, in __init__
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/Project/ProjectBrowser.py", line 181, in __init__
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/Project/ProjectBrowser.py", line 991, in __init__
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/Project/ProjectBrowser.py", line 278, in __init__
   File  
"/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/Project/ProjectBrowser.py", line 1027, in createPopupMenus
AttributeError: qtdir


BUT!!!!:
The eric3 package directory is omitted from the path listings for files  
in the UI and Project sub-packages.  The paths listed in the traceback  
DO NOT EXIST.  The paths *should* be:
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/<<<eric3>>>/UI/UserInterface.py
/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages/<<<eric3>>>/Project/ProjectBrowser.py

<<<>>> added for emphasis

I can't find any documentation indicating that the behavior I'm seeing  
here is the expected behavior???

Thanks,
-Ben





More information about the Pythonmac-SIG mailing list