This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

No more possible to open attached pdf files from Thunderbird Inbox.

  • 7 replies
  • 1 has this problem
  • 1 view
  • Paskiausią atsakymą parašė hughmoz

more options

Since some time I cannot open anymore an attached pdf file. I have no problem on opening files with other extensions like .jpg, docx, etc. When opening a pdf file I get an error message like : "Error opening file /tmp/mozilla_jan0/test.PDF: No such file or directory". When saving the file somewhere to my home directory, the pdf opens like expected.

Environment : OS = Ubuntu 16.04 READER = Document Viewer 3.30.0 MAIL = Thunderbird 60.2.1 (Attachment settings for pdf = ask always)

Since some time I cannot open anymore an attached pdf file. I have no problem on opening files with other extensions like .jpg, docx, etc. When opening a pdf file I get an error message like : "Error opening file /tmp/mozilla_jan0/test.PDF: No such file or directory". When saving the file somewhere to my home directory, the pdf opens like expected. Environment : OS = Ubuntu 16.04 READER = Document Viewer 3.30.0 MAIL = Thunderbird 60.2.1 (Attachment settings for pdf = ask always)

Chosen solution

Matt said

Go to the attachments tab in preferences and delete the entry there for handling PDF files.

I found that you had to change Preview in Attachments to open in Preview, rather than delete entry as, there is no way of deleting entry under incoming attachments. How the setting had changed by itself I have no idea, but it works properly now so thanks for heading me in the right direction. :)

Skaityti atsakymą kartu su kontekstu 👍 0

All Replies (7)

more options

Go to the attachments tab in preferences and delete the entry there for handling PDF files.

more options

After removing this entry in preferences the error on opening a pdf remains....

more options

Then it is not a Thunderbird issue. Thunderbird writes the file and passes the name to the operating system to open when there is no helper registered.

Here the issue is a missing file.

Where does your temp environment variable point to? I would expect the file to be in /tmp/test.PDF not /tmp/mozilla_jan0/test.PDF I really have no idea where this mozilla_jan0 sub folder is coming from.

more options

The issue is not a missing file as the file is present (for a while) in folder /tmp/mozilla_username0. The folder seems to be created by Mozilla and contains all attached files with any extension. There is no environment variable pointing to this folder. The issue seems to be the pdf reader who cannot read files outside the home folder. On the other side image apps, doc apps, etc have no problem to open and read their files in /tmp/mozilla_username0.

more options

Chosen Solution

Matt said

Go to the attachments tab in preferences and delete the entry there for handling PDF files.

I found that you had to change Preview in Attachments to open in Preview, rather than delete entry as, there is no way of deleting entry under incoming attachments. How the setting had changed by itself I have no idea, but it works properly now so thanks for heading me in the right direction. :)

more options

hughmoz said

Matt said
Go to the attachments tab in preferences and delete the entry there for handling PDF files.

I found that you had to change Preview in Attachments to open in Preview, rather than delete entry as, there is no way of deleting entry under incoming attachments. How the setting had changed by itself I have no idea, but it works properly now so thanks for heading me in the right direction. :)

Pleased you found your solution. But deleting is as simple as selecting the entry and using the key on your keyboard marked with the word Delete.

Modified by Matt

more options

I thought that you could not delete in that box as, if you right click on it there are no choices given, however, I tried highlighting it and then back-spacing and it did delete, and it still works so, you are correct. However, not everyone will realise that you can delete it unless you explain the process completely. It's just as quick to put preview in the drop-down menu under Preview in that attachments box :)

Modified by hughmoz