This bug was fixed in the package update-notifier - 3.168.3
---
update-notifier (3.168.3) xenial; urgency=medium
* data/package-data-downloader: Be resilient and do not crash when we can
not print information about what is happening. (LP: #1640318)
-- Brian Murray
This bug was fixed in the package update-notifier - 3.175.1
---
update-notifier (3.175.1) yakkety; urgency=medium
* data/package-data-downloader: Be resilient and do not crash when we can
not print information about what is happening. (LP: #1640318)
-- Brian Murray
The new package versions do not appear in any of the buckets listed in
the bug report so I'm setting this to verification-done.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Hello errors.ubuntu.com, or anyone else affected,
Accepted update-notifier into yakkety-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/update-
notifier/3.175.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new
This has been reuploaded to the X and Y queues for the SRU team to
review.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1640318
Title:
/usr/lib/update-notifier/package-data-
+except OSError as e:
+if e.errno == 5:
+pass
This check makes little sense -- if errno is 5 or something else, the
exception is ignored in both cases. So just
except OSError:
pass
is sufficient IMHO --
Also, are errno values the same across all architectures? I think they
are, but I thought I'd ask.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1640318
Title:
Looks good to accept into proposed, but:
bdmurray: for bug 1640318, why not use the errno module's
symbolic constants rather than hardcoding a number everywhere? Also,
that's a whole load of duplication - could that be in a "attempt_print"
function or something?
14:26 bdmurray: That's more for
** Description changed:
+ Impact
+ --
+ Crash reports are being generated when update-notifier is trying to print a
message which isn't really necessary to print. This crash its reporting
process is wasting resources of users and the Error Tracker.
+
+ Test Case
+ -
+ We haven't
** Changed in: update-notifier (Ubuntu Xenial)
Assignee: (unassigned) => Brian Murray (brian-murray)
** Changed in: update-notifier (Ubuntu Yakkety)
Assignee: (unassigned) => Brian Murray (brian-murray)
** Changed in: update-notifier (Ubuntu Xenial)
Status: Triaged => In
This bug was fixed in the package update-notifier - 3.176
---
update-notifier (3.176) zesty; urgency=medium
* data/package-data-downloader: Be resilient and do not crash when we can
not print information about what is happening. (LP: #1640318)
-- Brian Murray
** Changed in: update-notifier (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: update-notifier (Ubuntu Yakkety)
Importance: Undecided => High
** Changed in: update-notifier (Ubuntu Xenial)
Status: New => Triaged
** Changed in: update-notifier (Ubuntu Yakkety)
** Branch linked: lp:update-notifier
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1640318
Title:
/usr/lib/update-notifier/package-data-
** Also affects: update-notifier (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: update-notifier (Ubuntu Yakkety)
Importance: Undecided
Status: New
** Changed in: update-notifier (Ubuntu)
Assignee: (unassigned) => Brian Murray (brian-murray)
**
These crashes all involve using print and receiving an OSError:
https://errors.ubuntu.com/problem/6d1b824722fbcb50df8641db1133d36056f95101
https://errors.ubuntu.com/problem/3a9e65112dd283cf56df8506f70bc088695f9bc6
--
You received this bug notification because you are a member of Ubuntu
Bugs,
The Traceback:
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 240, in
process_download_requests
print("%s: downloading %s" % (relfile, files[i]))
OSError: [Errno 5] Input/output error
During handling of the above exception, another
16 matches
Mail list logo