unattended-upgrade crashed with AttributeError in _write(): 'NoneType' object has no attribute 'write'

Bug #1689495 reported by Raony Guimarães
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This happened after upgrading it to Artful.

ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: unattended-upgrades 0.93.1ubuntu3
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.4-0ubuntu6
Architecture: amd64
CrashCounter: 1
Date: Tue May 9 08:20:24 2017
ExecutablePath: /usr/bin/unattended-upgrade
InstallationDate: Installed on 2017-05-05 (3 days ago)
InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Release amd64 (20170412)
InterpreterPath: /usr/bin/python3.5
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/unattended-upgrade -d 3
ProcEnviron:
 LANGUAGE=en_IE:en
 PATH=(custom, no user)
 LANG=en_IE.UTF-8
PythonArgs: ['/usr/bin/unattended-upgrade', '-d', '3']
SourcePackage: unattended-upgrades
Title: unattended-upgrade crashed with AttributeError in _write(): 'NoneType' object has no attribute 'write'
UpgradeStatus: Upgraded to artful on 2017-05-05 (3 days ago)
UserGroups:

Revision history for this message
Raony Guimarães (raonyguimaraes) wrote :
tags: removed: need-duplicate-check
Changed in unattended-upgrades (Ubuntu):
importance: Undecided → Medium
Colin Watson (cjwatson)
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unattended-upgrades (Ubuntu):
status: New → Confirmed
uklas (uklasius)
Changed in unattended-upgrades (Ubuntu):
assignee: nobody → uklas (uklasius)
status: Confirmed → Fix Released
Revision history for this message
Robie Basak (racb) wrote :

Still affects me on Artful with 0.93.1ubuntu4. uklas, why did you change this to Fix Released with no explanation?

Changed in unattended-upgrades (Ubuntu):
status: Fix Released → Confirmed
assignee: uklas (uklasius) → nobody
tags: added: rls-aa-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

Robie - Do you have any more information about how this crash occurs and its effects?

tags: removed: rls-aa-incoming
Changed in unattended-upgrades (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Robie Basak (racb) wrote :

The first I knew of it was an apport/whoopsie GUI popup, which then sent me to this bug IIRC. I installed this machine fresh from an Artful daily. The only relevant change I think I made was to add an apt proxy in /etc/apt.conf.d/. I don't have any other information and didn't save my traceback, assuming it was the same as in this report. I haven't seen the issue since, though I don't know if that's due to whoopsie suppression.

Robie Basak (racb)
Changed in unattended-upgrades (Ubuntu):
status: Incomplete → Confirmed
Norbert (nrbrtx)
tags: removed: artful
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.