[Bug 33173] kdeprint can not contact cups

Raphaƫl Pinson raphink at ubuntu.com
Wed Mar 1 21:33:08 UTC 2006


Public bug report changed:
https://launchpad.net/malone/bugs/33173

Comment:
I think this cannot be linked to a bug reported against gnome-cups-
manager. I've got the KDE bug here, but gnome-cups-manager works fine.

This bug exists in Kubuntu Dapper Flight 4 CD, so it is due to a bug
that existed before its release (Feb 17th).

I found the message displayed by kdeprint (or kprinter, too) in the
kdelibs package, in kdelibs-3.5.1/kdeprint/cups/kmcupsmanager.cpp, on
line 978 , it says :

	setErrorMsg( i18n( "Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. "
				"Error: %1." ).arg( errcode == QSocket::ErrConnectionRefused ? i18n( "connection refused" ) : i18n( "host not found" ) ) );


This is part of the KMCupsManager::slotConnectionFailed( int errcode ) function and only called by KMCupsManager::checkUpdatePossibleInternal() on line 926 :

	m_socket = new QSocket( this );
	connect( m_socket, SIGNAL( connected() ), SLOT( slotConnectionSuccess() ) );
	connect( m_socket, SIGNAL( error( int ) ), SLOT( slotConnectionFailed( int ) ) );




More information about the kubuntu-bugs mailing list