Bug 193 - impossible to add printer
Summary: impossible to add printer
Status: RESOLVED DUPLICATE of bug 483
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-02-26 16:18 CET by David LUCAS
Modified: 2011-03-21 01:12 CET (History)
4 users (show)

See Also:
Source RPM: system-config-printer
CVE:
Status comment:


Attachments
messages logs from the issue (264 bytes, text/plain)
2011-02-26 16:20 CET, David LUCAS
Details
lines from /var/log/syslog pertinent to the printer setup problem (735 bytes, application/octet-stream)
2011-02-27 11:39 CET, Juergen Harms
Details
when locally usb connected (2.30 KB, text/plain)
2011-02-28 21:20 CET, David LUCAS
Details
s-c-p 1 (17.37 KB, image/png)
2011-03-02 01:33 CET, David LUCAS
Details
s-c-p 2 .. then the apps is freezing (18.47 KB, image/png)
2011-03-02 01:34 CET, David LUCAS
Details
Output from system-config-printer after calling it from a root console (62 bytes, application/octet-stream)
2011-03-02 12:14 CET, Juergen Harms
Details
output on console (4.47 KB, text/plain)
2011-03-17 17:46 CET, Fabian Wannenmacher
Details

Description David LUCAS 2011-02-26 16:18:07 CET
Description of problem:
When I try to add my printer which is connected to a box, system-config-printer is freezing while scanning mafreebox.Freebox.fr. Moreover, there is not many choice even if tas-printing is installed

Version-Release number of selected component (if applicable):
udev-165-1.mga1


How reproducible:
install task-printing, launch system-config-printer
add a  printer, wait 10 secs
TypeError: iter must be a GtkTreeIter on the console
Feb 26 16:13:30 localhost udev-configure-printer: Failed to get parent on messages

Steps to Reproduce:
1.install task-printing
2.launch system-config-printer
3.add a printer
4. wait 10 secs and you'll see the freeze


Comments:
Seems like the ubuntu bug #459648 

Hardware:
Printer HP Photosmart 7760 on a network server ( afreebox)

Reproducible: 

Steps to Reproduce:
Comment 1 David LUCAS 2011-02-26 16:20:16 CET
Created attachment 43 [details]
messages logs from the issue
Comment 2 Juergen Harms 2011-02-27 11:38:08 CET
Same problem here.

Looking at /var/log/syslog (see attachment) I suspected a firewall problem, and enabled port 161 (SNPM). After that, remote printers do configure automagically like a charm.

Is SNMP really necessary to support remote printers? If yes, SNMP should be automatically enabled in firewall, or there should at least be a checkbox in the setup window for the firewall.

CC: (none) => juergen.harms

Comment 3 Juergen Harms 2011-02-27 11:39:34 CET
Created attachment 51 [details]
lines from /var/log/syslog pertinent to the printer setup problem
Comment 4 David LUCAS 2011-02-27 12:09:04 CET
the same with desactivated  firewall.

Even pressing cancel does not allow me to cancel the task, I must press "close" from the panel

I mean, even if you make nothing after "add printer", the window will freeze with same syslogs:

Feb 27 12:03:31 localhost kernel: lp: driver loaded but no devices found
Feb 27 12:03:31 localhost kernel: ppdev: user-space parallel port driver
Feb 27 12:03:31 localhost udev-configure-printer: add /module/lp
Feb 27 12:03:31 localhost udev-configure-printer: Failed to get parent
Feb 27 12:03:35 localhost kernel: lp: driver loaded but no devices found
Feb 27 12:03:35 localhost udev-configure-printer: add /module/lp
Feb 27 12:03:35 localhost udev-configure-printer: Failed to get parent


shorewall, mandi and iptables are stopped.
Comment 5 Ahmad Samir 2011-02-28 18:10:11 CET
s-c-p 1.3 is available in the repos now, does the same issue happen after updating?

Keywords: (none) => NEEDINFO

Comment 6 David LUCAS 2011-02-28 19:56:40 CET
i'm waiting the updates, and I'll tell you asap
Comment 7 Juergen Harms 2011-02-28 21:02:20 CET
My comments were made with system-config-printer-1.3.1-3.mga1 (also ...-udev and ...-libs) already installed - I just checked: rpm says that the packages were installed Friday 25
Comment 8 David LUCAS 2011-02-28 21:20:00 CET
Created attachment 70 [details]
when locally usb connected
Comment 9 Magnus Rasche 2011-03-01 22:31:38 CET
No problems to add a printer to the print-server on my NAS-box (inside my home network)

Printer: Samsung ML-2010

"normal" installation without any changes to the settings.

I got it with the function "New printer" and the "Selected Device" was
network-printer --> windows-printer via samba

Then the Printer was found with following installation o the needed driver for the printer

CC: (none) => magnus.mud

Comment 10 David LUCAS 2011-03-02 01:32:35 CET
Well, I think , I should send snapshot of the system-config-printer, i don't have all these choices, jsut other por search a newtork printer
Comment 11 David LUCAS 2011-03-02 01:33:31 CET
Created attachment 73 [details]
s-c-p 1
Comment 12 David LUCAS 2011-03-02 01:34:07 CET
Created attachment 74 [details]
s-c-p 2 .. then the apps is freezing
Comment 13 David LUCAS 2011-03-02 01:41:45 CET
seeems to work now after installing task-scanning, but there is  another issue concerning the access
Comment 14 David LUCAS 2011-03-02 01:47:32 CET
In fact, the issue is matter only when s-c-p is launched from the mcc (and still present)
Comment 15 David LUCAS 2011-03-02 01:53:49 CET
Grrr, now, i reinstalled the packages (with a --urge to remove them) and the issue is present in every time
Comment 16 Juergen Harms 2011-03-02 12:12:25 CET
Yes, there is a reproducability problem - somehow, just insisting and trying several times, I had ended up with both printers correctly configured and working (the printer on the parallel port of a remote Mdv System and the network printer).

I now did:

- delete both printers using CUPS (browser on http://localhost:631)
- use MCC to add new printers
- that now always failed (I tried several times, including a re-boot) - I persistently have the printer-adding window of drakconf (resp. system-config-printer) immediately freeze.
- before each new try, I made sure that there are no dead system-config-printer processes hanging around


I tried another approach to get more information
- Call system-config-printer from a (root) console
- The initial window appears correctly
- Hit Add
- For a short while, the busy icon is animated (ca 1/2 second)
- The busy icon then stops, the page freezes and a series of error messages appear in the console window (where system-config_printer had been launched) - see attachment
Comment 17 Juergen Harms 2011-03-02 12:14:25 CET
Created attachment 75 [details]
Output from system-config-printer after calling it from a root console
Thierry Vignaud 2011-03-15 09:53:22 CET

Source RPM: udev-165-1.mga1 => system-config-printer

Comment 18 Fabian Wannenmacher 2011-03-17 17:46:59 CET
Created attachment 133 [details]
output on console
Comment 19 Fabian Wannenmacher 2011-03-17 17:52:39 CET
Here I have the same Problem when I try to add a Printer.
But there is onliy a local Printer (Epson Stylus D92) which is connected over USB.
Configure CUPS with my browser works.
On my console I get the same messages like Frank Griffin on Bug #403 (see attachment 133 [details]).
When I click on KWin-killer-helper "terminate system-config-printer.py" there is still a process:
# ps -ef |grep printer
root      9794  7577  1 16:39 pts/3    00:00:00 /usr/bin/python /usr/share/system-config-printer/system-config-printer.py --debug

CC: (none) => wannespam

Comment 20 D Morgan 2011-03-21 01:12:31 CET

*** This bug has been marked as a duplicate of bug 483 ***

Status: NEW => RESOLVED
CC: (none) => dmorganec
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.