Gnus can't open attachment

Bjoern Schiessle bes at schiessle.org
Tue Jul 15 13:14:03 UTC 2008


Nifty Cluster Mitch <niftyfedora at niftyegg.com> writes:
> Check your mime hooks and see if the bindings are still
> valid.    A pdf can be viewed with multiple tools as well
> so the default mime bindings in newer FC may find a dangling link
> or nothing at all.

I have no mailcap in my home directory and /etc/mailcap says:

application/pdf; /usr/bin/xdg-open %s

xdg-open works. I have tried it from the terminal with an existing PDF
on my hard disk. xdg-open starts evince and shows the PDF.

So the mime hook should be OK.

> If it is not obvious use a big hammer, fire up emacs with strace.
>
> 	strace -f -F -o /tmp/mytracelog gnus
>
> quickly try looking at one mail file and one attachment.
> Look for all the file operations including the stat() calls
> for files not found on your system.

The log says:

lstat("/tmp/emm.32836CK/.#fellowship_posters_4_2_pf.pdf", 0x7fff016bb970) = -1 ENOENT (No such file or directory)

so the problem seems to be that Gnus doesn't copy the file from the imap
server to the local /tmp directory before calling xdg-open on it.

best wishes,
Björn


-- 
Join the Fellowship and protect your freedom!     (http://fsfe.org/join)




More information about the fedora-list mailing list