搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 7 回覆
  • 1 有這個問題
  • 76 次檢視
  • 最近回覆由 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)

被選擇的解決方法

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. :)

從原來的回覆中察看解決方案 👍 0

所有回覆 (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

選擇的解決方法

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.

由 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 :)

由 hughmoz 於 修改