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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux