You are not logged in.

#1 2009-04-29 11:54:54

Solid1986Snake
Member
Registered: 2007-06-18
Posts: 258

Cups/hplip Segfaulting

HI boys'n girlz,

My problem in conclusion: i can't set any printer-options from any of my hp printers!

Description:

1.) Cups is starting up normally and i can go to cups interface. When I go to printers tab and try to click "modify printer options" nothing happens, i can't just go to this page!

2.) Trying hp-toolbox for changing settings... i can load hp-toolbox normally and click on all of my printer tabs, except of "printer-settings" tab... hp-toolbox is just segfaulting hmm

3.) I can't look at printer options from any location (for example from okular)

First I thought it was a problem of latest hplip, i compiled an older version and tested it, but no difference.... removed cups completly and installed again, no change, too.

Maybe its some permission problem, etc? My user is in group "lp" and I tried set up an extra group for print-admins, which made no difference!

Someone's an idea? I don't really know where I could look further.

Greetz solid

Offline

#2 2009-04-30 08:50:37

Solid1986Snake
Member
Registered: 2007-06-18
Posts: 258

Re: Cups/hplip Segfaulting

A little push

Offline

#3 2009-04-30 09:05:00

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Cups/hplip Segfaulting

This is hard to tell. It works here.

Just to find a way in: Is this a first install? Or did you have set up a Cups interface already and quit functioning (there were a couple of Cups-related updates lately)?


To know or not to know ...
... the questions remain forever.

Offline

#4 2009-04-30 09:09:31

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Cups/hplip Segfaulting

Same problem here. I test-ran fedora 11 yesterday and the solution there was
to install hplip-gui + libsane-hpaio. Not much help here though.

If I make a breakthrough, I'll report back.

Deej

Offline

#5 2009-04-30 10:00:15

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Cups/hplip Segfaulting

Re-compiled hplip from ABS and still no joy.
Installed dbus-python; still no joy.
Ran 'qt3config' to populate 'qt_plugins_3.3rc'; didn't populate it
and still no joy.

Here's the output I get:

error: Unable to load dbus - Automatic status updates in HPLIP Device Manager will be disabled.
QSettings: failed to open file '/home/deej/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
QSettings: failed to open file '/home/deej/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
QSettings: failed to open file '/home/deej/.qt/qt_plugins_3.3rc'
QSettings::sync: filename is null/empty
error: Unable to communicate with device (code=12): hp:/usb/DeskJet_845C?serial=TH1861B8V4SX
warning: Device not found
Segmentation fault

Deej

Offline

#6 2009-04-30 10:16:29

ulis
Member
Registered: 2009-04-29
Posts: 7

Re: Cups/hplip Segfaulting

Solid1986Snake

My problem in conclusion: i can't set any printer-options from any of my hp printers!

Same problem
In  /etc/hosts add
+> ::1 localhost.localdomain localhost arch(you'r  host)
In /etc/cups/cupsd.conf add
Listen localhost:631
+> HostNameLookups Double

sudo /etc/rc.d/cups restart

Last edited by ulis (2009-04-30 10:19:21)

Offline

#7 2009-04-30 11:22:42

deej
Member
Registered: 2008-02-08
Posts: 395

Re: Cups/hplip Segfaulting

That's done the trick, nice one ulis !

Deej

Offline

#8 2009-04-30 12:01:56

Solid1986Snake
Member
Registered: 2007-06-18
Posts: 258

Re: Cups/hplip Segfaulting

Yes man, you are the man, man wink

Print settings in hplip are working again now, too.

But, i do not really understand what was the problem... can you explain it somehow?

Offline

#9 2009-04-30 15:41:56

ulis
Member
Registered: 2009-04-29
Posts: 7

Re: Cups/hplip Segfaulting

I found a simple solution to this problem
I think a more correct

sudo mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.bak
sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
sudo /etc/rc.d/cups restart

http://bugs.archlinux.org/task/14421

Last edited by ulis (2009-04-30 15:46:59)

Offline

#10 2009-04-30 21:59:21

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Cups/hplip Segfaulting

Solid1986Snake wrote:

Yes man, you are the man, man wink

Print settings in hplip are working again now, too.

But, i do not really understand what was the problem... can you explain it somehow?

To make it short: Cups seems to default to IPv6 since some recent update. Thus you must enable access to IPv6 style addresses instead of IPv4. The patch does just this.

Copying cupsd.conf.default over cupsd.conf has a similar effect.


To know or not to know ...
... the questions remain forever.

Offline

#11 2009-05-01 08:07:51

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Cups/hplip Segfaulting

You may add such hints to our cups wiki page wink

Offline

#12 2009-08-04 14:49:19

vinoman2
Member
From: Portland Oregon
Registered: 2009-05-21
Posts: 236
Website

Re: Cups/hplip Segfaulting

I have just set up hplip and cups and I can't install hplip-gui . says not in db. I have HP device manger listed but it doesn't open. what's missing?

Offline

Board footer

Powered by FluxBB