To the HPLIP developers at HP: The fix is running the following command before building:
sed -i s/self.retranslateUi/#self.retranslateUi/ ui5/devmgr5_base.py -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/1710378 Title: toolbox.py crashed with AttributeError in retranslateUi(): 'DevMgr5' object has no attribute 'latest_available_version' Status in HPLIP: Confirmed Status in hplip package in Ubuntu: Fix Released Status in hplip package in Debian: Fix Released Bug description: hp-toolbox not starting: till@till-x1carbon:~$ hp-toolbox HP Linux Imaging and Printing System (ver. 3.17.7) HP Device Manager ver. 15.0 Copyright (c) 2001-15 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. /Traceback (most recent call last): File "/usr/bin/hp-toolbox", line 280, in <module> toolbox = ui.DevMgr5(__version__, device_uri, None) File "/usr/share/hplip/ui5/devmgr5.py", line 245, in __init__ self.setupUi(self,"",self.Is_autoInstaller_distro) File "/usr/share/hplip/ui5/devmgr_ext.py", line 7, in setupUi super(Ui_MainWindow_Derived, self).setupUi(MainWindow) File "/usr/share/hplip/ui5/devmgr5_base.py", line 358, in setupUi self.retranslateUi(MainWindow) File "/usr/share/hplip/ui5/devmgr_ext.py", line 37, in retranslateUi if self.latest_available_version is not "": AttributeError: 'DevMgr5' object has no attribute 'latest_available_version' till@till-x1carbon:~$ ProblemType: Crash DistroRelease: Ubuntu 17.10 Package: hplip-data 3.17.7+repack0-2 ProcVersionSignature: Ubuntu 4.11.0-13.19-generic 4.11.12 Uname: Linux 4.11.0-13-generic x86_64 ApportVersion: 2.20.6-0ubuntu5 Architecture: amd64 CurrentDesktop: GNOME Date: Sat Aug 12 11:19:39 2017 Dependencies: gcc-7-base 7.1.0-13ubuntu1 libc6 2.24-12ubuntu1 libgcc1 1:7.1.0-13ubuntu1 liblzma5 5.2.2-1.2 xz-utils 5.2.2-1.2 ExecutablePath: /usr/share/hplip/toolbox.py InstallationDate: Installed on 2015-04-30 (835 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) InterpreterPath: /usr/bin/python3.6 MachineType: LENOVO 20A8X50300 PackageArchitecture: all Papersize: letter ProcCmdline: /usr/bin/python3 /usr/bin/hp-toolbox ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.11.0-13-generic root=UUID=ff9fee12-fd92-4cfd-88bf-c8f57ffba318 ro quiet splash nomdmonddf nomdmonisw vt.handoff=7 PythonArgs: ['/usr/bin/hp-toolbox'] SourcePackage: hplip Title: toolbox.py crashed with AttributeError in retranslateUi(): 'DevMgr5' object has no attribute 'latest_available_version' UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip libvirt libvirtd lpadmin plugdev sambashare sudo wireshark dmi.bios.date: 09/02/2014 dmi.bios.vendor: LENOVO dmi.bios.version: GRET40WW (1.17 ) dmi.board.asset.tag: Not Available dmi.board.name: 20A8X50300 dmi.board.vendor: LENOVO dmi.board.version: SDK0E50512 STD dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrGRET40WW(1.17):bd09/02/2014:svnLENOVO:pn20A8X50300:pvrThinkPadX1Carbon2nd:rvnLENOVO:rn20A8X50300:rvrSDK0E50512STD:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 20A8X50300 dmi.product.version: ThinkPad X1 Carbon 2nd dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/1710378/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp