Public bug reported:
The datetime indicator doesn’t have the “Change timezone…” menu item
even when a wrong timezone is set.
geoclue-master prints the following when started:
% killall geoclue-master; /usr/lib/geoclue/geoclue-master
Master options:
Found providers:
ubuntu-geoip.provider
** (process:16490): DEBUG: Ubuntu GeoIP: Updating cache
** (process:16490): DEBUG: deinited Ubuntu GeoIP
** (process:16490): DEBUG: client: 1 address providers matching requirements
found, now choosing current provider
** (process:16490): DEBUG: client: connecting to 'Ubuntu GeoIP'
accuracy-changed and status-changed
** (process:16490): DEBUG: client: choosing best provider
** (process:16490): DEBUG: ...trying provider Ubuntu GeoIP
** (process:16490): DEBUG: Ubuntu GeoIP without clients
** (process:16490): DEBUG: client: address provider changed (to NULL)
Judging from the process list, ubuntu-geoip-provider starts and quits
immediately when geoclue-master starts.
indicator-datetime-service prints following when started:
% killall indicator-datetime-service;
/usr/lib/indicator-datetime/indicator-datetime-service
(process:16683): Indicator-Datetime-DEBUG: System timezone is: Europe/Oslo
(process:16683): Indicator-Datetime-DEBUG: Timezones in sync
(process:16683): Indicator-Datetime-DEBUG: Building Menus.
(process:16683): Indicator-Datetime-DEBUG: Timezones in sync
(process:16683): Indicator-Datetime-DEBUG: Monitoring timezone file:
'/etc/timezone'
(process:16683): Indicator-Datetime-DEBUG: Created Geoclue client at:
/org/freedesktop/Geoclue/Master/client2
(process:16683): Indicator-Datetime-DEBUG: Updating Date/Time
(process:16683): Indicator-Datetime-DEBUG: Found the calendar application:
/usr/bin/evolution
(process:16683): Indicator-Datetime-DEBUG: Found the time-admin application:
/usr/bin/time-admin
(process:16683): Indicator-Datetime-WARNING **: Address provider changed.
Let's change
(process:16683): Indicator-Datetime-DEBUG: Timezones in sync
** (process:16683): WARNING **: Metadata for error domain "geoclue-
error-quark" already registered
(process:16683): Indicator-Datetime-DEBUG: Created Geoclue Address
(process:16683): Indicator-Datetime-WARNING **: Unable to create GeoClue
address: Address interface already started
(process:16683): Indicator-Datetime-WARNING **: Unable to get Geoclue
address: Geoclue master client has no usable Address providers
Running ubuntu-geoip-provider manually prints the following (correct)
information but doesn’t result in the menu item appearing:
% /usr/lib/ubuntu-geoip/ubuntu-geoip-provider
** (process:16746): DEBUG: Network connected
** (process:16746): DEBUG: Message Finished
** (process:16746): DEBUG: New position:
** (process:16746): DEBUG: Latitude: 61.500000
** (process:16746): DEBUG: Longitude: 23.750000
** (process:16746): DEBUG: Message Complete
Running ubuntu-geoip-provider and starting geoclue-master immediately
after that results in the menu item showing up some times:
% killall geoclue-master; /usr/lib/ubuntu-geoip/ubuntu-geoip-provider &
/usr/lib/geoclue/geoclue-master
[1] 17013
Master options:
** (process:17013): DEBUG: Network connected
** (process:17013): DEBUG: Message Finished
** (process:17013): DEBUG: New position:
** (process:17013): DEBUG: Latitude: 61.500000
** (process:17013): DEBUG: Longitude: 23.750000
** (process:17013): DEBUG: Message Complete
Found providers:
ubuntu-geoip.provider
** (process:17014): DEBUG: Ubuntu GeoIP: Updating cache
** (process:17014): DEBUG: deinited Ubuntu GeoIP
** (process:17014): DEBUG: client: 1 address providers matching requirements
found, now choosing current provider
** (process:17014): DEBUG: client: connecting to 'Ubuntu GeoIP'
accuracy-changed and status-changed
** (process:17014): DEBUG: client: choosing best provider
** (process:17014): DEBUG: ...trying provider Ubuntu GeoIP
** (process:17014): DEBUG: client: address provider changed (to Ubuntu GeoIP)
** (process:17013): DEBUG: Shutdown by provider
(process:17013): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
[1] + done /usr/lib/ubuntu-geoip/ubuntu-geoip-provider
ubuntu-geoip-provider is no longer running at that point but the correct
menu item is there. The output from indicator-datetime-service at that
point:
% killall indicator-datetime-service;
/usr/lib/indicator-datetime/indicator-datetime-service
(process:17158): Indicator-Datetime-DEBUG: System timezone is: Europe/Oslo
(process:17158): Indicator-Datetime-DEBUG: Timezones in sync
(process:17158): Indicator-Datetime-DEBUG: Building Menus.
(process:17158): Indicator-Datetime-DEBUG: Timezones in sync
(process:17158): Indicator-Datetime-DEBUG: Monitoring timezone file:
'/etc/timezone'
(process:17158): Indicator-Datetime-DEBUG: Created Geoclue client at:
/org/freedesktop/Geoclue/Master/client2
(process:17158): Indicator-Datetime-DEBUG: Updating Date/Time
(process:17158): Indicator-Datetime-DEBUG: Found the calendar application:
/usr/bin/evolution
(process:17158): Indicator-Datetime-DEBUG: Found the time-admin application:
/usr/bin/time-admin
(process:17158): Indicator-Datetime-WARNING **: Address provider changed.
Let's change
(process:17158): Indicator-Datetime-DEBUG: Timezones in sync
** (process:17158): WARNING **: Metadata for error domain "geoclue-
error-quark" already registered
(process:17158): Indicator-Datetime-DEBUG: Created Geoclue Address
(process:17158): Indicator-Datetime-WARNING **: Unable to create GeoClue
address: Address interface already started
(process:17158): Indicator-Datetime-DEBUG: Geoclue timezone is: Europe/Helsinki
(process:17158): Indicator-Datetime-DEBUG: Timezones are different
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: geoclue-ubuntu-geoip 0.0.2-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic-pae 2.6.37
Uname: Linux 2.6.37-12-generic-pae i686
NonfreeKernelModules: wl fglrx
Architecture: i386
Date: Tue Feb 8 22:15:27 2011
EcryptfsInUse: Yes
SourcePackage: ubuntu-geoip
** Affects: ubuntu-geoip (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 natty unity-2d
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/715445
Title:
indicator-datetime doesn’t get geoclue information from ubuntu-geoip-
provider
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs