Bug 706948 - evince does not print under Fedora 15
Summary: evince does not print under Fedora 15
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: evince
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-23 14:58 UTC by Domingo Becker
Modified: 2012-05-21 11:59 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-21 11:59:33 UTC
Type: ---


Attachments (Terms of Use)

Description Domingo Becker 2011-05-23 14:58:03 UTC
Description of problem:
Evince does not print under Fedora 15 RC3.
Other applications print correctly.
Tested with 3 different computers and printers, all of them with F15.

Version-Release number of selected component (if applicable):
evince-3.0.0-1.fc15.i686

How reproducible:
always

Steps to Reproduce:
1. Open evince
2. open a pdf file
3. File->print on any connected printer.
  
Actual results:
It doesn't print and no messages at all in /var/log/messages and /var/log/cups/error_log

Comment 1 flexmaschie 2011-06-01 12:53:15 UTC
I can confirm this.
Evince still doesn't print under Fedora 15 (Final release)

evince-3.0.0-1.fc15.i686

Same behaviour as described above.

> How reproducible:
> always
> 
> Steps to Reproduce:
> 1. Open evince
> 2. open a pdf file
> 3. File->print on any connected printer.
> 
> Actual results:
> It doesn't print and no messages at all in /var/log/messages and
> /var/log/cups/error_log

Adobe Reader prints just fine.

Although evince prints fine, by opening it as root.

Comment 2 luimarma 2011-07-04 22:12:10 UTC
Seems related to language translation. Running "evince doc.pdf" from terminal of user "juan" that does use spanish language then you cannot print nor access the evince preview window. But if from termianl of user juan you then do a "su - juan" and then run "evince doc.pdf" the default spanish language is overridden and you can access the preview window and also print.
It is also interesting that "evince-viewer dos.pdf" does normally open the preview window and allows the printing without the need of doing the "su - juan" trick.

Comment 3 luimarma 2011-07-04 22:31:54 UTC
Indeed a language pack problem. If you copy /usr/share/locale/en_GB/LC_MESSAGES/evince.mo to your non working language, for example /usr/share/locale/es/LC_MESSAGE/evince.mo then the printing and preview are working, but of course your language labels in evince are changed to English.
Some languages work like English, some many others not like Spanish and Catalan.

Comment 4 Tim Niemueller 2011-07-05 08:09:45 UTC
My language is set to German, so that's broken as well.

Comment 5 Tim Niemueller 2011-07-05 09:57:02 UTC
It seems to be more than just the language file. Neither copying the file nor setting LANG=C before running evince fixed the problem. I made sure that no evince instance was running and killed evinced.

When printing the printer LED starts blinking (HP LaserJet 4200, Postscript driver), but then stops without actually printing the document. The CUPS instances on both my laptop, and the central print server (CentOS 5.5), claim success on the print job.  So I suspect that there is something wrong with preparing the print job.

Raising severity as printing is about 50% of the PDF viewer's job.

Comment 6 antonio montagnani 2011-07-08 19:55:48 UTC
Same here, language is Italian

Comment 7 Christoph Wickert 2011-07-09 19:50:11 UTC
I have the same problem with epdfview. It sends a printjob to the printer, however nothing is actually printed. No errors.

Comment 8 luimarma 2011-07-11 07:44:54 UTC
I think that your printer related problem is a separate problem from evince problem related here.
The described problem solves copying a working language i.e. "/usr/share/locale/en_GB/LC_MESSAGES/evince.mo" to your default user language, in my case "/usr/share/locale/es/LC_MESSAGES/evince.mo"

Comment 9 Christoph Wickert 2011-07-11 07:54:59 UTC
(In reply to comment #8)
> I think that your printer related problem is a separate problem from evince
> problem related here.

Indeed, it was false alarm. Sorry, please completely ignore my comment 7.

Comment 10 antonio montagnani 2011-07-26 12:36:01 UTC
If I change resolution of printer from 300 dpi to 600 dpi, evince prints.

What is wrong??

Comment 11 Domingo Becker 2011-07-26 16:16:19 UTC
(In reply to comment #3)
> Indeed a language pack problem. If you copy
> /usr/share/locale/en_GB/LC_MESSAGES/evince.mo to your non working language, for
> example /usr/share/locale/es/LC_MESSAGE/evince.mo then the printing and preview
> are working, but of course your language labels in evince are changed to
> English.

It works if I copy the .mo files like you say.

Where are the evince.pot and the es.po file to fix it?

I'm the Fedora Spanish Translation Team coordinator, and I may take a look at the es.po file.

thanks and kind regards

Domingo Becker

Comment 12 Stephen Haffly 2012-03-17 16:39:13 UTC
Please see this report:

https://bugzilla.redhat.com/show_bug.cgi?id=804304

Also, reference:

https://bugzilla.redhat.com/show_bug.cgi?id=748523

The issue may be an SELINUX problem.

Comment 13 Stephen Haffly 2012-03-17 16:46:09 UTC
These messages also appeared in the terminal from which I had started evince.

#evince

(evince:3979): Gtk-WARNING **: gtkcontainer.c:919: container class `GtkScrolledWindow' has no child property named `top-attach'

(evince:3979): Gtk-WARNING **: gtkcontainer.c:919: container class `GtkScrolledWindow' has no child property named `top-attach'

(evince:3979): Gtk-WARNING **: gtkcontainer.c:919: container class `GtkScrolledWindow' has no child property named `top-attach'

** (evince:3979): WARNING **: failed to get find a colord device: Failed to FindDeviceById: GDBus.Error:org.freedesktop.ColorManager.Failed: device id 'cups-HP-Officejet-Pro-8500-A910' does not exists

I don't know if this is relevant to the problem or not, but it can't hurt to provide it.

Comment 14 Domingo Becker 2012-05-21 11:59:33 UTC
Evince is actually printing well under Fedora 15 x86_64 (evince-3.0.2-1.fc15.x86_64).

It also prints well under Fedora 16 x86_64 (evince-3.2.1-2.fc16.x86_64).

Both of them in Spanish.

It seems the problem was fixed.


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