IOError: [Errno 5] Input/output error: $HOME/.config/software-center/softwarecenter.cfg.new, Software Center does not exit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-center (Ubuntu) |
Fix Released
|
Medium
|
Gary Lasker | ||
Precise |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Medium
|
Gary Lasker |
Bug Description
Ubuntu Software Center version 5.2, Ubuntu 12.04
Steps to reproduce (induces an error condition that causes the traceback for the crash in this bug):
1. Shut down Software Center, if it is running:
2. Open a terminal and type the following command:
$ cd ~/.config/
3. Launch Software Center from a terminal as shown:
$ software-center
4. Once Software Center has started, shut it down again.
5. Note that you'll get a traceback reporting:
IOError: [Errno 13] Permission denied: '/home/
Followed by the error for this bug:
TypeError: object of type 'NoneType' has no len()
6. Note also that Software Center does not fully quit.
7. Type the following in a terminal to kill Software Center:
$ killall software-center
8. And finally, type the following to remove the bad softwarecenter.
$ rm softwarecenter.
Software Center crashes and does not exit when an error is encountered when writing the configuration file at shutdown. Please see comment #16 of bug 885726 for more details, including the following stacktrace information, and for steps to reproduce a similar error.
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
f = open(tmpname, "w")
IOError: [Errno 5] Input/output error: '/home/
Related branches
- Michael Vogt: Approve
-
Diff: 189 lines (+77/-34)4 files modifiedsoftwarecenter/config.py (+20/-5)
softwarecenter/log.py (+2/-6)
softwarecenter/utils.py (+37/-22)
test/test_utils.py (+18/-1)
Changed in software-center (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Gary Lasker (gary-lasker) |
status: | Triaged → In Progress |
summary: |
IOError: [Errno 5] Input/output error: $HOME/.config/software- - center/softwarecenter.cfg.new + center/softwarecenter.cfg.new, Software Center does not exit |
Changed in software-center (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in software-center (Ubuntu): | |
milestone: | none → precise-updates |
tags: | added: ca-escalated |
Changed in software-center (Ubuntu Precise): | |
status: | New → Fix Committed |
Hello Gary, or anyone else affected,
Accepted software-center into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you in advance!