[Pythonmac-SIG] Error compiling with py2app

Dan Ross -- Ross Photography dan at rosspixelworks.com
Tue Nov 11 00:32:53 CET 2008


This one did the trick! Thanks Chris.

Unfortunately the app launches and crashes. :(

It would seem that the system does not like PyQt?

Process:         start [2935]
Path:            /Projects/pythonprojects/pyTunesQT/dist/start.app/ 
Contents/MacOS/start
Identifier:      org.pythonmac.unspecified.start
Version:         0.0.0 (0.0.0)
Code Type:       X86 (Native)
Parent Process:  launchd [77]

Date/Time:       2008-11-10 17:30:28.208 -0600
OS Version:      Mac OS X 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004
Crashed Thread:  0

Thread 0 Crashed:
0   QtGui                         	0x17477d76 QPushButton::menu()  
const + 6
1   libqtaccessiblewidgets.dylib  	0x151e8637  
AccessibleFactory::create(QString const&, QObject*) + 1109
2   QtGui                         	0x11e9a785  
QAccessible::queryAccessibleInterface(QObject*) + 453
3   QtGui                         	0x11ea9ece  
QAccessible::updateAccessibility(QObject*, int, QAccessible::Event) +  
398
4   QtGui                         	0x11a0f394  
QWidgetPrivate::show_helper() + 420
5   QtGui                         	0x11a123f3  
QWidget::setVisible(bool) + 1267
6   QtGui.so                      	0x115ac36a  
sipQPushButton::setVisible(bool) + 106
7   QtGui                         	0x11a0f198  
QWidgetPrivate::showChildren(bool) + 328
8   QtGui                         	0x11a0f24f  
QWidgetPrivate::show_helper() + 95
9   QtGui                         	0x11a123f3  
QWidget::setVisible(bool) + 1267
10  QtGui.so                      	0x116129c1  
sipQWidget::setVisible(bool) + 103
11  QtGui                         	0x11a0f198  
QWidgetPrivate::showChildren(bool) + 328
12  QtGui                         	0x11a0f24f  
QWidgetPrivate::show_helper() + 95
13  QtGui                         	0x11a123f3  
QWidget::setVisible(bool) + 1267
14  QtGui.so                      	0x1142e869  
sipQMainWindow::setVisible(bool) + 103
15  QtGui.so                      	0x1161a9e7  
sipQWidget::sipProtectVirt_languageChange(bool) + 25067

On Nov 10, 2008, at 4:25 PM, Christopher Barker wrote:

> Dan Ross wrote:
>> Here's the error after providing the file.
>
>  File "build/bdist.macosx-10.3-i386/egg/macholib/MachO.py", line  
> 178, in load
>    raise ValueError("Unknown load command: %d" % (cmd_load.cmd,))
> ValueError: Unknown load command: 27
>
> You may be able to fix this with the latest machholib. try:
>
> easy_install "macholib==dev"
>
>
> -Chris
>
>
> -- 
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> Chris.Barker at noaa.gov



More information about the Pythonmac-SIG mailing list