Public bug reported:

When I try to save the actual xfce4-panel settings the save fails. When
opening xfpanel-switch terminal, the following message appears when
clicking to save:

Traceback (most recent call last):
  File "/usr/share/xfpanel-switch/xfpanel-switch/xfpanel-switch.py", line 221, 
in on_save_clicked
    self.save_configuration(name)
  File "/usr/share/xfpanel-switch/xfpanel-switch/xfpanel-switch.py", line 209, 
in save_configuration
    PanelConfig.from_xfconf(self.xfconf).to_file(filename)
  File "/usr/share/xfpanel-switch/xfpanel-switch/panelconfig.py", line 64, in 
from_xfconf
    pc.find_desktops()
  File "/usr/share/xfpanel-switch/xfpanel-switch/panelconfig.py", line 114, in 
find_desktops
    if self.check_desktop(desktop_path):
  File "/usr/share/xfpanel-switch/xfpanel-switch/panelconfig.py", line 88, in 
check_desktop
    bytes = self.get_desktop_source_file(path).read()
  File "/usr/share/xfpanel-switch/xfpanel-switch/panelconfig.py", line 129, in 
get_desktop_source_file
    return open(path, 'rb')
FileNotFoundError: [Errno 2] Arquivo ou diretório inexistente: 
'/home/usuario/.config/xfce4/panel/launcher-21/14294989537.desktop'

And the panel setting is not saved. When this happens, the buttons to
save and close have no action when clicked.

Here is a image with the panel: https://i.imgur.com/7kuhAr5.png

Here is the output from ls -lR ~/.config/xfce4/panel
/home/usuario/.config/xfce4/panel:
total 24
-rw-rw-r-- 1 usuario usuario  145 abr 19 21:26 genmon-10.rc
-rw-rw-r-- 1 usuario usuario   99 fev  9  2017 genmon-16.rc
drwx------ 2 usuario usuario 4096 abr 19 20:08 launcher-1
drwx------ 2 usuario usuario 4096 abr 19 20:08 launcher-8
-rw-rw-r-- 1 usuario usuario 1739 ago 27  2017 whiskermenu-1.rc
-rw-rw-r-- 1 usuario usuario 1959 abr 19 20:40 whiskermenu-2.rc

/home/usuario/.config/xfce4/panel/launcher-1:
total 4
-rw-rw-r-- 1 usuario usuario 708 abr 19 20:08 15241793011.desktop

/home/usuario/.config/xfce4/panel/launcher-8:
total 4
-rw-rw-r-- 1 usuario usuario 532 abr 19 20:08 15241793122.desktop

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xfpanel-switch 1.0.7-0ubuntu1
Uname: Linux 4.16.3-041603-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Apr 19 21:35:10 2018
InstallationDate: Installed on 2017-06-13 (310 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: xfpanel-switch
UpgradeStatus: Upgraded to bionic on 2017-10-20 (182 days ago)

** Affects: xfpanel-switch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1765565

Title:
  xfpanel-switch is failing to save panel settings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfpanel-switch/+bug/1765565/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to