[Touch-packages] [Bug 2003996] Re: /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_op

2023-05-31 Thread Launchpad Bug Tracker
This bug was fixed in the package software-properties - 0.96.24.32.22

---
software-properties (0.96.24.32.22) bionic; urgency=medium

  [ Nathan Pratta Teodosio ]
  * fix a problem in the fix backported in the previous revision

software-properties (0.96.24.32.21) bionic; urgency=medium

  [ Nathan Pratta Teodosio ]
  * Disable the Ubuntu Pro UI with an explanation when not connected
(lp: #2004634)
  * Catch exceptions to wait (lp: #2003996)
  * Initialize pin as empty string (lp: #2004245)

 -- Sebastien Bacher   Thu, 16 Feb 2023 21:10:38
+0100

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

-- 
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 Released
Status in software-properties source package in Bionic:
  Fix Released
Status in software-properties source package in Focal:
  Fix Released
Status in software-properties source package in Jammy:
  Fix Released

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:

[Touch-packages] [Bug 2003996] Re: /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_op

2023-05-30 Thread Sebastien Bacher
Testing 0.96.24.32.22 on a bionic system while beeing offline the
warning is correctly display and no error prompt is triggered

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-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 Released
Status in software-properties source package in Bionic:
  Fix Committed
Status in software-properties source package in Focal:
  Fix Released
Status in software-properties source package in Jammy:
  Fix Released

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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-02-28 Thread Launchpad Bug Tracker
This bug was fixed in the package software-properties - 0.99.9.11

---
software-properties (0.99.9.11) focal; urgency=medium

  [ Nathan Pratta Teodosio ]
  * Disable the Ubuntu Pro UI with an explanation when not connected
(lp: #2004634)
  * Catch exceptions to wait (lp: #2003996)
  * Initialize pin as empty string (lp: #2004245)

 -- Sebastien Bacher   Fri, 03 Feb 2023 12:30:09
+0100

-- 
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 Released
Status in software-properties source package in Bionic:
  Fix Committed
Status in software-properties source package in Focal:
  Fix Released
Status in software-properties source package in Jammy:
  Fix Released

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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-02-28 Thread Launchpad Bug Tracker
This bug was fixed in the package software-properties - 0.99.22.6

---
software-properties (0.99.22.6) jammy; urgency=medium

  [ Nathan Pratta Teodosio ]
  * Disable the Ubuntu Pro UI with an explanation when not connected
(lp: #2004634)
  * Catch exceptions to wait (lp: #2003996)
  * Initialize pin as empty string (lp: #2004245)

 -- Sebastien Bacher   Fri, 03 Feb 2023 11:35:08
+0100

** Changed in: software-properties (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

** Changed in: software-properties (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
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 Released
Status in software-properties source package in Bionic:
  Fix Committed
Status in software-properties source package in Focal:
  Fix Released
Status in software-properties source package in Jammy:
  Fix Released

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: 

[Touch-packages] [Bug 2003996] Re: /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_op

2023-02-21 Thread Launchpad Bug Tracker
This bug was fixed in the package software-properties - 0.99.32

---
software-properties (0.99.32) lunar; urgency=medium

  [ Nathan Pratta Teodosio ]
  * Disable the Ubuntu Pro UI with an explanation when not connected
(lp: #2004634)
  * Catch exceptions to wait (lp: #2003996)
  * Initialize pin as empty string (lp: #2004245)

 -- Sebastien Bacher   Thu, 02 Feb 2023 15:37:06
+0100

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

-- 
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 Released
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 : 

[Touch-packages] [Bug 2003996] Re: /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_op

2023-02-16 Thread Nathan Teodosio
Jammy and Focal verified in

https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2004634/comments/5
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2004634/comments/7

** Tags removed: verification-needed-focal verification-needed-jammy
** Tags added: verification-done-focal verification-done-jammy

-- 
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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-02-03 Thread Brian Murray
Hello errors.ubuntu.com, or anyone else affected,

Accepted software-properties into jammy-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/software-
properties/0.99.22.6 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-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. 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 Jammy)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-jammy

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

** Tags added: verification-needed-focal

-- 
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 

[Touch-packages] [Bug 2003996] Re: /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_op

2023-02-03 Thread Sebastien Bacher
** Description changed:

+ * 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)
+   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 

[Touch-packages] [Bug 2003996] Re: /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_op

2023-02-01 Thread Nathan Teodosio
** Changed in: software-properties (Ubuntu)
   Status: In Progress => Fix Committed

** Description changed:

  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

-- 
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

Bug description:
  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
  

[Touch-packages] [Bug 2003996] Re: /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_op

2023-01-27 Thread Nathan Teodosio
** Changed in: software-properties (Ubuntu)
   Importance: Undecided => High

-- 
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:
  In Progress

Bug description:
  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/.

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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-01-27 Thread Nathan Teodosio
** Merge proposal linked:
   
https://code.launchpad.net/~nteodosio/software-properties/+git/software-properties/+merge/436428

-- 
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:
  In Progress

Bug description:
  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/.

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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-01-27 Thread Nathan Teodosio
** Attachment added: "unhandled-exception.log"
   
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2003996/+attachment/5643651/+files/unhandled-exception.log

-- 
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:
  In Progress

Bug description:
  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/.

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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-01-27 Thread Nathan Teodosio
** Attachment added: "exception-caught.log"
   
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2003996/+attachment/5643652/+files/exception-caught.log

-- 
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:
  In Progress

Bug description:
  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/.

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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-01-27 Thread Nathan Teodosio
Since poll_for_magic_token runs in a thread, a not handled exception
raised there terminates only the polling thread and indicates some
connection problem.

I cannot specifically get the TimeoutError (at least by disconnecting
after initiating the Ubuntu Pro dialog), but rather ConnectivityError,
as the API indeed specifies[1]. {unhandled-exception.log}

Simply ignoring the exceptions raised from wait() is fine {exception-
caught.log}, but the user should likely be informed that the connection
to the server is failing for whatever reason.

All in all, the reported error is innocuous but the UI should likely to
warn the user about connectivity issue.

[1]: https://github.com/canonical/ubuntu-advantage-
client/blob/main/docs/references/api.md#uproattachmagicwaitv1

-- 
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:
  In Progress

Bug description:
  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/.

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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-01-27 Thread Nathan Teodosio
** Changed in: software-properties (Ubuntu)
   Status: New => In Progress

-- 
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:
  In Progress

Bug description:
  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/.

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


[Touch-packages] [Bug 2003996] Re: /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_op

2023-01-27 Thread Sebastien Bacher
** Changed in: software-properties (Ubuntu)
 Assignee: (unassigned) => Nathan Teodosio (nteodosio)

-- 
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:
  New

Bug description:
  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/.

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