[MacPorts] #35032: namebench crash at Lion
#35032: namebench crash at Lion -----------------------------+---------------------------------------------- Reporter: ag@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: namebench crash | Port: namebench -----------------------------+---------------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/35032> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35032: namebench crash at Lion ---------------------------+------------------------------------------------ Reporter: ag@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: namebench ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => singingwolfboy@… * keywords: namebench crash => Old description:
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
New description: 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 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/35032#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35032: namebench crash at Lion ---------------------------+------------------------------------------------ Reporter: ag@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: namebench ---------------------------+------------------------------------------------ Comment(by ag@…): Build at Lion 10.7.4, Xcode 4.3.3, python27. No given options at install. -- Ticket URL: <https://trac.macports.org/ticket/35032#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35032: namebench crash at Lion ---------------------------+------------------------------------------------ Reporter: ag@… | Owner: singingwolfboy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: namebench ---------------------------+------------------------------------------------ Comment(by jmr@…): I can't reproduce this, FWIW. -- Ticket URL: <https://trac.macports.org/ticket/35032#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35032: namebench crash at Lion -------------------------+------------------------------ Reporter: ag@… | Owner: singingwolfboy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: worksforme | Keywords: Port: namebench | -------------------------+------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) * status: new => closed * resolution: => worksforme Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/35032#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts