WARNING **: Could not connect to geoname lookup server: Operation was cancelled

Bug #1440157 reported by Doug McMahon
164
This bug affects 34 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Low
Unassigned
libtimezonemap (Ubuntu)
Fix Released
High
Lars Karlitski
Vivid
Fix Released
High
Unassigned
unity-control-center (Ubuntu)
Invalid
High
Lars Karlitski
Vivid
Invalid
High
Unassigned

Bug Description

* Impact
the dialog to add location doesn't work in a reliable way

* Test Case
open Date & Time panel > Clock
Enable Time in other locations
Click Choose Locations...
Try to add a location, delete the name and type it again, it should work every time

* Regression potential
The entry to add location should work every time

Related branches

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
Changed in indicator-datetime (Ubuntu):
importance: Undecided → Low
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Low
Changed in indicator-datetime (Ubuntu):
importance: Low → High
Revision history for this message
Ricky Seltzer (rickyseltzer) wrote :

Bug is in basic Ubuntu functionality.
The dialog box acts like it might accept the additional locations, but does not.
No error message seen.

Revision history for this message
Ricky Seltzer (rickyseltzer) wrote :

I left out system data on "Bug is in basic Ubuntu functionality" comment:

Description: Ubuntu 15.04
Codename: vivid
Linux ricky-Inspiron 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
jessie/sid

Model name: Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz
Stepping: 7

Charles Kerr (charlesk)
affects: indicator-datetime (Ubuntu) → unity-control-center (Ubuntu)
Charles Kerr (charlesk)
affects: indicator-datetime → unity-control-center
Changed in unity-control-center (Ubuntu):
assignee: nobody → Lars Uebernickel (larsu)
Lars Karlitski (larsu)
Changed in libtimezonemap (Ubuntu):
assignee: nobody → Lars Uebernickel (larsu)
status: New → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libtimezonemap - 0.4.4

---------------
libtimezonemap (0.4.4) wily; urgency=medium

  [ David Shea ]
  * Update the SVG, generated new map images, and cleaned up a couple other
    image-related issues.
  * Constrain the location when clicking in the same spot.

  [ Lars Uebernickel ]
  * Port to libsoup directly for geoname requests, fix some memory leaks and
    do not reuse GCancellables. (LP: #1440157)

 -- Iain Lane <email address hidden> Fri, 08 May 2015 00:18:37 +0100

Changed in libtimezonemap (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Stephen Rasku (ubuntu-srasku) wrote :

I am seeing this on Trusty Tahr 14.04.2 as well.

Revision history for this message
Eimis (eimantas-es) wrote :

this affects me as well, I was able to add Hong Kong time though. Other locations do not work on 32 bit version of ubuntu 15.04

Revision history for this message
ian_hawdon (ian-hawdon) wrote :

For those who can't wait for this to be back ported into Vivid, you can grab libtimezone 0.4.4 for Wily and install it. I'm yet to see any ill effects from doing this. If you're more paranoid, recompiling is also an option.

Revision history for this message
Sadi Yumuşak (sa-yu) wrote :

How can we "grab libtimezone 0.4.4 for Wily and install it" please -- any link to a deb package to be downloaded ???

Revision history for this message
Sadi Yumuşak (sa-yu) wrote :

Got it!

Download this (1) https://launchpad.net/ubuntu/+archive/primary/+files/libtimezonemap-data_0.4.4_all.deb
and this (2-a) https://launchpad.net/ubuntu/+archive/primary/+files/libtimezonemap1_0.4.4_amd64.deb
or this (2-b) https://launchpad.net/ubuntu/+archive/primary/+files/libtimezonemap1_0.4.4_i386.deb
or choose other from here: https://launchpad.net/ubuntu/+source/libtimezonemap

And install these two packages with a command like this:
sudo dpkg -i "libtimezonemap1_0.4.4_amd64.deb" "libtimezonemap-data_0.4.4_all.deb"

Revision history for this message
mbott (mbott001) wrote :

Thanks!!!

Revision history for this message
Roman (bondar-r-a) wrote :

Will "libtimezonemap 0.4.4" package ever be back ported into Ubuntu 15.04 Vivid Vervet? Or this has to be done manually only?

Revision history for this message
mbott (mbott001) wrote :

I can not answer the "ever" part of your question, but following the steps laid out by Sadi Yumuşak in comment #10 above is the simple fix that worked for me.

Revision history for this message
Nazim Aghabayov (nazim-aga) wrote :

Thanks! Replaced the libtimezonemap-data v0.4.3 with a version 0.4.4 from Sadi Yumuşak and it worked.

Revision history for this message
Morten Abildgaard (mortn) wrote :

Confirmed #10 working. Thanks sa-yu!

Why is this not in the repos already?

Changed in unity-control-center (Ubuntu):
status: Confirmed → Invalid
no longer affects: unity-control-center
Changed in unity-control-center (Ubuntu Vivid):
status: New → Invalid
importance: Undecided → High
Changed in libtimezonemap (Ubuntu Vivid):
importance: Undecided → High
status: New → Triaged
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

uploaded a SRU to vivid now

description: updated
Revision history for this message
Mau Oli (brasilboy) wrote :

I am getting an error because it is a different version.

Here is the error:

Selecting previously unselected package libtimezonemap1:i386.
(Reading database ... 249525 files and directories currently installed.)
Preparing to unpack libtimezonemap1_0.4.4_i386.deb ...
De-configuring libtimezonemap1:amd64 (0.4.3build1) ...
Unpacking libtimezonemap1:i386 (0.4.4) ...
Preparing to unpack libtimezonemap-data_0.4.4_all.deb ...
Unpacking libtimezonemap-data (0.4.4) over (0.4.3build1) ...
dpkg: error processing package libtimezonemap1:i386 (--install):
 package libtimezonemap1:i386 0.4.4 cannot be configured because libtimezonemap1:amd64 is at a different version (0.4.3build1)
dpkg: error processing package libtimezonemap1:amd64 (--install):
 package libtimezonemap1:amd64 0.4.3build1 cannot be configured because libtimezonemap1:i386 is at a different version (0.4.4)
Setting up libtimezonemap-data (0.4.4) ...
Errors were encountered while processing:
 libtimezonemap1:i386
 libtimezonemap1:amd64

Can anyone help? Thanks

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Doug, or anyone else affected,

Accepted libtimezonemap into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libtimezonemap/0.4.3.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libtimezonemap (Ubuntu Vivid):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Max Waterman (b-ubuntuone) wrote :

I can confirm that 0.4.3.1 packages work. I tested :

$ dpkg -l | grep libtimezone
ii libtimezonemap-data 0.4.3.1 all GTK+3 timezone map widget - data files
ii libtimezonemap1:amd64 0.4.3.1 amd64 GTK+3 timezone map widget

Notes to others trying this : I made the mistake of thinking that 0.4.3build1 was actually 0.4.3.1, but that is not the case - use 'apt-cache madison libtimezone-data' to list the versions available and to make sure you have vivid-proposed enabled, then 'sudo apt-get install libtimezonemap-data=0.4.3.1 libtimezonemap1:amd64=0.4.3.1' (choose the appropriate architecture to match 'uname -p' - I used the amd64 version because I am running x86_64) to install the specific versions (which is needed if you already installed 0.4.4).

tags: added: verification-done
removed: verification-needed
Revision history for this message
Marcel Beerli (493pocbrcycmdw7yksonho9o2qzzq06652mtv6nw76-admin-d18ecat4t1b76tkfi3vttrkfngli4hci2jxl2sxy9j) wrote :

I get the following error trying the install

root@GS1:/home# dpkg -l | grep libtimezone
ii libtimezonemap-data 0.4.3build1 all GTK+3 timezone map widget - data files
ii libtimezonemap1:amd64 0.4.3build1 amd64 GTK+3 timezone map widget
root@GS1:/home# apt-get install libtimezonemap-data=0.4.3.1 libtimezonemap1:amd64=0.4.3.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '0.4.3.1' for 'libtimezonemap-data' was not found
E: Version '0.4.3.1' for 'libtimezonemap1' was not found
root@GS1:/home# uname -r
3.19.0-25-generic
root@GS1:/home# uname -p
x86_64
root@GS1:/home#

Revision history for this message
Matt McCormick (mattmccor) wrote :

Did not fix it for me. I still just see the drop-down options for the first 3 characters and nothing when more characters are entered.

Enabled -proposed and installed:
> sudo apt-get install libtimezonemap1:amd64=0.4.3.1

tags: added: verification-failed
Revision history for this message
Sebastien Bacher (seb128) wrote :

> Did not fix it for me. I still just see the drop-down options for the first 3 characters and nothing when more characters are entered.

Can you give some more details
- what's the output of "dpkg -l | grep libtimezonemap"
- did you restart unity-control-center
- what chars did you enter? does it behave in a consistant way?

Revision history for this message
Marcel Beerli (493pocbrcycmdw7yksonho9o2qzzq06652mtv6nw76-admin-d18ecat4t1b76tkfi3vttrkfngli4hci2jxl2sxy9j) wrote : Re: [Bug 1440157] Re: WARNING **: Could not connect to geoname lookup server: Operation was cancelled

Still not working for me.
I click the "+" and type Los Angeles or Paris but nothing.

$ dpkg -l | grep libtimezonemap
ii libtimezonemap-data 0.4.3build1
all GTK+3 timezone map widget - data files
ii libtimezonemap1:amd64 0.4.3build1
amd64 GTK+3 timezone map widget

Mit freundlichen Grüssen - Best regards

/Marcel Beerli
----------------------------------------------
<email address hidden>
----------------------------------------------

On 13.08.2015 11:10, Sebastien Bacher wrote:
>> Did not fix it for me. I still just see the drop-down options for the
> first 3 characters and nothing when more characters are entered.
>
> Can you give some more details
> - what's the output of "dpkg -l | grep libtimezonemap"
> - did you restart unity-control-center
> - what chars did you enter? does it behave in a consistant way?
>

Revision history for this message
Doug McMahon (mc3man) wrote :

Works fine here also, some above comments are using wrong version (not from -proposed, it's 0.4.3.1, not 0.4.3build1 -
$ dpkg -l | grep libtimezonemap
ii libtimezonemap-data 0.4.3.1 all GTK+3 timezone map widget - data files
ii libtimezonemap1:amd64 0.4.3.1 amd64 GTK+3 timezone map widget

Revision history for this message
Marcel Beerli (493pocbrcycmdw7yksonho9o2qzzq06652mtv6nw76-admin-d18ecat4t1b76tkfi3vttrkfngli4hci2jxl2sxy9j) wrote :

Here a screenshot of the UI

Mit freundlichen Grüssen - Best regards

/Marcel Beerli
----------------------------------------------
<email address hidden>
----------------------------------------------

On 13.08.2015 21:29, Doug McMahon wrote:
> Works fine here also, some above comments are using wrong version (not from -proposed, it's 0.4.3.1, not 0.4.3build1 -
> $ dpkg -l | grep libtimezonemap
> ii libtimezonemap-data 0.4.3.1 all GTK+3 timezone map widget - data files
> ii libtimezonemap1:amd64 0.4.3.1 amd64 GTK+3 timezone map widget
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

Removing the verification-failed tag, those who had failed verification are using the wrong version

tags: removed: verification-failed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libtimezonemap - 0.4.3.1

---------------
libtimezonemap (0.4.3.1) vivid; urgency=medium

  * Backport changes to fix the unity-control-center locations entry
    not listing results in a reliable way, thanks Lars (LP: #1440157)

 -- Sebastien Bacher <email address hidden> Tue, 04 Aug 2015 15:31:42 +0200

Changed in libtimezonemap (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for libtimezonemap has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Marcel Beerli (493pocbrcycmdw7yksonho9o2qzzq06652mtv6nw76-admin-d18ecat4t1b76tkfi3vttrkfngli4hci2jxl2sxy9j) wrote : Re: [Bug 1440157] Re: WARNING **: Could not connect to geoname lookup server: Operation was cancelled

well if it was fixed, how do I install it ?

Mit freundlichen Grüssen - Best regards

/Marcel Beerli
----------------------------------------------
<email address hidden>
----------------------------------------------

On 20.08.2015 21:53, Launchpad Bug Tracker wrote:
> This bug was fixed in the package libtimezonemap - 0.4.3.1
>
> ---------------
> libtimezonemap (0.4.3.1) vivid; urgency=medium
>
> * Backport changes to fix the unity-control-center locations entry
> not listing results in a reliable way, thanks Lars (LP: #1440157)
>
> -- Sebastien Bacher <email address hidden> Tue, 04 Aug 2015 15:31:42
> +0200
>
> ** Changed in: libtimezonemap (Ubuntu Vivid)
> Status: Fix Committed => Fix Released
>

Revision history for this message
Paul White (paulw2u) wrote :

Closing as all other tasks are showing fixed or invalid.

Changed in hundredpapercuts:
status: Confirmed → Fix Released
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.