Hello errors.ubuntu.com, or anyone else affected,

Accepted software-properties into focal-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/software-
properties/0.99.9.11 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: software-properties (Ubuntu Bionic)
       Status: New => Fix Committed

** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/2003996

Title:
  /usr/bin/software-properties-
  
gtk:TimeoutError:poll_for_magic_token:wait:_wait:get_magic_attach_token_info:request_url:readurl:urlopen:open:_open:_call_chain:https_open:do_open:getresponse:begin:_read_status:readinto:recv_into:read

Status in software-properties package in Ubuntu:
  Fix Committed
Status in software-properties source package in Bionic:
  Fix Committed
Status in software-properties source package in Focal:
  Fix Committed
Status in software-properties source package in Jammy:
  Fix Committed

Bug description:
  * Impact

  An error is triggered when opening the 'Enable Ubuntu Pro' dialog on a
  system not connected to internet

  * Test case

  Start software-properties-gtk on a offline system, go to the Ubuntu
  Pro tab, click 'Enable Ubuntu Pro', check that no error report dialog
  is displayed

  Verify the error track to ensure there is no report with the new version
  https://errors.ubuntu.com/problem/032c1f3f3d9b9b05e5087f7e37a05a3d0d40e699

  * Regression potential

  The fix is making the magic token request conditional to the
  connectivity status, if that was wrong we could end up in a situation
  where we should display a pincode but don't.

  ----------- 
  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
software-properties.  This problem was most recently seen with package version 
0.99.22.5, the problem page at 
https://errors.ubuntu.com/problem/032c1f3f3d9b9b05e5087f7e37a05a3d0d40e699 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

  Traceback (most recent call last):
    File 
"/usr/lib/python3/dist-packages/softwareproperties/gtk/DialogUaAttach.py", line 
144, in poll_for_magic_token
      response = wait(options)
    File 
"/usr/lib/python3/dist-packages/uaclient/api/u/pro/attach/magic/wait/v1.py", 
line 57, in wait
      return _wait(options, UAConfig())
    File 
"/usr/lib/python3/dist-packages/uaclient/api/u/pro/attach/magic/wait/v1.py", 
line 73, in _wait
      wait_resp = contract.get_magic_attach_token_info(
    File "/usr/lib/python3/dist-packages/uaclient/contract.py", line 202, in 
get_magic_attach_token_info
      response, _ = self.request_url(
    File "/usr/lib/python3/dist-packages/uaclient/serviceclient.py", line 72, 
in request_url
      response, headers = util.readurl(
    File "/usr/lib/python3/dist-packages/uaclient/util.py", line 324, in readurl
      resp = request.urlopen(req, timeout=timeout)
    File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
      return opener.open(url, data, timeout)
    File "/usr/lib/python3.10/urllib/request.py", line 519, in open
      response = self._open(req, data)
    File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
      result = self._call_chain(self.handle_open, protocol, protocol +
    File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
      result = func(*args)
    File "/usr/lib/python3.10/urllib/request.py", line 1391, in https_open
      return self.do_open(http.client.HTTPSConnection, req,
    File "/usr/lib/python3.10/urllib/request.py", line 1352, in do_open
      r = h.getresponse()
    File "/usr/lib/python3.10/http/client.py", line 1374, in getresponse
      response.begin()
    File "/usr/lib/python3.10/http/client.py", line 318, in begin
      version, status, reason = self._read_status()
    File "/usr/lib/python3.10/http/client.py", line 279, in _read_status
      line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
    File "/usr/lib/python3.10/socket.py", line 705, in readinto
      return self._sock.recv_into(b)
    File "/usr/lib/python3.10/ssl.py", line 1274, in recv_into
      return self.read(nbytes, buffer)
    File "/usr/lib/python3.10/ssl.py", line 1130, in read
      return self._sslobj.read(len, buffer)
  TimeoutError: The read operation timed out

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2003996/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to