Firefox throw can't find temp file error
Till Smejkal
till.smejkal+muttusers at ossmail.de
Wed Aug 15 10:55:03 UTC 2018
On Mon, 13 Aug 2018, Francesco Ariis wrote:
> On Mon, Aug 13, 2018 at 08:22:59PM +0200, Matthias Apitz wrote:
> > Well, verifying the identity of an unknown person with some server over the
> > Inrernet is not very reliable, isn't it?
>
> Interesting but I suppose we should keep this OT.
>
> OP, I too have a similar problem: if I try to open a text/html
> attachment while firefox is running, I get a "File not found screen";
> every works ok (i.e. Fx gets launched and the attached html gets
> displayed) if firefox isn't running when I invoke `view-attach`.
I guess the difference and hence the problem is, that if firefox is already running,
the firefox process started via mailcap will actually not do anything except
signaling the main process to open the file. However, if firefox is not yet running,
the firefox process started via mailcap will become the main firefox process and
hence stay for some time. The problem is now, that mutt deletes the file ones the
started process exits. So there is a race condition now (firefox process signaling to
main ff-process which in turn opens the file vs. mutt deleting the file). You can
change your mailcap maybe so that it creates a copy of the file to show before
calling firefox.
Hope this helps.
Till
More information about the Mutt-users
mailing list