Summary: | net-print/hplip-2.7.12: hp-toolbox crashes when trying to import fax | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dima Ryazanov <dima> |
Component: | [OLD] Printing | Assignee: | Denis Dupeyron (RETIRED) <calchan> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | heiko.baums, milouxiv, polynomial-c, smoothhound |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | hp-check run as root |
Description
Dima Ryazanov
2007-12-28 06:57:18 UTC
(In reply to comment #0) > (Works fine if run as root, though...) Is your user in the lp group ? Denis. Yes. (Though if I run hp-toolbox as a user who is not in lp, the result is the same.) (In reply to comment #2) > Yes. > > (Though if I run hp-toolbox as a user who is not in lp, the result is the > same.) > I have the same problem, but it does not work as root. shuttle don # /usr/share/hplip/toolbox.py HP Linux Imaging and Printing System (ver. 2.7.12) HP Device Manager ver. 11.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.py", line 137, in <module> from ui.devmgr4 import DevMgr4 File "/usr/share/hplip/ui/devmgr4.py", line 48, in <module> from scrollfax import ScrollFaxView File "/usr/share/hplip/ui/scrollfax.py", line 40, in <module> from fax import fax ImportError: Bad magic number in /usr/share/hplip/fax/__init__.p shuttle don # emerge --info Portage 2.1.4_rc14 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.7-r1, 2.6.23-gentoo-r4 x86_64) ================================================================= System uname: 2.6.23-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+ Timestamp of tree: Fri, 04 Jan 2008 20:30:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.4.4-r4, 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 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.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo" LANG="C" PKGDIR="/usr/portage/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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa amd64 berkdb bitmap-fonts browserplugin cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd fam ffmpeg firefox foomatic fortran gdbm gif gimp glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal howl iconv ipv6 isdnlog java jpeg ldap lirc lm_sensors mad midi mikmod modplug mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session sndfile spell spl ssl startup-notification tcpd truetype truetype-fonts type1-fonts unicode usb vorbis xml xorg xv zlib" ALSA_CARDS="intel8x0" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY (In reply to comment #3) I re-emerged hplip using the fax use flag, and now it works. (In reply to comment #4) > (In reply to comment #3) > I re-emerged hplip using the fax use flag, and now it works. > Be that as it may, I do hope that this kink will be addressed in a future ebuild. There's no point in having a USE=fax if your device is non-fax-functional. Somewhat off-topic, but there is a similar (though non-crashing) buglet whereby hp-check spits an error if you do not have CONFIG_PARPORT=y in your kernel, even when built with USE=-parport. Sorry for the delay, I just got back. Dima, Don and Robin, please attach the result of hp-check run as root (please, do not inline it, it would mess up the bug) and I'll have a look at this.
> Somewhat off-topic, but there is a similar (though non-crashing) buglet whereby
> hp-check spits an error if you do not have CONFIG_PARPORT=y in your kernel,
> even when built with USE=-parport.
Upstream has the bad habit of making things optional and flagging them as errors when disabled. Not very logical if you ask me. I could maybe patch this but as it looks like I'm the only one looking at hp-check results I never really bothered.
Denis.
Created attachment 142838 [details]
hp-check run as root
The errors for the 8250 are ok, because it was not connected to
the machine when hp-check was run.
Would an interim fix not be to get rid of the "fax" useflag (for this version) until it is fixed? Please test this again with either the stable 2.8.6b or unstable 2.8.7. Thansk, Denis. |