There is a small logic error that is causing this. If you can install one of
"xsane", "kooka", or "xscanimage", the error should go away.

-Don


On 5/17/07, Juan A <[EMAIL PROTECTED]> wrote:

Ok, I've just compiled 1.7.4a and hp-check now runs fine, but hp-toolbox
still gives error

Arch is not LSB compatible that is not suppose to be an issue


thanks!!
JA

hp-toolbox:

------------------------------------------------------------------------------------
HP Linux Imaging and Printing System (ver. 1.7.4)
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/bin/hp-toolbox", line 159, in <module>
     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'

-------------------------------------------------------------------------------------

hp-check:

-------------------------------------------------------------------------------------
HP Linux Imaging and Printing System (ver. 1.7.4)
Dependency/Version Check Utility ver. 5.3

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.


---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux MinasTirith 2.6.21-ARCH #1 SMP PREEMPT Sun May 6 18:33:47 CEST 2007
i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

Detected distro (/etc/issue):
unknown 0.0

Detected distro (lsb_release):
error: lsb_release not found.

Currently installed HPLIP version...
HPLIP 1.7.4 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf

[hpiod]
# port=0 (dynamic IP port)
port=2208
[hpssd]
# port=0 (dynamic IP port)
port=2207

[hplip]
version=1.7.4
jdprobe=0

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-1.7.4

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=1
pp-build=1
gui-build=1
scanner-build=1
fax-build=1
cups11-build=0
installinitd=
chkconfig=
internal-tag=1.7.4.10


HPLIP running?
Yes, HPLIP is running (OK).

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.1 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
OK, Version 4.6 installed

----------------
| DEPENDENCIES |
----------------


Checking for dependency libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency SANE - Scanning library...
OK, found.

Checking for dependency GhostScript - PostScript and PDF language
interpreter and previewer...
OK, found.

Checking for dependency libjpeg - JPEG library...
OK, found.

Checking for dependency libpthread - POSIX threads library...
OK, found.

Checking for dependency make - GNU make utility to maintain groups of
programs...
OK, found.

Checking for dependency python-devel - Python development files...
OK, found.

Checking for dependency Reportlab - PDF library for Python...
error: Not found!
This is an OPTIONAL dependency. Some HPLIP functionality may not function
properly.

Checking for dependency PyQt - Qt interface for Python...
OK, found.

Checking for dependency cups-devel- Common Unix Printing System
development files...
OK, found.

Checking for dependency ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency libusb - USB library...
OK, found.

Checking for dependency scanimage - Shell scanning program...
OK, found.

Checking for dependency libnetsnmp-devel - SNMP networking library
development files...
OK, found.

Checking for dependency Python 2.2 or greater - Python programming
language...
OK, found.

Checking for dependency LSB - Linux Standard Base support...
error: Not found!
error: This is a REQUIRED dependency. Please make sure that this
dependency is installed before installing or running HPLIP.

Checking for dependency xsane - Graphical scanner frontend for SANE...
error: Not found!
This is an OPTIONAL dependency. Some HPLIP functionality may not function
properly.

Checking for dependency cups - Common Unix Printing System...
OK, found.

Checking for dependency Python 2.3 or greater - Required for fax
functionality...
OK, found.


----------------------
| INSTALLED PRINTERS |
----------------------


warning: No queues found.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `v4l:/dev/video0' is a Noname BT878 video (AVerMedia TVCaptur
virtual device


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.


3 errors were detected.
Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


-------------------------------------------------------------------------------------

On Wed, 16 May 2007 05:03:34 -0000, dwelch91 <[EMAIL PROTECTED]> wrote:

> This issue was fixed in 1.7.4a.
>
> -Don
>
> On 5/15/07, Juan A <[EMAIL PROTECTED]> wrote:
>>
>> Jeff Had a problem, so I'll answer this.
>>
>> I'm having the same issue
>>
>> # hp-check
>> Traceback (most recent call last):
>>    File "/usr/bin/hp-check", line 37, in <module>
>>      from installer import dcheck, distros
>> ImportError: No module named installer
>>
>> Thanks!
>> JA
>>
>>
>> On Mon, 14 May 2007 20:35:38 -0000, Aaron <[EMAIL PROTECTED]> wrote:
>>
>> > Can you run hp-check and post the output?
>> >
>> > Thanks!
>> >
>> > A
>> >
>> > On 5/11/07, Jeff Belcher <[EMAIL PROTECTED]> wrote:
>> >>
>> >> I have installed my printer and when I try to run hp-toolbox this is
>> >> what I receive:
>> >>
>> >> HP Linux Imaging and Printing System (ver. 1.7.4)
>> >> 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/bin/hp-toolbox", line 159, in <module>
>> >>     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'
>> >>
>> >> I am running Archlinux current(rolling release, no version #. The
>> >> printer is an HP 4150. It prints fine but other people are having
the
>> >> same problem. Hope you can help. THANKS!!!
>> >>
>> >>
>> >>
>>
-------------------------------------------------------------------------
>> >> This SF.net email is sponsored by DB2 Express
>> >> Download DB2 Express C - the FREE version of DB2 express and take
>> >> control of your XML. No limits. Just data. Click to get it now.
>> >> http://sourceforge.net/powerbar/db2/
>> >> _______________________________________________
>> >> HPLIP-Help mailing list
>> >> HPLIP-Help@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/hplip-help
>> >>
>> >
>> >
>> >
>>
>>
>>
>> --
>> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>
>>
>>
-------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> HPLIP-Help mailing list
>> HPLIP-Help@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/hplip-help
>>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to