evince won't print dvi file, unable to exectue dvipdfm (permission denied)

Bug #570955 reported by John B.
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: evince

I can't print dvi files from evince in Lucid. PDF's print fine. When I run evince from the command line, I get an error stating that it couldn't execute the child process dvipdfm as permission was denied. This looks very similar to Bug #452057, though I can't say for sure.

https://bugs.launchpad.net/ubuntu/+source/evince/+bug/452057

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evince 2.30.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
CheckboxSubmission: 31373b5cefdcce7f55f615e22579ffc5
CheckboxSystem: e67a94cfc3c9f04f56e516dcb90ebfa5
Date: Tue Apr 27 17:14:59 2010
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: evince

Related branches

Revision history for this message
John B. (jbuncher) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information. Please include the information requested at https://wiki.ubuntu.com/DebuggingPrintingProblems as separate attachments.

Changed in evince (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Søren Bredlund Caspersen (soeren-b-c) wrote :

I get the same error. From my terminal when trying to print a .dvi:

** (evince:3449): WARNING **: Error: Failed to execute child process "dvipdfm" (Permission denied)

Changed in evince (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kenrick Bingham (loxo) wrote :

It looks like adding the line

  /usr/bin/dvipdfmx Ux,

into /etc/apparmor.d/abstractions/evince and doing

     sudo /etc/init.d/apparmor reload

fixed the problem for me. I don't know almost anything about AppArmor, and don't know if this breaks more than it fixes. :-)
Got my inspiration from https://bugs.launchpad.net/ubuntu/+source/evince/+bug/452057/comments/7 .

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evince - 2.30.3-1ubuntu4

---------------
evince (2.30.3-1ubuntu4) maverick; urgency=low

  * debian/control*: Build-Depends on debhelper >= 7.4.20ubuntu5
  * debian/rules: adjust for dh_apparmor
  * debian/evince-common.post*: remove AppArmor rules and just use debhelper
  * debian/apparmor-profile.abstraction:
    - use dbus-session abstraction instead of dbus
    - use /usr/bin/dvipdfmx for DVI printing (LP: #570955)
 -- Jamie Strandboge <email address hidden> Fri, 06 Aug 2010 07:09:38 -0500

Changed in evince (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Jérémie Bouttier (bouttier+launchpad) wrote :

Could the fix be backported to Lucid ?

Revision history for this message
normandrobert (sub1) wrote :

Lucid is an LTS release and thus it would be nice to see this fixed there as well

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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