Namebench fails to pinpoint my location

Bug #1409849 reported by Jeb E.
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned
Namebench
Confirmed
Undecided
auto-helixblue
namebench (Debian)
Unknown
Unknown
namebench (Ubuntu)
Confirmed
High
Unassigned

Bug Description

When using Namebench, the "Your location" tab appears as "None" and when clicked, I only have two options, which the two will be either "None" or and empty box.

 Using a web browser, I can visit any website that has the opportunity to use location services for any purpose, such as Google, Yahoo, AOL, or even The Weather Channel, all without an issue. Why would Namebench not pinpoint my location, then?

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: namebench 1.3.1+dfsg-2
ProcVersionSignature: Ubuntu 3.16.0-28.38-lowlatency 3.16.7-ckt1
Uname: Linux 3.16.0-28-lowlatency x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 12 13:17:08 2015
InstallationDate: Installed on 2014-11-08 (65 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: namebench
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jeb E. (jebeld17) wrote :
Jeb E. (jebeld17)
Changed in namebench:
status: New → Confirmed
Changed in namebench (Ubuntu):
status: New → Confirmed
Changed in namebench (Ubuntu):
importance: Undecided → High
Revision history for this message
omglookatherbutt (omglookatyourbutt) wrote :

can someone tell me how to fix it ?

Revision history for this message
Jeb E. (jebeld17) wrote :

PS: This also happens in Namebench for Windows. This problem is not with the OS or implementation with the OS, but the source itself.

Revision history for this message
Jeb E. (jebeld17) wrote :

Just found a similar bug on Launchpad and merged it with this. Here is the imported text from the current status of bug #1381148:

(https://bugs.launchpad.net/ubuntu/+source/namebench/+bug/1381148)

"I'm new to NameBench so I'm not entirely sure what this data was for, but I can see that it's trying to get JSON data from an API that doesn't exist anymore. Apparently it was shutdown in 2012 (https://code.google.com/p/gears/wiki/GeolocationAPI). The issue is also referenced upstream here: https://code.google.com/p/namebench/issues/detail?id=256
Terminal error output shown below:
* Failed to use GoogleLocAPI: simplejson.scanner.JSONDecodeError Expecting value: line 1 column 1 (char 0) (content: <!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 404 (Not Found)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/errors/logo_sm_2.png) no-repeat}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/errors/logo_sm_2_hr.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/errors/logo_sm_2_hr.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/errors/logo_sm_2_hr.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:55px;width:150px}
  </style>
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>404.</b> <ins>That’s an error.</ins>
  <p>The requested URL <code>/loc/json</code> was not found on this server. <ins>That’s all we know.</ins>
)
Failed to get Geodata: socket.timeout timed out
The application still works but it causes it to hang on start-up so maybe an easy solution is just to remove the code that does this looking up? Or alternatively supplement an alternative API!?
Tested under Ubuntu 14.04.1 LTS and namebench 1.3.1+dfsg-2."

Revision history for this message
Jordi Miralles (jmiralles) wrote :

As far as I know that API was deprecated in favor of a new version:

https://developers.google.com/maps/documentation/javascript/v2tov3

Anyway I don't see the poing on pushing the bug here, this should be reported there probably

https://github.com/google/namebench

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.