xfprint4 crashes: no printer dialog in Xubuntu/Xfprint4

Bug #54436 reported by Rainer Fischer
12
Affects Status Importance Assigned to Milestone
xfprint4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xubuntu-system-tools

On Fri, 2006-07-28 at 13:36 +0200, Rainer Fischer wrote:

> Nevertheless nothing happens on clicking
> "Print Dialog" in the accessories menu, and
> both printers are shown by name "unknown"
> in the "Print Manager" menu item.

FWLIW, I have my printer configed through CUPS and it prints nicely from Xfce and it's associated apps. This is on FC5 so that might be significant.

--

Boring Home Page - http://www.webtrek.com/joe
See my blog, sumo game ranks and other interesting junk

_______________________________________________

Xfce mailing list
<email address hidden>
http://foo-projects.org/mailman/listinfo/xfce

On Fri, 2006-07-28 at 15:26 +0200, Rainer Fischer wrote:

> Sorry, but I had been so happy to get the samba printing started that
> I totally forgot to answer your questions.
>
> Each time xfprint4 is invoked from a console (root or user) the
> messages are as follows (after bringing up the file dialog):

> (xfprint4:#job no.) Warning: failed request with status 1030 #4 times
> segmentation fault That should not occur (pointer set to something not
> allowed?)

[...]
> > Does it start and if not, what is the output (i.e. any error
> > messages, is it crashing with a segmentation fault)?
> >
> So it is. Please inform me, when the bug is being fixed.

 The above is very strongly pointing to an issue with Xubuntu and not Xfce. They built the packages wrong or something so if you could file a bug report with them then you would be informed when the bug is fixed.

The bug is most definitely not with the Xfce code.

--
Boring Home Page - http://www.webtrek.com/joe
See my blog, sumo game ranks and other interesting junk

=========================
#0 0x08050495 in print_dialog_get_type ()
#1 0xb7971c72 in g_object_thaw_notify () from /usr/lib/libgobject-2.0.so.0
#2 0xb7972115 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#3 0xb7972d10 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#4 0xb7972e4e in g_object_new () from /usr/lib/libgobject-2.0.so.0
#5 0x0805114e in print_dialog_new ()
#6 0x0804e36b in main ()
(gdb) bt
#0 0x08050495 in print_dialog_get_type ()
#1 0xb7971c72 in g_object_thaw_notify () from /usr/lib/libgobject-2.0.so.0
#2 0xb7972115 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#3 0xb7972d10 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#4 0xb7972e4e in g_object_new () from /usr/lib/libgobject-2.0.so.0
#5 0x0805114e in print_dialog_new ()
#6 0x0804e36b in main ()
(gdb)

Revision history for this message
Jani Monoses (jani) wrote :

please describe the problem and how to reproduce it in a few sentences, the original report is confusing. specify if you are on dapper or edgy. thanks

Revision history for this message
Rainer Fischer (raifi) wrote : Re: [Bug 54436] Re: No printer dialog in xubuntu/xfprint

Jani Monoses schrieb:
> please describe the problem and how to reproduce it in a few sentences,
>
On 2006-07-28 I wrote:
´... nothing happens on clicking
"Print Dialog" in the accessories menu,
and both printers are shown by name "unknown" in the "Print Manager"
menu item.

Nothing has changed upto now. Actual kernel
is 2.6.15-27-386 or -686.
Installed printers: 1. HP Deskjet 690C (local),
2. HP Laserjet 1100 (remote).
Both are working well.
Typing xfprint4 filename I receive the
warning "failed request with status 1030"
continuing until "Segmentation fault"
is reported.
J.-F. Wauthy (<email address hidden>) told me
on 2006-08-05 that all this is due to a bug
in cups, and it should b fixed by filling in the
ServerName directive in the client.conf file
in /etc/cups.
I am on dapper with xfce 4.3.90.2 Beta 1.
A client.conf file cannot be found anywhere.
In cups.d/ports.conf I read
 Listen localhost:631
 Listen /var/run/cups/cups.sock
and in browse.conf:
 Browsing on.

 Hope that helps.

Regards,

Rainer

> the original report is confusing. specify if you are on dapper or edgy.
> thanks
>
> ** Changed in: xubuntu-system-tools (Ubuntu)
> Sourcepackagename: xubuntu-system-tools => xfprint4
>
>

Revision history for this message
Jani Monoses (jani) wrote : Re: No printer dialog in xubuntu/xfprint

could you try setting ServerName in /etc/cups/cupsd.conf then and see if it solved your problem? (man cupsd.conf)

Revision history for this message
Rainer Fischer (raifi) wrote : Re: [Bug 54436] Re: No printer dialog in xubuntu/xfprint
Download full text (3.2 KiB)

On Thu, 05 Oct 2006 15:06:34 -0000, Jani Monoses wrote:

>could you try setting ServerName in /etc/cups/cupsd.conf then and see if
>it solved your problem? (man cupsd.conf)

I tried (see below), but nothing changed.
Enclosed you find my actual /etc/cups/cupsd.conf
(the last lines added by me upon your request):

Rainer

================= Attachment ==================
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel warning

# Administrator user group...
SystemGroup lpadmin

# Only listen for connections from the local machine.
# These settings are configured in /etc/cups/cups.d/ports.conf so that
# changing them does not require to change this file.
# Listen localhost:631
# Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
# The 'Browsing' setting is configured in /etc/cups/cups.d/browse.conf
# so that changing it does not require to change this file.
# Browsing Off
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order allow,deny
  Allow localhost
  Allow @LOCAL
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Allow localhost
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an adminstrator...
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-
Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an adminstrator to authenticate...
  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-
Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-
Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Include files in /etc/cups/conf.d
Include /etc/cups/cups.d/ports.conf
Include /etc/cups/cups.d/browse.conf
#ServerName directive added
#IIP address received by dhcp-server 192.168.178.1 (AVM Fritz!Box Fon WLAN 7170)
ServerName 192.168.178.23
# Hostname given by /etc/hosts
ServerName P300.wir
#
#

...

Read more...

Revision history for this message
Jani Monoses (jani) wrote : Re: No printer dialog in xubuntu/xfprint

does this happen in edgy?

Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Confirming this, I see many similar reports in other sites and at least one bug related to this (bug 41271).

Can you try to install the a2ps package and retrying ?

description: updated
Changed in xfprint4:
status: Unconfirmed → Confirmed
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi,

Any news on this?
Thanks.

Changed in xfprint4:
status: Confirmed → Incomplete
Revision history for this message
Rainer Fischer (raifi) wrote : Re: [Bug 54436] Re: xfprint4 crashes: no printer dialog in Xubuntu/Xfprint4

On Fri, 17 Aug 2007 19:24:01 -0000, Lionel Le Folgoc wrote:

>Hi,
>
>Any news on this?

No, all seems to work fine:
  SYSTEM --> PRINT JOBS
                   --> DIENSTE
                             PRINTER SERVICE (hplip)

Rainer

>Thanks.
>
>** Changed in: xfprint4 (Ubuntu)
> Status: Confirmed => Incomplete
>
>--
>xfprint4 crashes: no printer dialog in Xubuntu/Xfprint4
>https://bugs.launchpad.net/bugs/54436
>You received this bug notification because you are a direct subscriber
>of the bug.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Thanks for the feedback.

Changed in xfprint4:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.