From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Edward Lilley Newsgroups: gmane.emacs.help Subject: Re: Doc-view failing to generate image Date: Mon, 29 Oct 2012 11:25:40 +0000 Message-ID: References: <87a9v5sh1k.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1351509973 27362 80.91.229.3 (29 Oct 2012 11:26:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2012 11:26:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 12:26:22 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TSnU5-0008Ni-F9 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 12:26:21 +0100 Original-Received: from localhost ([::1]:51562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSnTx-0006CO-9x for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2012 07:26:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSnTo-0006B3-Sz for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 07:26:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSnTi-00004z-P9 for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 07:26:04 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSnTi-0008WV-IG for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 07:25:58 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TSnTl-00080V-N5 for help-gnu-emacs@gnu.org; Mon, 29 Oct 2012 12:26:01 +0100 Original-Received: from delta.chu.cam.ac.uk ([131.111.202.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Oct 2012 12:26:01 +0100 Original-Received: from ejlilley by delta.chu.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Oct 2012 12:26:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: delta.chu.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:kNcprWySZlekB2ohFr0ryQ2Fcr0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87481 Archived-At: Tassilo Horn writes: > Edward Lilley writes: > > Hi Edward, > >> I'm getting a funny error when trying to open (simple C-x C-f) PDF >> files in doc-view mode. The png appears in /tmp/docview500/foo, but >> then the image doesn't actually appear in the buffer -- and then >> *Messages* shows the error: >> >> ImageMagick error: NoDecodeDelegateForThisImageFormat >> \ >> /tmp/docview500/obsmltest.pdf-07534b262c8761286817c76762acef2c/page-1.png' >> \ @ error/constitute.c/ReadImage/550 [2 times] >> >> (line breaks added) >> >> ...which is a bit baffling. > > It seems your ImageMagick hasn't been compiled with PNG support. Does > > $ identify -list format > > include PNG with mode "rw-"? Also, > > $ identify -list configure > > should include --with-png in CONFIGURE and png in DELEGATES. Hi, thanks for the response. It actually seems I've fixed it with a package update & relaunching emacs -- I think an update of ImageMagick (or similar) while emacs was running confused it somehow. > What distro are you using? (for the record: I'm using Arch -- perhaps more prone to these strange mix-ups!) > Bye, > Tassilo > thanks, Edward