Hello, I installed x86 hplip today and the toolbox doesn't work anymore: /usr/share/hplip/toolbox HP Linux Imaging and Printing System (ver. 1.7.4a) HP Device Manager ver. 10.0 Copyright (c) 2001-7 Hewlett-Packard 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/share/hplip/toolbox", line 159, in ? toolbox = DevMgr4(hpiod_sock, hpssd_sock, toolboxCleanup, __version__) File "/usr/share/hplip/ui/devmgr4.py", line 152, in __init__ self.user_settings = utils.UserSettings() File "/usr/share/hplip/base/utils.py", line 541, in __init__ self.load() File "/usr/share/hplip/base/utils.py", line 643, in load self.cmd_scan = user_cfg.commands.scan or self.cmd_scan AttributeError: 'UserSettings' object has no attribute 'cmd_scan' Printing still works. Aforementioned link suggests that hplip-1.7.4a needs a sane frontend like xsane of kooka to even start up. I think this is stupid. Why not function without in case the user wants no scanning support anyway. Reproducible: Always emerge hplip cups foomatic-filters -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-print/hplip-1.7.4a-r1 USE="cups ppds qt3 -X -fax -foomaticdb -parport -scanner -snmp" 0 kB [ebuild R ] net-print/cups-1.2.10-r1 USE="X jpeg png -dbus -ldap -nls -pam -php -ppds -samba -slp -ssl -tiff" 0 kB [ebuild R ] net-print/foomatic-filters-3.0.20060720 USE="cups" 0 kB Total: 3 packages (3 reinstalls), Size of downloads: 0 kB emerge --info Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21.3 i686) ================================================================= System uname: 2.6.21.3 i686 AMD Sempron(tm) 2400+ Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 07 Jun 2007 16:20:01 +0000 ccache version 2.4 [enabled] dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/data/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="en_US" LC_ALL="en_US" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/data/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage" USE="3dnow 3dnowext custom-cflags kde mmx mmxext nptl nptlonly sse threads x86" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I have the same exact problem previous version worked, but not this one (In reply to comment #0) > Hello, > > I installed x86 hplip today and the toolbox doesn't work anymore: > > /usr/share/hplip/toolbox > > HP Linux Imaging and Printing System (ver. 1.7.4a) > HP Device Manager ver. 10.0 > > Copyright (c) 2001-7 Hewlett-Packard 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/share/hplip/toolbox", line 159, in ? > toolbox = DevMgr4(hpiod_sock, hpssd_sock, toolboxCleanup, __version__) > File "/usr/share/hplip/ui/devmgr4.py", line 152, in __init__ > self.user_settings = utils.UserSettings() > File "/usr/share/hplip/base/utils.py", line 541, in __init__ > self.load() > File "/usr/share/hplip/base/utils.py", line 643, in load > self.cmd_scan = user_cfg.commands.scan or self.cmd_scan > AttributeError: 'UserSettings' object has no attribute 'cmd_scan' > > Printing still works. Aforementioned link suggests that hplip-1.7.4a needs a > sane frontend like xsane of kooka to even start up. I think this is stupid. Why > not function without in case the user wants no scanning support anyway. > > > > Reproducible: Always > > > > > emerge hplip cups foomatic-filters -pv > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] net-print/hplip-1.7.4a-r1 USE="cups ppds qt3 -X -fax > -foomaticdb -parport -scanner -snmp" 0 kB > [ebuild R ] net-print/cups-1.2.10-r1 USE="X jpeg png -dbus -ldap -nls -pam > -php -ppds -samba -slp -ssl -tiff" 0 kB > [ebuild R ] net-print/foomatic-filters-3.0.20060720 USE="cups" 0 kB > > Total: 3 packages (3 reinstalls), Size of downloads: 0 kB > > emerge --info > Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, > 2.6.21.3 i686) > ================================================================= > System uname: 2.6.21.3 i686 AMD Sempron(tm) 2400+ > Gentoo Base System release 1.12.9 > Timestamp of tree: Thu, 07 Jun 2007 16:20:01 +0000 > ccache version 2.4 [enabled] > dev-lang/python: 2.4.4-r4 > dev-python/pycrypto: 2.0.1-r5 > dev-util/ccache: 2.4-r7 > sys-apps/sandbox: 1.2.17 > sys-devel/autoconf: 2.13, 2.61 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 > sys-devel/binutils: 2.16.1-r3 > sys-devel/gcc-config: 1.3.16 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.17-r2 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config > /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo > /etc/texmf/web2c" > CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" > DISTDIR="/data/distfiles" > EMERGE_DEFAULT_OPTS="--with-bdeps y" > FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict" > GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" > LANG="en_US" > LC_ALL="en_US" > LINGUAS="de" > MAKEOPTS="-j2" > PKGDIR="/data/packages" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress > --force --whole-file --delete --delete-after --stats --timeout=180 > --exclude=/distfiles --exclude=/local --exclude=/packages > --filter=H_**/files/digest-*" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage" > SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage" > USE="3dnow 3dnowext custom-cflags kde mmx mmxext nptl nptlonly sse threads x86" > ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 > emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m > maestro3 trident usb-audio via82xx via82xx-modem ymfpci" > ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file > hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route > share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses > text" LINGUAS="de" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="radeon" > Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, > PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >
I can confirm this. I have the same problem (also compiled hplip without sane support).
This doesn't seem to be the case anymore with the new 2.7.6 release (at least for me). Please test it on your system (see bug #183022). I'm not closing this WORKSFORME, but TEST-REQUEST instead. Comments welcome. Denis.