Opened 12 years ago

Closed 10 years ago

#35032 closed defect (worksforme)

namebench crash at Lion

Reported by: amadeus24 Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: namebench

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Build namebench on Lion 10.7.4 and Xcode 4.3.3. When starting, namebench is crashing. Starting from Terminal and the message in the Terminal is:

    print "Starting up on Python %s [%s] compiled with %s" % (platform.python_version(),
                                                         ^
SyntaxError: invalid syntax
2012-06-30 10:09:56.120 namebench[27158:407] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_namebench/namebench/work/namebench-1.3.1/cocoa/main.m:44 main() PyRun_SimpleFile failed with file '/Applications/MacPorts/namebench.app/Contents/Resources/main.py'.  See console for errors.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff96d28f56 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff949efd5e objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff96d28d8a +[NSException raise:format:arguments:] + 106
	3   CoreFoundation                      0x00007fff96d28d14 +[NSException raise:format:] + 116
	4   namebench                           0x00000001079d2c13 namebench + 7187
	5   namebench                           0x00000001079d2958 namebench + 6488
)
terminate called throwing an exceptionAbort trap: 6

Change History (4)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: namebench crash removed
Owner: changed from macports-tickets@… to singingwolfboy@…

comment:2 Changed 12 years ago by amadeus24

Build at Lion 10.7.4, Xcode 4.3.3, python27. No given options at install.

comment:3 Changed 12 years ago by jmroot (Joshua Root)

I can't reproduce this, FWIW.

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: worksforme
Status: newclosed

This error message means something went wrong while running the main python script, but provides no insight about what went wrong. I encountered this unhelpful message several times while working on resolving #40859.

Prior to r112865, the port was using the system's python, so possibly something is amiss with your system python. As of r112865, the port now uses MacPorts python. If you see the problem again now, you can tell python to run the script on the command line to see what error is occurring. For example if you're using the namebench port's python27 variant, you could run:

python2.7 /Applications/MacPorts/namebench.app/Contents/Resources/main.py

The error message "No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting" should indicate that everything is fine and that the program will work correctly if you double-click it in the Finder; a different error message would be something we could investigate the cause of.

Note: See TracTickets for help on using tickets.