Public bug reported:
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.
** Affects: unity-control-center (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "unity-control-center-is-a-directory.txt"
https://bugs.launchpad.net/bugs/1608543/+attachment/4711603/+files/unity-control-center-is-a-directory.txt
--
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.
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 : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp