[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
*** This bug is a duplicate of bug 1592817 *** https://bugs.launchpad.net/bugs/1592817 I faced this issue as well. it was solved with python3-distupgrade 16.04.19 and reapeared with python3-distupgrade 16.04.20 temporary solution "that works for me" is to force installation of python3-distupgrade 16.04.19 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
*** This bug is a duplicate of bug 1592817 *** https://bugs.launchpad.net/bugs/1592817 ** This bug has been marked a duplicate of bug 1592817 gdebi-gtk crashed with ValueError in update_interface(): could not convert string to float: '0,' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
I confirm it too, trying to update from kubuntu 16.04 to 16.10 I get that error at different points in installation, now I have a broken install because of this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
Hello, disasterpiece (vmf11)'s patch CORRECTS the bug. Upgrade to 16.10 teminated ! Thank's. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
Hello, Same here, with do-release-upgrade and graphic interface. Impossible to upgrade from 16.04 to 16.10. The process goes on some minutes after le crash message but never goes to the end. Both on virtual installation (VirtualBox) and hard plateform. (AMD64) Easy to reproduce on VM if needed for debug. Regards -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
The attachment "bug #1593869 float() issue WAR" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
Sorry, see attachment for patch. ** Patch added: "bug #1593869 float() issue WAR" https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+attachment/4781813/+files/bug%20%231593869.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
Same issue on 16.04. Fixed with: --- /usr/lib/python3/dist-packages/apt/progress/base.py 2016-09-01 17:34:43.0 +0300 +++ /usr/lib/python3/dist-packages/apt/progress/base.py.bak 2016-11-23 05:57:04.766896902 +0300 @@ -212,6 +212,12 @@ """Fork.""" return os.fork() +def __float(self, str): +try: +return float(str) +except: +return float(re.sub(',', '.', str)) + def update_interface(self): """Update the interface.""" try: @@ -252,9 +258,9 @@ self.conffile(match.group(1), match.group(2)) elif status == "pmstatus": # FIXME: Float comparison -if float(percent) != self.percent or status_str != self.status: -self.status_change(pkgname, float(percent), status_str.strip()) -self.percent = float(percent) +if self.__float(percent) != self.percent or status_str != self.status: +self.status_change(pkgname, self.__float(percent), status_str.strip()) +self.percent = self.__float(percent) self.status = status_str.strip() elif base == "status": self.dpkg_status_change(pkgname, status) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
One more affected. Ubuntustdio upgrdes ok, but ubuntu server 16.04 on commandline upgrade stops to this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
Have you tried to run do-release-upgrade in terminal? The error message shows up anyway, but - in my case - the installation process continued without failing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
I am affected by this bug too. How can it be marked as "medium", when it freezes the whole install process ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
My output after starting the update from shell was: update-manager /usr/bin/update-manager:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk /usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Dbusmenu was imported without specifying a version first. Use gi.require_version('Dbusmenu', '0.4') before import to ensure that the right version gets loaded. from gi.repository import Dbusmenu, Unity /usr/lib/python3/dist-packages/UpdateManager/UnitySupport.py:29: PyGIWarning: Unity was imported without specifying a version first. Use gi.require_version('Unity', '7.0') before import to ensure that the right version gets loaded. from gi.repository import Dbusmenu, Unity Neue Veröffentlichungen von Ubuntu werden gesucht /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, Gdk /usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.py:33: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded. from gi.repository import WebKit2 as WebKit Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. »yakkety.tar.gz« wird gegenüber »yakkety.tar.gz.gpg« legitimiert »yakkety.tar.gz« wird entpackt Inhibiting until Ctrl+C is pressed... Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-q6lhlwwi/yakkety", line 8, in sys.exit(main()) File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeMain.py", line 242, in main if app.run(): File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeController.py", line 1880, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeController.py", line 1845, in fullUpgrade if not self.doDistUpgrade(): File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeController.py", line 1183, in doDistUpgrade res = self.cache.commit(fprogress,iprogress) File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeCache.py", line 267, in commit apt.Cache.commit(self, fprogress, iprogress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 515, in commit res = self.install_archives(pm, install_progress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 479, in install_archives res = install_progress.run(pm) File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeView.py", line 234, in run res = os.WEXITSTATUS(self.wait_child()) File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeViewGtk3.py", line 339, in wait_child self.update_interface() File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeViewGtk3.py", line 346, in update_interface InstallProgress.update_interface(self) File "/usr/lib/python3/dist-packages/apt/progress/base.py", line 255, in update_interface if float(percent) != self.percent or status_str != self.status: ValueError: could not convert string to float: '0,' Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/problem_report.py", line 497, in add_to_existing self.write(f) File "/usr/lib/python3/dist-packages/problem_report.py", line 450, in write block = f.read(1048576) File "/usr/lib/python3.5/codecs.py", line 321, 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-q6lhlwwi/yakkety", line 8, in sys.exit(main()) File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeMain.py", line 242, in main if app.run(): File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeController.py", line 1880, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeController.py", line 1845, in fullUpgrade if not self.doDistUpgrade(): File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeController.py", line 1183, in doDistUpgrade res = self.cache.commit(fprogress,iprogress) File "/tmp/ubuntu-release-upgrader-q6lhlwwi/DistUpgrade/DistUpgradeCache.py", line 267, in commit apt.Cache.commit(self, fprogress, iprogress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 515, in commit res = self.install_archives(pm, install_progress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 479, in install_archives
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
The traceback here ends with the same lines as https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1592817. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
Same bug with Ubuntu 16.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
** Tags added: bugpattern-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
same here -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1593869] Re: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0, 0000'
** Information type changed from Private to Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593869 Title: do-release-upgrade crashed with ValueError in update_interface(): could not convert string to float: '0,' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1593869/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs