xfce4-weather-plugin does not retain configuration

Bug #1613014 reported by Andrew Pam
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Xfce4 Weather Plugin
Confirmed
Medium
xfce4-weather-plugin (Debian)
Confirmed
Unknown
xfce4-weather-plugin (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Immediately after upgrading to Ubuntu 16.04, the weather applet always loses the configuration and reverts to "No data" on every login. If I set the location, it will work correctly until I log out.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xfce4-weather-plugin 0.8.6-1
ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15
Uname: Linux 4.4.0-34-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Aug 14 12:35:20 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-06-30 (775 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
SourcePackage: xfce4-weather-plugin
UpgradeStatus: Upgraded to xenial on 2016-07-31 (14 days ago)

Revision history for this message
In , Pes93 (pes93) wrote :

Created attachment 6475
This shows me the plugin in panel after reboot

The plugin settings are lost after a reboot.This happens not always, but often. I have to reconfigure the plugin after a reboot.I have the cache files in the directory /home/user/.cache/xfce4/weather/, but the plugin shows in panel "no data". I can provide logs, but I can't find anything about weather plugin. I don't use desktop manager. Xfce starts from console manually.

debian testing, linux kernel 4.2.0-1-amd64, xfce 4.12 from repository.

Revision history for this message
In , Pes93 (pes93) wrote :

I don't save session before poweroff.
.xsession-errors contains:
==============
Xsession: X session started for mixtape at Сб окт 10 02:47:35 MSK 2015
localuser:mixtape being added to access control list
/usr/bin/x-session-manager: X server already running on display :0
xrdb: "Xft.hintstyle" on line 9 overrides entry on line 6
xrdb: "Xft.hinting" on line 10 overrides entry on line 5
xfce4-session-Message: SSH authentication agent is already running

(xfce4-session:1074): xfce4-session-WARNING **: xfsm_manager_load_session: Something wrong with /home/mixtape/.cache/sessions/xfce4-session-machine:0, Does it exist? Permissions issue?

** (nm-applet:1097): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

** (polkit-gnome-authentication-agent-1:1115): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
No systemtrayicon available
Произошла ошибка: Не удалось инициализировать модуль
===============

Revision history for this message
In , Gogo44471 (gogo44471) wrote :

I can confirm. this bug occurs sometimes. Applet shows "No Data", and all settings are lost. I have found a workaround for restoring settings:

once you configured weather plugin go to ~/.config/xfce4/panel/, find file weather-*.rc and copy it to weather-*.rc.fix in the same directory. Now create а script:

-------------------------------------------------
#!/bin/sh

cfgdir="~/.config/xfce4/panel"

bckfile=`ls $cfgdir/weather*.rc.fix`
cfgfile=${bckfile%.*}

cp $bckfile $cfgfile
pid=`ps -ef | grep -m 1 libweather.so | awk '{print $2}'`
kill $pid
-------------------------------------------------

this script will restore your settings and relaunch weather plugin. You can execute it from desktop launcher when plugin shows "No Data".

Revision history for this message
Andrew Pam (xanni) wrote :
Revision history for this message
Andrew Pam (xanni) wrote :

Other configuration settings are also lost, so the title of this bug should be amended to "xfce4-weather-plugin does not retain configuration"

Mathew Hodson (mhodson)
summary: - xfce4-weather-plugin does not retain location
+ xfce4-weather-plugin does not retain configuration
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xfce4-weather-plugin (Ubuntu):
status: New → Confirmed
Changed in xfce4-weather-plugin (Debian):
status: Unknown → New
Changed in xfce4-weather-plugin:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Vier Eck (viereck) wrote :

I also have this behaviour, on Arch Linux.

Revision history for this message
Vier Eck (viereck) wrote :

... to add: The ~/.config/xfce4/panel/weather-[0-9]*.rc still are there and have sensible configuration, but on reboot the applet somehow does not load them. (I have three applet instances of the applet and three config files; for three different locations.)

Revision history for this message
Vier Eck (viereck) wrote :

... another place where settings are saved is `~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml`. Settings there seem to be retained.

Sean Davis (bluesabre)
Changed in xfce4-weather-plugin (Ubuntu):
status: Confirmed → Triaged
Changed in xfce4-weather-plugin (Debian):
status: New → Confirmed
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.