After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697216 - test-gcglib fails on certain locales
test-gcglib fails on certain locales
Status: RESOLVED DUPLICATE of bug 697218
Product: geocode-glib
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: geocode-glib maintainer(s)
geocode-glib maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-04-03 20:05 UTC by Zeeshan Ali
Modified: 2013-06-25 01:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Zeeshan Ali 2013-04-03 20:05:38 UTC
this fails for me and apparently also for Bastien:

$ LANG=en_US.UTF-8 ./test-gcglib --reverse -- 51.237070 -0.589669

	(null) @ 51.237070, -0.589669
params: appid=zznSbDjV34HRU5CXQc4D3qE1DzCsJTaKvWTLhNJxbvI%5FJTp1hIncJ4xTSJFRgjE%2D&location=51%2E2371%2C+%2D0%2E589669&flags=QJT&gflags=R&locale=en%2DUS
** Message: Failed to get geocode: Not Found

I added the params printout myself to see whats going on.

Seems 'en_US' is not a supported locale: http://developer.yahoo.com/boss/geo/docs/supported_locales.html
Comment 1 Bastien Nocera 2013-04-15 13:58:18 UTC
en_US is a supported locale, it's even the default:
http://developer.yahoo.com/boss/geo/docs/control-parameters.html

The problem seems to be that the "L" gflag is used even when we don't set it.
Comment 2 Zeeshan Ali 2013-06-25 01:43:21 UTC
Actually now the issue seems to be that the service on where.yahooapis.com is no longer available. Since Nominatim porting fixes this testcase, I'll mark this as duplicate of bug#697218.

*** This bug has been marked as a duplicate of bug 697218 ***