import-export-tools-ng icon indicating copy to clipboard operation
import-export-tools-ng copied to clipboard

freeze and kill TB when I use "search and export"

Open aribbada opened this issue 2 years ago • 39 comments

Big problem with latest addon update, freeze and kill TB when I use "search and export" and select export ALL as single text file

aribbada avatar Jun 05 '23 06:06 aribbada

Thunderbird freezes even when doing search & export not as a single text file.

metaist avatar Jun 05 '23 14:06 metaist

FYI - Other folks seem to be having this situation (see #412).

metaist avatar Jun 05 '23 14:06 metaist

Yes, you're right. Me I used only to export all mails as a single text file from "search and export" option.

aribbada avatar Jun 05 '23 14:06 aribbada

@aribbada @metaist Sorry for the issues all. Quick questions before I dig into this. OS and Thunderbird versions. Also does downgrading to 12.0.2 restore functionality? There have been several TB updates and just want to see if that's potentially an issue. @cleidigh

cleidigh avatar Jun 05 '23 18:06 cleidigh

I use TB version 102.11.2 (32-bit) on: win 10, win 8.1 and win server 2022 (64-bit). Same TB version and got same problem with all OS.

aribbada avatar Jun 05 '23 18:06 aribbada

$ uname -a
Linux muon 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ thunderbird --version
 Thunderbird 102.11.0

Downgrading to 12.0.2 restores functionality.

metaist avatar Jun 05 '23 18:06 metaist

And yes, downgrading to 12.0.2 restores functionality.

aribbada avatar Jun 05 '23 18:06 aribbada

@metaist @aribbada Thanks, so not os or TB dependent. My virtual folder fix must have interference. I am working on related change requirements for TB 115, I will take a break to look at these. @cleidigh

cleidigh avatar Jun 05 '23 18:06 cleidigh

@metaist @aribbada Yup, found it. Should have beta by tomorrow. @cleidigh

cleidigh avatar Jun 05 '23 22:06 cleidigh

@metaist @aribbada This b1 should do the trick. Doing too much with the 115 update. https://github.com/thundernest/import-export-tools-ng/blob/v12.0.4/xpi/beta/import-export-tools-ng-12.0.4-b1-tb.xpi

@cleidigh

cleidigh avatar Jun 06 '23 02:06 cleidigh

Same problem. Emails are not exported. I pull "export" and nothing happen. The only difference is TB did not crush.

aribbada avatar Jun 06 '23 04:06 aribbada

@aribbada Are you saying my b1 beta still didn't solve the problem? @cleidigh

cleidigh avatar Jun 06 '23 15:06 cleidigh

No. Problem still persist.

aribbada avatar Jun 06 '23 16:06 aribbada

@aribbada Ok that's odd given the targeted fix and ability to recreate your error and subsequent fix. I will have to add debug to see if we can get view into the issue. @cleidigh

cleidigh avatar Jun 06 '23 16:06 cleidigh

@metaist Were you able to test b1? @cleidigh

cleidigh avatar Jun 06 '23 16:06 cleidigh

Just tried it and can confirm that b1 works for me.

metaist avatar Jun 06 '23 17:06 metaist

@metaist Excellent, well 1 of 2, now have to figure out why @aribbada still has an issue... @cleidigh

cleidigh avatar Jun 06 '23 17:06 cleidigh

@aribbada I forgot to ask if you can check the console output for any errors? @cleidigh

cleidigh avatar Jun 06 '23 17:06 cleidigh

I forgot to ask if you can check the console output for

I'm not so technical..teach me how to do the console output

aribbada avatar Jun 06 '23 17:06 aribbada

https://i.gyazo.com/faa5ef4ff1ae99227f196da41ca2294c.png this is what i'm doing. And click on Export and nothing happens. with 12.0.2 work fine, all emails are exported. But with 12.0.4-b1 nothing happen.

aribbada avatar Jun 06 '23 17:06 aribbada

Sorry, I click on "Export" and choose the folder to export and after that nothing happen with 12.0.4-b1.

aribbada avatar Jun 06 '23 17:06 aribbada

@aribbada To open and check the console use Control -Shift-J Do this from the main mail view before doing anything else. Then in the console click the trash can to clear. Go back to the mail window, now try the search and export. Go back and check if the log has any errors. If we don't see anything I will have to add trace to the next beta. @cleidigh

cleidigh avatar Jun 06 '23 19:06 cleidigh

@aribbada To open and check the console use Control -Shift-J Do this from the main mail view before doing anything else. Then in the console click the trash can to clear. Go back to the mail window, now try the search and export. Go back and check if the log has any errors. If we don't see anything I will have to add trace to the next beta. @cleidigh

Yes, please see this image with error:

https://i.gyazo.com/b0e1a2b91c85e461ca4907061857f979.png

aribbada avatar Jun 06 '23 19:06 aribbada

https://i.gyazo.com/bd57889f8d84253120c673199ffa3999.png

aribbada avatar Jun 06 '23 19:06 aribbada

@aribbada Ok thanks that error is past the area where I have my fix so we are looking at perhaps something different. Was this exporting to a single text file? Can you try to export to EML and also individual text files? If they don't work check for errors. @cleidigh

cleidigh avatar Jun 06 '23 19:06 cleidigh

This is for all in EML format: https://i.gyazo.com/e27a3d043ecaeb79ae737c4312a22e93.png

For plain text: https://i.gyazo.com/29330434bcc238187c6fa755f066cf4c.png

Still not work, not export.

aribbada avatar Jun 06 '23 19:06 aribbada

@aribbada Thanks. This shows they are all failing on the same method call, however, I don't have enough information why. One last test and then I will have to do another beta. Can you take the first message that comes up in the search and try to do a single message export of that. Find it, right click and save the message as eml. That eliminates the search, but uses the same export mechanism. @cleidigh

cleidigh avatar Jun 06 '23 20:06 cleidigh

Yes, no error on that. Export for first eml was successfully and no errors on console. Tried with two and works. Exported eml or text without problems. Also what I tried and works: checked export "selected" option and with CTRL+A I selected all 7280 emails and after that I've clicked on "export" and works !! I think the problem is when the "All" option is selected(checked).

https://i.gyazo.com/d4b86e7ed7275c6907f59aea5ae263d2.png

aribbada avatar Jun 06 '23 20:06 aribbada

@aribbada Ok so to be clear, if your search has 7280 results and you choose export selected, highlight all, then export, all are exported. If you take the same 7280 and just try export all, this fails. If so then I can focus debug on that. @cleidigh

cleidigh avatar Jun 06 '23 20:06 cleidigh

Yes, correct.

aribbada avatar Jun 06 '23 20:06 aribbada