Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does export anymore #669

Open
lili36 opened this issue Dec 28, 2024 · 15 comments
Open

does export anymore #669

lili36 opened this issue Dec 28, 2024 · 15 comments

Comments

@lili36
Copy link

lili36 commented Dec 28, 2024

Hello !

I didn't try for a while, but wanted to export mails today : text, html, eml, whatever, it doens't work :
The windows open to say where I want to save things, as usual, then... nothing.

No expot message, no error either, and no file in the folder.

I am on 115.16.0esr thunderbird (probably last version since updated are automatics)
Linux Mint system.

@cleidigh
Copy link
Collaborator

@lili36
Can you check the debug console for errors?
Also, is this a Thunderbird snap install?
I have had several reports of issues with the snap methods.
@cleidigh

@lili36
Copy link
Author

lili36 commented Dec 31, 2024

Thanks @cleidigh : how do I check the debug console ?
No it is a .deb install

@cleidigh
Copy link
Collaborator

cleidigh commented Jan 3, 2025

@lili36
Use Shift Control J to get the debug console.
Then attempt export.
Go back to the console, right click, select all, copy and paste here.
@cleidigh

@lili36
Copy link
Author

lili36 commented Feb 5, 2025

Hello @cleidigh , I am not sure which part, I have a lot of lines !
Restarting thunderbird oftne works.
I got the last 2 coming back often :

tb.ui.interaction.message_display - The key length must be limited to 72 characters.
TypeError: this.currentAbout3Pane is null

@cleidigh
Copy link
Collaborator

cleidigh commented Feb 5, 2025

@lili36
v14.1.5 was released yesterday so you should make sure you are updated.
If you are still having the problem the best way to capture the debug is the following:

  • open console
  • clear with trash icon
  • do export
  • back to console
  • right click, save all to file
  • post file here

@cleidigh

@lili36
Copy link
Author

lili36 commented Feb 9, 2025

@cleidigh I get thoses 2 lines, same issue as before, and yes I am with the v14.1.5

tb.ui.interaction.message_display - The key length must be limited to 72 characters.
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.createUnique] exportTools.js:1578

No error is displayed, but if a file like,that fail, nothing happen...

Here, only 9 on 47 files where exported, this is dangerous without a warning.

Export is html + attachment.

@lili36
Copy link
Author

lili36 commented Feb 9, 2025

@cleidigh I tried again with an other reportory, and it says "successfully exported" but then I see html are broken with missing images...

console says :
tb.ui.interaction.message_display - The key length must be limited to 72 characters.
1739137028239 addons.xpi-utils WARN Add-on {847b3a00-7ab1-11d4-8f02-006008948af5} is not compatible with application version.
1739137028247 addons.xpi-utils WARN Add-on [email protected] is not compatible with application version.
1739137028258 addons.xpi-utils WARN Add-on {847b3a00-7ab1-11d4-8f02-006008948af5} is not compatible with application version.
1739137028258 addons.xpi-utils WARN Add-on [email protected] is not compatible with application version.
1739137028592 addons.update-checker WARN onUpdateCheckComplete failed to parse update manifest: [Exception... "Update manifest is missing a required addons property." nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/addons/AddonUpdateChecker.sys.mjs :: getRequiredProperty :: line 120" data: no] Stack trace: getRequiredProperty()@resource://gre/modules/addons/AddonUpdateChecker.sys.mjs:120
parseJSONManifest()@resource://gre/modules/addons/AddonUpdateChecker.sys.mjs:136
onLoad()@resource://gre/modules/addons/AddonUpdateChecker.sys.mjs:315
UpdateParser/<()@resource://gre/modules/addons/AddonUpdateChecker.sys.mjs:258

@lili36
Copy link
Author

lili36 commented Feb 9, 2025

trying again unchecking "export as shown is message panel I get
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIFile.createUnique] exportTools.js:1578
onStopRequest chrome://mboximport/content/mboximport/exportTools.js:1578
onStopRequest resource:///modules/gloda/MimeMessage.jsm:110

@lili36
Copy link
Author

lili36 commented Feb 9, 2025

also since we discuss that : display of attachment in html is not good in code, it is often too low and not well displayed, and code is dirty :
we get
<ul><li><a href="blabla">blabla</li></a></ul>
instead of
<ul><li><a href="blabla">blabla</a></li></ul>

@cleidigh

(I am trying again and again and trying the same thing I know get the attachment linked (else, I guess it is because it was not loaded ?) but only half of the content of the message, while before I had the full content of the message but no attachment)
I could passe those mails maybe in private.

First I get full message and no link but
<fieldset class="moz-mime-attachment-header moz-print-only"><legend class="moz-mime-attachment-headerName moz-print-only">Pièces jointes :</legend></fieldset><div class="moz-mime-attachment-wrap moz-print-only"><table class="moz-mime-attachment-table"><tr><td class="moz-mime-attachment-file">

Then message is half lost but I get the link.
Also link is ALWAYS under the field, because after th fieldset I guess. (link is after the frame where it is supposed to be ?)

@cleidigh
Copy link
Collaborator

cleidigh commented Feb 9, 2025

@lili36
Sorry you are having trouble.
There does appear to be some mime/attachment issues according to your posts. And yes it doesn't help that errors are not exposed. I'm trying to do a complete rewrite of this very old code, but I keep getting bogged down with the old :-(

I think it would help if I had the messages that are causing you problems. I can also use them to see if I can expose such errors.
You can send to
[email protected]

@cleidigh

@cleidigh
Copy link
Collaborator

cleidigh commented Feb 9, 2025

@lili36
Best way is to send set of eml messages.

@lili36
Copy link
Author

lili36 commented Feb 10, 2025

@cleidigh I sent some example.
By the way, I prefer the presentation of mozilla according to attachments, if you can do that ?
Also keeping possibility to have it displayed in the message.

In my examples, the issue is probably that those mails have attachments IN the message, so issue is you stop there sometimes.

@cleidigh
Copy link
Collaborator

@lili36
I didn't get a working eml from you. The text of what should be an eml does not import to Thunderbird using just opening from explorer.
Export the message to eml and send that to me as an attachment.

@cleidigh

@lili36
Copy link
Author

lili36 commented Feb 10, 2025

@cleidigh That is what I first did, but my mail got rejected as .eml attachments are not allowed... So I copy-pasted the source of it.

@cleidigh
Copy link
Collaborator

@lili36
ok, but when I open that with Thunderbird directly, no ietng involved, I get a part boundary showing that there was some kind of content error.
What does this message look like in your Thunderbird?
Try saving with File/Save as/File
then zip with password and post here and send me password to test account.
@cleidigh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants