Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-01-2005, 08:53 AM   #1
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Rep: Reputation: 30
hplip: hpssd needs cupsext. Where is that?

I installed hplip from rpm packages for suse that I found on and I want to set up my dj3745 printer.
However, hpssd won't start. It says:
# /etc/init.d/hplip restart
Stopping hpiod: /etc/profile: line 285: export: `PATH###': not a valid identifier
[ OK ]
Stopping hpssd: /etc/profile: line 285: export: `PATH###': not a valid identifier
[ OK ]
Starting hpiod: [ OK ]
Starting hpssd: [FAILED]
Note: You may have to restart the cupsd.
I tried to run hpssd manually by running /usr/share/hplip/ and it says:
# ./
Traceback (most recent call last):
File "./", line 50, in ?
from base import async, utils, database, status, pml, slp
File "/usr/share/hplip/base/", line 38, in ?
import device
File "/usr/share/hplip/base/", line 38, in ?
from prnt import pcl, ldl, cups
File "/usr/share/hplip/prnt/", line 38, in ?
import cupsext
ImportError: No module named cupsext
I guess it tries to load a file called and it can't find it. I searched in /usr but I can't find it. Am I missing something?


Wrong, there it is: /usr/lib/python2.4/site-packages/
Is this what it tries to load? Why it cant load it?

Last edited by gkiagia; 09-01-2005 at 09:04 AM.
Old 09-01-2005, 09:05 AM   #2
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
not sure about the particular "" location or purpose, however, here are some usefull CUPS commands:

service cups status

/etc/init.d/cupsys start

/etc/init.d/cupsys restart

Some more useful commands:
To show the accepting state of printers: lpstat -a
To show printers with their attached devices: lpstat -v
To list queued print jobs: lpstat -o
To cancel all print jobs: cancel -a Okipage8z
To cancel print job 37: cancel 37
To delete a printer: lpadmin -x Okipage8z
To view the CUPS log file: cat /var/log/cups/error_log

Old 09-01-2005, 09:26 AM   #3
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Original Poster
Rep: Reputation: 30
Well, I fixed it. I just copied from /usr/lib/python2.4/site-packages/ to /usr/share/hplip.
So simple!!!
Old 09-01-2005, 09:42 AM   #4
Registered: May 2002
Location: dracut MA
Distribution: Fedora, RHEL
Posts: 600

Rep: Reputation: 109Reputation: 109
I would remove the copied file, and put up a symlink. that way, after upgrades, you can still maintain interoperability.
Old 09-02-2005, 08:04 AM   #5
Registered: Oct 2003
Location: Greece
Distribution: Debian sid
Posts: 248

Original Poster
Rep: Reputation: 30
Hmm, that's right. I'll do it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hplip 0.9.3 problems on Slackware 10.1 jmp1prs Slackware 34 03-05-2006 01:43 AM
hplip have not worked :( mbt Linux - Hardware 2 12-03-2005 10:49 AM
Hplip thoyyib Linux - Hardware 1 12-01-2005 12:35 PM
HPLIP for hp usb all-in-one simcox1 Slackware 1 10-03-2005 12:44 AM
HPLIP toolbox zba78 Slackware 0 02-10-2005 05:25 AM

All times are GMT -5. The time now is 02:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration