Python script crash during upgrade process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This is what I copied (with some editing for readability purposes) from my terminal during upgrade (sorry, no more lines above the topmost one):
Extracting templates from packages: 98%N: Ignoring file '20auto-
Extracting templates from packages: 100%
Preconfiguring packages ...
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
if app.run():
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.doDistUpgr
File "/tmp/ubuntu-
res = self.cache.
File "/tmp/ubuntu-
apt.
File "/usr/lib/
res = self.install_
File "/usr/lib/
res = install_
File "/tmp/ubuntu-
res = os.WEXITSTATUS(
File "/tmp/ubuntu-
self.
File "/usr/lib/
if float(percent) != self.percent or status_str != self.status:
ValueError: could not convert string to float: '0,0000'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
self.write(f)
File "/usr/lib/
block = f.read(1048576)
File "/usr/lib/
(result, consumed) = self._buffer_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-
sys.
File "/tmp/ubuntu-
if app.run():
File "/tmp/ubuntu-
return self.fullUpgrade()
File "/tmp/ubuntu-
if not self.doDistUpgr
File "/tmp/ubuntu-
res = self.cache.
File "/tmp/ubuntu-
apt.
File "/usr/lib/
res = self.install_
File "/usr/lib/
res = install_
File "/tmp/ubuntu-
res = os.WEXITSTATUS(
File "/tmp/ubuntu-
self.
File "/usr/lib/
if float(percent) != self.percent or status_str != self.status:
ValueError: could not convert string to float: '0,0000'
(Reading database ... 253578 files and directories currently installed.)
[normal install continues]
It looks like somebody wrote '0,0000' instead of '0.0000' somewhere. ;)
no longer affects: | ubuntu-mate |