Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: mm view PDF MIME part doesn't work, just exits
Date: Tue, 15 Sep 2009 07:27:59 -0500	[thread overview]
Message-ID: <877hw01jg0.fsf@lifelogs.com> (raw)
In-Reply-To: <b4mhbv4xvv7.fsf@jpl.org>

On Tue, 15 Sep 2009 20:58:36 +0900 Katsumi Yamaoka <yamaoka@jpl.org> wrote: 

>>>>>> Ted Zlatanov wrote:
>> I debugged this down to mm-decode.el:mm-display-external which is a
>> pretty complicated process invoker.  The process sentinel gets process
>> status 'exit as soon as the process starts, and the `state' variable
>> says:

>> Displaying xpdf /tmp/emm.32715eef/KR090831.pdf...done (exited abnormally with code 1
>> )

KY> `mm-display-external' deletes a temp file 2 seconds after starting
KY> an external command.  The number of seconds is hard-coded, and may
KY> be too short.  How does it work if increasing the value?  That is
KY> in the 918th line.

I tried 2000 seconds, no difference.  I also changed the process call to:

		    (start-process "*display*"
				   (setq buffer
					 (generate-new-buffer " *mm*"))
				   shell-file-name
				   shell-command-switch "/usr/bin/xpdf /home/tzz/work/gdb-refcard.pdf")

which definitely works from the command line.  It still failed the same
way, "exited abnormally with code 1".  Maybe zsh is doing something
strange, but this was working fine until about a month ago so I'm not
sure what's causing it to fail.  Am I the only one seeing this problem?

Ted




  reply	other threads:[~2009-09-15 12:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27 13:15 Ted Zlatanov
2009-08-29 17:46 ` Mike Kupfer
2009-09-14 21:19   ` Ted Zlatanov
2009-09-15 11:58     ` Katsumi Yamaoka
2009-09-15 12:27       ` Ted Zlatanov [this message]
2009-09-15 23:57         ` Katsumi Yamaoka
2009-09-16 16:05           ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hw01jg0.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).