set_no_proxy method fails when trying to clear with ""

Bug #1740596 reported by David Hewitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-service (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Calls to set_no_proxy with a blank or null new_proxy parameter result in the following output:

'g-io-error-quark: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):\n File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in _message_cb\n retval = candidate_method(self, *args, **keywords)\n File "/usr/lib/python3/dist-packages/UbuntuSystemService/backend.py", line 287, in set_no_proxy\n res = self._clear_no_proxy()\nAttributeError: \'ServiceBackend\' object has no attribute \'_clear_no_proxy\'\n (36)'

Related branches

summary: - set_no_proxy method fails
+ set_no_proxy method fails when trying to clear with ""
description: updated
Mathew Hodson (mhodson)
Changed in ubuntu-system-service (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-service - 0.4

---------------
ubuntu-system-service (0.4) cosmic; urgency=medium

  [ David Hewitt ]
  * Use _clear_etc_environment_no_proxy instead of _clear_no_proxy
    (LP: #1740596).

  [ Simon Quigley ]
  * Bump Standards-version to 4.2.0, no changes needed.
  * Run wrap-and-sort.
  * Modernize the packaging and make it Lintian clean.

 -- Simon Quigley <email address hidden> Fri, 17 Aug 2018 00:03:58 -0500

Changed in ubuntu-system-service (Ubuntu):
status: New → Fix Released
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.