Re: Gnus can't open attachment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nifty Cluster Mitch <niftyfedora@xxxxxxxxxxxx> 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)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux