Closed GoogleCodeExporter closed 8 years ago
Thanks for the heads up. Do you mind running the Console application
(/Applications/Utilities/Console), and then run namebench again? I'm hoping it
will
crash again -- if so, can you copy and paste the last 5 lines output that show
up in
the Console application into this bug?
Thanks,
Thomas
Original comment by tstromb...@google.com
on 4 Jan 2010 at 12:43
Here is the output of the failure message from the console:
Jan 4 08:08:44 MY-MAC namebench[4815]: Opening
/var/folders/kv/kvWRjlyzFzebnYTHNfAouE+++TM/-Tmp-/namebench_2010-01-04_0808.html
Jan 4 08:08:44 MY-MAC namebench[4815]: ERROR: FAIL: (-673, 'no URL found') -
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/webbrows
er.py",
line 60, in open\n if browser.open(url, new, autoraise):\n\n File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/webbrows
er.py",
line 539, in open\n ic.launchurl(url)\n\n File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac
/ic.py",
line 235, in launchurl\n return _dft_ic.launchurl(url, hint)\n\n File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac
/ic.py",
line 202, in launchurl\n self.ic.ICLaunchURL(hint, url, 0, len(url))
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: sh:
osascript:
command not found
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: Traceback
(most
recent call last):
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: File
"/Users/tstromberg/namebench/cocoa/build/Debug/namebench.app/Contents/Resources/
controller.py",
line 135, in benchmarkThread
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]:
self.RunBenchmark()
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: File
"/Applications/Namebench.app/Contents/Resources/libnamebench/base_ui.py", line
92, in
RunBenchmark
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]:
self.DisplayHtmlReport()
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: File
"/Applications/Namebench.app/Contents/Resources/libnamebench/base_ui.py", line
111,
in DisplayHtmlReport
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]:
better_webbrowser.open(self.html_path)
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: File
"/Applications/Namebench.app/Contents/Resources/libnamebench/better_webbrowser.p
y",
line 85, in open
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]:
webbrowser.open(url)
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/webbrows
er.py",
line 60, in open
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: if
browser.open(url, new, autoraise):
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/webbrows
er.py",
line 539, in open
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]:
ic.launchurl(url)
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac
/ic.py",
line 235, in launchurl
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: return
_dft_ic.launchurl(url, hint)
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac
/ic.py",
line 202, in launchurl
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]:
self.ic.ICLaunchURL(hint, url, 0, len(url))
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: Error:
(-673,
'no URL found')
The full output from running namebench is attached for you to view as well.
Original comment by ahash...@gmail.com
on 4 Jan 2010 at 1:12
Attachments:
This issue was closed by revision r579.
Original comment by thomas.r...@gmail.com
on 4 Jan 2010 at 7:12
This line worries me:
Jan 4 08:08:44 MY-MAC [0x0-0x177177].org.opensource.namebench[4815]: sh:
osascript:
command not found
Your system seems to be missing the built-in osascript program. It's normally
in /usr/bin. Not to fret, I've added
a workaround in case the normal webbrowser.open method fails in r579. It should
be part of the next
namebench beta.
Original comment by tstromb...@google.com
on 4 Jan 2010 at 7:13
According to my command line, I have osascript. If I type "which osascript" in
terminal, it returns "/usr/bin/osascript". I believe that this comes default on
OS X
(maybe with Xcode).
Original comment by ahash...@gmail.com
on 5 Jan 2010 at 9:34
Original issue reported on code.google.com by
ahash...@gmail.com
on 4 Jan 2010 at 12:39Attachments: