← Back to team overview

desktop-packages team mailing list archive

[Bug 1404645] Re: Evince opens attached PDF file as locked

 

Launchpad has imported 1 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=88151.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2015-01-07T11:23:40+00:00 madbiologist wrote:

Created attachment 111902
PDF file

Originally reported on Ubuntu Vivid as
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1404645 using
poppler 0.28.1

Evince 3.14.1-0ubuntu1 (which uses poppler as it's renderer) prompts for
a password when opening the attached file.  Adobe Reader and Firefox
34's built-in PDF viewer can open the file.

The file has been created by a professor and is about Java programming.

Renaming the file to script.pdf and attempting to convert the file with
ghostscript 9.10 via this command:

gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf
-c .setpdfwrite -f script.pdf

gives this warning:

**** This file uses an unknown standard security handler revision: 6
Error: /undefined in pdf_check_password
<snip>
GPL Ghostscript 9.10: Unrecoverable error, exit code 1

Ghostscript 9.15 now supports the PDF security handler revision 6 - see
http://www.ghostscript.com/doc/9.15/News.htm

Perhaps you can reuse the new ghostscript code?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1404645/comments/6


** Changed in: poppler
       Status: Unknown => Confirmed

** Changed in: poppler
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/1404645

Title:
  Evince opens attached PDF file as locked

Status in Poppler:
  Confirmed
Status in evince package in Ubuntu:
  Triaged

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu Vivid Vervet (development branch)
  Release:	15.04

  2) apt-cache policy evince libcairo2 libpoppler[0-9]
  evince:
    Installed: 3.14.1-0ubuntu1
    Candidate: 3.14.1-0ubuntu1
    Version table:
   *** 3.14.1-0ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status
  libcairo2:
    Installed: 1.13.0~20140204-0ubuntu1
    Candidate: 1.13.0~20140204-0ubuntu1
    Version table:
   *** 1.13.0~20140204-0ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status
  libpoppler47:
    Installed: 0.28.1-1ubuntu1
    Candidate: 0.28.1-1ubuntu1
    Version table:
   *** 0.28.1-1ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  3) What is expected to happen via
  https://launchpadlibrarian.net/193158556/1%CE%B7%20%CE%94%CE%B9%CE%AC%CE%BB%CE%B5%CE%BE%CE%B7.pdf
  is it opens successfully, just as it does in Adobe Reader.

  4) What happens instead is it prompts for a password. This was first
  reported against Ubuntu 14.04.1, Evince 3.10.3-0ubuntu10.1.

  WORKAROUND: Open with Firefox's built-in PDF viewer:
  apt-cache policy firefox
  firefox:
    Installed: 34.0+build2-0ubuntu0.14.04.1
    Candidate: 34.0+build2-0ubuntu0.14.04.1
    Version table:
   *** 34.0+build2-0ubuntu0.14.04.1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
          100 /var/lib/dpkg/status
       28.0+build2-0ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: evince 3.10.3-0ubuntu10.1
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Dec 21 14:00:07 2014
  InstallationDate: Installed on 2014-12-11 (9 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  KernLog:

  ProcEnviron:
   LANGUAGE=el
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=el_GR.UTF-8
   SHELL=/bin/bash
  SourcePackage: evince
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/poppler/+bug/1404645/+subscriptions


References