When I ran an upgrade on Kubuntu, I was flooded with exceptions that look like this:
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-u0e14fet/DistUpgrade/DistUpgradeViewKDE.py", line 280, in update
self.progressbar.setValue(self.percent)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function update
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-u0e14fet/DistUpgrade/DistUpgradeViewKDE.py", line 280, in update
self.progressbar.setValue(self.percent)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
block = f.read(1048576)
File "/usr/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
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-release-upgrader-u0e14fet/DistUpgrade/DistUpgradeViewKDE.py", line 280, in update
self.progressbar.setValue(self.percent)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
We think this leads to "too many open files" errors, and ultimately causes the crash. I will write a patch for that exception and test this hypothesis.
When I ran an upgrade on Kubuntu, I was flooded with exceptions that look like this:
Original exception was: release- upgrader- u0e14fet/ DistUpgrade/ DistUpgradeView KDE.py" , line 280, in update progressbar. setValue( self.percent) release- upgrader- u0e14fet/ DistUpgrade/ DistUpgradeView KDE.py" , line 280, in update progressbar. setValue( self.percent) python3/ dist-packages/ problem_ report. py", line 477, in add_to_existing python3/ dist-packages/ problem_ report. py", line 430, in write python3. 10/codecs. py", line 322, in decode decode( data, self.errors, final)
Traceback (most recent call last):
File "/tmp/ubuntu-
self.
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function update
Traceback (most recent call last):
File "/tmp/ubuntu-
self.
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
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: release- upgrader- u0e14fet/ DistUpgrade/ DistUpgradeView KDE.py" , line 280, in update progressbar. setValue( self.percent)
Traceback (most recent call last):
File "/tmp/ubuntu-
self.
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
We think this leads to "too many open files" errors, and ultimately causes the crash. I will write a patch for that exception and test this hypothesis.