Hello, here are my several checks and tests to help you finding out what's wrong. Maybe this report will help you finding where the bug lies. If you have any ideas what I could check more feel free to tell me. I have some skills in debugging so could check some things deeply if I would know where to start looking. My guess after reading what I wrote here is something wrong happens between PPD driver and toolbox.
I have just run hp-toolbox 1.7.4a without printer connected. Clicking on any tab printer related (Supplies/Print Settings/Print Control) freezes toolbox. I can not even remove printer which is displayed when not connected because toolbox freezes after choosing to remove. (tried as user and root) I removed printer using cups configuration window in KDE. Then run hp-toolbox to see if there is no freezeing when there is no printer configured. hp-toolbox on start asked me to configure printer by bringing up "HP Device Manager - No Installed HP Devices Found". Clicked "Close" and toolbox appeared without any printers. Every option works. I can click everywhere, choose any option without freezing. Clicking "Refresh All" opens printer setup wizard. I checked everything: no single freezing. So attached and turned on printer then started hp-toolbox again to make sure there is no freezing with printer being connected. I checked everything: no single freezing. Then started to configure new printer using "Device"->"Setup New Device..." from toolbox menu. My printer was autodetected by wizard so it was just a matter of clicking Next. There is some confusion with "Select/Confirm PPD file". By default there are two options presented by "HP Device Manager": PPD File: foomatic:HP-DeskJet_5940-hpijs.ppd /usr/share/cups/model/foomatic-ppds/HP/HP-DeskJet_5940-hpijs.ppd.gz Description: HP DeskJet 5940 Foomatic/hpijs HP DeskJet 5940 Foomatic/hpijs (recommended) or "Select Other..." gives another PPD driver located at: /usr/share/ppd/HP/HP-DeskJet_5940-hpijs.ppd.gz which when chosen shows: HP DeskJet 5940 Foomatic/hpijs (recommended) So I chose it because this one is installed by hplip - the other comes with foomatic-* packages and maybe cups itself. Then clicked next and filled "location" and "description" with "home" value. Next. After clicking "Finish" hp-toolbox is frozen - however I see picture of my printer on left side of hp-toolbox. I run several times this wizard trying all the drivers. All makes hp-toolbox freeze after clicking "Finish". One strange thing: When the hp-toolbox is frozen there is no access to printer configuration using KDE printer configurator - printer list window is empty. When I do killall python then printer list window fills itself with list of printers (I have only one printer HP - the rest are virtual printers to file (pdf printer ,postscript printer etc.). I use: foomatic-db-3.0-current.tar.gz foomatic-db-engine-3.0-current.tar.gz foomatic-db-hpijs-3.0-current.tar.gz foomatic-filters-3.0-current.tar.gz cups-1.2.11 All foomatic-* files were downloaded and installed 1 hour ago. hp-check HP Linux Imaging and Printing System (ver. 1.7.4a) 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 x-power 2.6.21.3 #1 Mon May 28 19:03:02 CEST 2007 i686 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.4a 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.4a 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.4a # 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=/sbin/chkconfig internal-tag=1.7.4.13 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... OK, found. 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.... error: Not found! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly. 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... OK, found. 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'... No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). --------------------- | PYTHON EXTENSIONS | --------------------- Checking 'cupsext' CUPS extension... OK, found. Checking 'pcardext' Photocard extension... OK, found. 2 errors were detected. Please refer to the installation instructions at: http://hplip.sourceforge.net/install/index.html have a nice day and thnaks for help, Zbigniew Luszpinski ------------------------------------------------------------------------- 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-Devel mailing list HPLIP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-devel