glownite / namebench

Automatically exported from code.google.com/p/namebench
Apache License 2.0
0 stars 0 forks source link

Returns a "no URL found" error #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install namebench graphical application from the dmg file on Mac OS X
2. Open and click benchmark (leaving default settings as they are)
3. After checking the 200 servers, it hang and raise the following error:
http://i.imgur.com/uZoyg.png 

What is the expected output? What do you see instead?
Not sure what the expected output is as it never finishes running

What version of the product are you using? On what operating system?
I'm using namebench-1.0.5.dmg on Mac OS X 10.5.8 with the default
installation of Python 2.6.4 

Please provide any additional information below.
While it raises that error, here is how the application looks in the
background as it hangs: http://i.imgur.com/GDpOw.png

Original issue reported on code.google.com by ahash...@gmail.com on 4 Jan 2010 at 12:39

Attachments:

GoogleCodeExporter commented 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

GoogleCodeExporter commented 8 years ago
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:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r579.

Original comment by thomas.r...@gmail.com on 4 Jan 2010 at 7:12

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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