Discussion:
Firefox throw can't find temp file error
d***@gmail.com
2018-08-13 09:55:58 UTC
Permalink
Hi

I've noticed recently after i've finished in mutt Firefox has a tab open with an error saying it cant find a temp file that mutt sent it.

Any ideas?
--
regards.....

Dekks Herton

Thinkpad T61 2.0Ghz 2GB WSXGA+

Jabber IM: ***@jabber.hot-chilli.net
David Woodfall
2018-08-13 11:34:08 UTC
Permalink
On Monday 13 August 2018 10:55,
Post by d***@gmail.com
Hi
I've noticed recently after i've finished in mutt Firefox has a tab open with an error saying it cant find a temp file that mutt sent it.
Any ideas?
What do you have in you ~/.mailcap?

-Dave

PS:

Do you have your key on a keyserver somewhere? I got a huge 30 sec
delay opening this because I only have keys.gnupg.net set as
keyserver. Not sure if there more popular ones these days?

I've changed the verify timeout from the default 30 seconds to a
more reasonable 5 now.

--

.--. oo
(____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
Matthias Apitz
2018-08-13 11:46:38 UTC
Permalink
El día Monday, August 13, 2018 a las 12:34:08PM +0100, David Woodfall escribió:

...
Post by David Woodfall
Do you have your key on a keyserver somewhere? I got a huge 30 sec
delay opening this because I only have keys.gnupg.net set as
keyserver. Not sure if there more popular ones these days?
Dave, do you verify gnuPG keys/signs on the fly? Is this secure?
Thx

matthias
--
Matthias Apitz, ✉ ***@unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
13. August 2018: Manchmal möchte ich nun einen AUSREISEANTRAG stellen.
August 13, 2018: Sometimes I'd like to ask for an exit permission now.
David Woodfall
2018-08-13 16:59:38 UTC
Permalink
On Monday 13 August 2018 13:46,
Post by Matthias Apitz
...
Post by David Woodfall
Do you have your key on a keyserver somewhere? I got a huge 30 sec
delay opening this because I only have keys.gnupg.net set as
keyserver. Not sure if there more popular ones these days?
Dave, do you verify gnuPG keys/signs on the fly? Is this secure?
Thx
Mutt does it automatically. I don't know why it wouldn't be secure.

--

'Ooohh.. "FreeBSD is faster over loopback, when compared to Linux
over the wire". Film at 11.'
-- Linus Torvalds

.--. oo
(____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
Matthias Apitz
2018-08-13 18:22:59 UTC
Permalink
On Monday, 13 August 2018 18:59:38 CEST, David Woodfall
Post by David Woodfall
On Monday 13 August 2018 13:46,
Post by Matthias Apitz
El día Monday, August 13, 2018 a las 12:34:08PM +0100, David
...
Post by David Woodfall
Do you have your key on a keyserver somewhere? I got a huge 30 sec
delay opening this because I only have keys.gnupg.net set as
keyserver. Not sure if there more popular ones these days?
Dave, do you verify gnuPG keys/signs on the fly? Is this secure?
Thx
Mutt does it automatically. I don't know why it wouldn't be secure.
Well, verifying the identity of an unknown person with some server over the
Inrernet is not very reliable, isn't it?
--
Sent from my Ubuntu phone
http://www.unixarea.de/
Francesco Ariis
2018-08-13 18:40:38 UTC
Permalink
Post by Matthias Apitz
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`.
d***@gmail.com
2018-08-17 09:56:28 UTC
Permalink
Post by David Woodfall
On Monday 13 August 2018 10:55,
Post by d***@gmail.com
Hi
I've noticed recently after i've finished in mutt Firefox has a tab open with an error saying it cant find a temp file that mutt sent it.
Any ideas?
What do you have in you ~/.mailcap?
Absolutely nothing, i copied this mutt setup from another, must have missed the mailcap file. Guess it defaults to FF via xdg. Copied it across now - so wll see how this goes.
Thanks all for the comments and advice.
Post by David Woodfall
-Dave
Do you have your key on a keyserver somewhere? I got a huge 30 sec
delay opening this because I only have keys.gnupg.net set as
keyserver. Not sure if there more popular ones these days?
I've changed the verify timeout from the default 30 seconds to a
more reasonable 5 now.
no
--
regards.....

Dekks Herton

Thinkpad T61 2.0Ghz 2GB WSXGA+

Jabber IM: ***@jabber.hot-chilli.net
Till Smejkal
2018-08-15 10:55:03 UTC
Permalink
Post by Francesco Ariis
Post by Matthias Apitz
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
Francesco Ariis
2018-08-15 11:23:43 UTC
Permalink
Hello Till,
Post by Till Smejkal
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.
It does help indeed! Not sure if mailcap handles copy+open, I'll check
now
-F
Francesco Ariis
2018-08-15 16:39:09 UTC
Permalink
You can change your mailcap maybe so that it creates a copy of the file
to show before calling firefox.
Copying to /tmp and then open it worked like a charm, thanks again!
Loading...