apport information ** Attachment added: "ProcEnviron.txt" https://bugs.launchpad.net/bugs/1608543/+attachment/4711615/+files/ProcEnviron.txt
** Attachment removed: "File saved by the command "apport-cli -f -p unity-control-center --save ~/apport_unity-control-center"" https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1608543/+attachment/4711604/+files/apport_unity-control-center -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1608543 Title: Network applet fails to apply proxy settings system wide, giving IsADirectoryError message Status in unity-control-center package in Ubuntu: New Bug description: Background: In Emacs, I had customized backup-directory-alist to (("." . ".~")) Then, when I edited /etc/apt/apt.conf.d/10periodic, it created a backup file named /etc/apt/apt.conf.d/.~/10periodic~ The problem: today when I changed proxy settings in the network applet and tried to apply them system wide, it failed silently. Eventually I had the idea of starting unity-control-center in a terminal to see its error messages. I got the messages such as: (unity-control-center:5448): network-cc-panel-WARNING **: Error while calling set_proxy for http protocol: GDBus.Error:org.freedesktop.DBus.Python.IsADirectoryError: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/lib/python3/dist-packages/UbuntuSystemService/backend.py", line 232, in set_proxy res = self._write_apt_proxy(proxy_type, new_proxy) File "/usr/lib/python3/dist-packages/UbuntuSystemService/backend.py", line 149, in _write_apt_proxy open(f,"w").write("".join(new_content)) IsADirectoryError: [Errno 21] Is a directory: '/etc/apt/apt.conf.d/.~' I saved the messages to a file and attached it. I worked around the problem by moving /etc/apt/apt.conf.d/.~/ elsewhere. --- ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: Unity DistroRelease: Ubuntu 16.04 InstallationDate: Installed on 2016-07-12 (20 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) Package: unity-control-center 15.04.0+16.04.20160705-0ubuntu1 PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13 Tags: xenial gnome3-ppa third-party-packages Uname: Linux 4.4.0-31-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1608543/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp