Could not find location id for...

Bug #1573771 reported by The Powerpuff Girls
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Weather Indicator
New
Undecided
Unassigned

Bug Description

Whenever I try to add any location, I get an error:

"Could not find location id for 'Townsville, Queensland, Australia' (or whichever place I enter)

Unknown error occurred while picking up location data. Please try again later"

- Blossom

Tags: error
Revision history for this message
The Powerpuff Girls (thepowerpuffgirls) wrote :
Changed in weather-indicator:
assignee: nobody → The Powerpuff Girls (thepowerpuffgirls)
assignee: The Powerpuff Girls (thepowerpuffgirls) → nobody
Revision history for this message
Krzysztof Pater (krzysztofpater) wrote :

I confirm that on new installd Ubuntu 14.04 LTS adding location DOES NOT work. On my desktop computer however location added some two years ago still working fine. I did not test if worked with new locations fearing of loosing the working one.

Revision history for this message
Mario Vukelic (kreuzsakra) wrote :

I have this with version 13.8.0 'Rainy 8' on 16.04 LTS "Xenial". The previously saved locations (from years ago) are not updating anymore, and adding new locations fails as described in the bug report.

@Krzysztof, did you mean a new install of 14.04 LTS or the current 16.04 LTS?

Revision history for this message
Stéphane Charette (stephanecharette) wrote :

On Ubuntu 16.04, I found I could manually update the location data:

> dconf-editor
> apps/indicators/weather
> see "locations" and "places"

The JSON format for "locations" is complex enough to require looking up some IDs using Google, but from an existing location on another computer I did manage to get it working on my 16.04 desktop.

Revision history for this message
Mike R (mike-fusebuilder) wrote :

@stephanecharette would you be so kind as to paste in the JSON format for locations, as well as what should be put in the places array? With some sort of guidance I should be able to carry out the rest. It looks like the weather-indicator team is not in a hurry to get this fixed... :(

Revision history for this message
kadaj (qlisp) wrote :

Having the same issue in Ubuntu 16.04. @stephanecharette could you post the json, so that I can add it manually?

Revision history for this message
LinuxLover (linux-klomp) wrote :

I also have this issue. One user is working fine for ages.

Now trying to add indicator for 2nd user, but cannot add a location.
And without the location it will not save.
Added via dconf-editor the same data as on the other user, but still comes in "Set Up Weather..." mode when started.

13.8.0 'Rainy 8' on Ubuntu 16.04.1 LTS

Revision history for this message
LinuxLover (linux-klomp) wrote :
Revision history for this message
LinuxLover (linux-klomp) wrote :

By copying the current weather in the dconf-editor, I was able to bypass the "Set Up Weather..." mode when started. :-)
Thus now have both users display the same info!

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

geo.placefinder doesn't exist any more which means we have
to use geo.places which always return single places if match found.
That means weather indicator code needs to modified as well to reflect these changes.

See here (pywapi): https://github.com/khurshid-alam/python-weather-api/commit/7f05282076f6ae2d48ec9c986d45838107cd0436

And Here(for indicator-weather): https://github.com/khurshid-alam/Weather-Indicator/commit/011671668850d748d56168b937013ab925726392

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

Other bug subscribers

Remote bug watches

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