Bug#585627: hplip: Error with hpmudext module : hp-* dont works

2010-06-20 Thread Mark Purcell
On Monday 21 June 2010 06:55:08 Bernd Zeimetz wrote:
 as it is a bit urgent to get the Python transition done I've uploaded a fixed
 package to delayed/1. Please let me know if I should remove or delay it, but 
 it
 would be appreciated if the problems could be fixed ASAP.

Bernd,

Thanks for the patch, I will include in the next upload.

I have been asking for assistance for a while from the python team, so this 
should enable the package to work through correctly.

Thanks,
Mark


signature.asc
Description: This is a digitally signed message part.


Bug#585627: hplip: Error with hpmudext module : hp-* dont works

2010-06-12 Thread Eloi COUTANT
Package: hplip
Version: 3.10.5-1
Severity: grave

When i try to launch hp-* commands (hp-clean, hp-check, hp-align,
hp-toolbox), i have this error :

$# hp-clean
Traceback (most recent call last):
  File /usr/bin/hp-clean, line 38, in module
from base import device, utils, maint, tui, module
  File /usr/share/hplip/base/device.py, line 37, in module
import status
  File /usr/share/hplip/base/status.py, line 40, in module
import hpmudext
ImportError: No module named hpmudext

Kind regards


-- Package-specific info:
#part type=text/plain disposition=attachment description=Bug script output
warning: Version: (Not available - cups-config. Unable to determine installed 
version of CUPS.)
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP 
functionality may not function properly.
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP 
functionality may not function properly.

HP Linux Imaging and Printing System (ver. 3.10.5)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling 
the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper 
dependencies are installed 
to successfully compile HPLIP.  


2. Run-time check mode (-r or --run): Use this mode to determine if a distro 
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball 
has the proper   
dependencies installed to successfully run. 


3. Both compile- and run-time check mode (-b or --both) (Default): This mode 
will check both of the above cases (both compile- and run-time dependencies).   
   

Saving output in log file: hp-check.log

Initializing. Please wait...

---
| SYSTEM INFO |
---

Basic system information:
Linux PikaBoo 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64 
GNU/Linux

Distribution:
debian experimental

Checking Python version...
OK, version 2.6.5 installed

Checking PyQt 4.x version...
OK, version 4.7.3 installed.

Checking for CUPS...
Status: le programmateur n’est pas en cours d’exécution
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1



| RUNTIME DEPENDENCIES |



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

Checking for dependency: CUPS DDK - CUPS driver development kit...

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

Checking for dependency: PIL - Python Imaging Library (required for commandline 
scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify 
Desktop notifications...

Checking for dependency: Python XML libraries...
OK, found.

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

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

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

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

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


--
| HPLIP INSTALLATION |
--


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

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.10.5

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.10.4.16
restricted-build=no

Bug#585627: hplip: Error with hpmudext module : hp-* dont works

2010-06-12 Thread Mark Purcell
severity 585627 normal
tags 585627 confirmed experimental
affects 585627 python
thanks

On Saturday 12 June 2010 23:32:32 Eloi COUTANT wrote:
 When i try to launch hp-* commands (hp-clean, hp-check, hp-align,
 hp-toolbox), i have this error :
 
 $# hp-clean
 Traceback (most recent call last):
   File /usr/bin/hp-clean, line 38, in module
 from base import device, utils, maint, tui, module
   File /usr/share/hplip/base/device.py, line 37, in module
 import status
   File /usr/share/hplip/base/status.py, line 40, in module
 import hpmudext
 ImportError: No module named hpmudext

Eloi,

I can reproduce this report if I install python 2.6 from experimental, which 
you appear to have installed.  Using packages from experimental is not a 
supported configuration. Debian unstable hplip has been built with python 2.5:
http://hplipopensource.com/node/323

If you have a look inside the hplip package you will see we install to:
/usr/lib/python2.5/site-packages

As a workaround, please do the following:

# apt-get install python/unstable python-minimal/unstable


 Checking Python version...
 OK, version 2.6.5 installed

Debian unstable supported python version is: 2.5.4-9




Matthias, What foo should I put in my debian/control file to automatically 
generate the correct depends:

We currently just have:
XB-Python-Version: ${python:Versions}
Depends: ${python:Depends}, python-dbus (= 0.80), python-imaging, 
python-pexpect, python-notify

But that doesn't limit the Depends to the python version the package was built 
with.

It seems that I could hard code:
XS-Python-Version: 2.5

But that would be too much and the package would then have to be manually 
updated every-time you upversion python.

Mark


signature.asc
Description: This is a digitally signed message part.


Processed: Re: Bug#585627: hplip: Error with hpmudext module : hp-* dont works

2010-06-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 severity 585627 normal
Bug #585627 [hplip] hplip: Error with hpmudext module : hp-* dont works
Severity set to 'normal' from 'grave'

 tags 585627 confirmed experimental
Bug #585627 [hplip] hplip: Error with hpmudext module : hp-* dont works
Added tag(s) confirmed and experimental.
 affects 585627 python
Bug #585627 [hplip] hplip: Error with hpmudext module : hp-* dont works
Added indication that 585627 affects python
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
585627: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585627
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org