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

Search dialog export fails for CSV type

Open marusan0303 opened this issue 1 year ago • 19 comments

Hello, I am very grateful for the help you provided me before. If possible, I would appreciate your assistance once again.

I recently updated Thunderbird to version 128.4.0esr (64-bit).

When I try to export data in CSV format using the ImportExportTools NG add-on, nothing happens when I press the export button. Do you have any suggestions for how to resolve this issue?

Thank you very much.

marusan0303 avatar Nov 01 '24 02:11 marusan0303

@marusan0303 Good to see you again. I am not clear about the button you refer to. The export to csv is either on the right click menu in the message list or on a folder. Can you clarify how you are exporting? @cleidigh

cleidigh avatar Nov 01 '24 17:11 cleidigh

Hello again, I’m happy to be in touch with you once more.

Regarding exporting to CSV: I right-click on the Inbox, then select "Search and Export Messages." Next, I set the search criteria by specifying the sent date, and finally, I click the export button. This should save the messages as an Excel file on the desktop.

However, when I press the export button, there is no response.

Thank you very much for your assistance. aaa

marusan0303 avatar Nov 05 '24 00:11 marusan0303

Hello @cleidigh ,

I have the same issue, the console prints:

JavaScript error: chrome://mboximport/content/mboximport/sdOverlay.js, line 121: NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [nsIFilePicker.init]

The issue seems to be more general, not directly related to CSV exports, but the file dialogue.

image

It seems to be the same issue as https://github.com/RealRaven2000/QuickFolders/issues/476.

Thanks. kniffte

st-schilling avatar Nov 07 '24 17:11 st-schilling

@st-schilling Thanks, no one said before it was the search dialog, that's why I couldn't reproduce. However, on trying to check I just discovered that the overlay of the search export is completely missing so they changed something with the dialog in 128.3.3. What version are you using? @cleidigh

cleidigh avatar Nov 07 '24 18:11 cleidigh

Hello @cleidigh ,

you're welcome :)

ImportExportTools NG v. 14.1.2: image

Thunderbird 128.4.0esr (64-Bit) on Ubuntu: image

Thanks. kniffte

st-schilling avatar Nov 07 '24 18:11 st-schilling

@st-schilling I am not seeing the export button anymore, are you?

cleidigh avatar Nov 07 '24 19:11 cleidigh

@cleidigh , yes, please see my first screenshot. The Export button is there, but the file dialogue (to select, where to save the resulting file) does not open. kniffte

st-schilling avatar Nov 07 '24 19:11 st-schilling

@st-schilling Ok I am having trouble because I don't see any of the added elements including the export button. I also checked by using the de locale. So you are using the search messages from the folder menu, yes? Any other ui options that might affect the search dialog? I can't determine why I am seeing something different in the dialog.

cleidigh avatar Nov 07 '24 19:11 cleidigh

@cleidigh , correct, I'm configuring a search by date, with date before/after. The search works, but then the export button does not open the file dialogue. I wouldn't know any ui options other than the search options (which aren't strictly ui options...).

st-schilling avatar Nov 07 '24 20:11 st-schilling

hmm, I also just reconfirmed that 14.1.2 already has the filepicker argument fix. So there are two differences in what you and I are seeing. I can add some debug, but I don't know what is going on that we such different things. As I said I don't even have an export button to work with.

cleidigh avatar Nov 07 '24 20:11 cleidigh

@st-schilling What os are you on?

cleidigh avatar Nov 07 '24 20:11 cleidigh

ok I actually found the filepicker issue in a second call. I can fix that and add some debug. Still have to get my ui to work.

cleidigh avatar Nov 07 '24 20:11 cleidigh

@st-schilling @marusan0303

ok try this b4 beta install with the install addon from file https://github.com/thunderbird/import-export-tools-ng/blob/v14.1.3/xpi/beta/import-export-tools-ng-14.1.3-b4-tb.xpi

cleidigh avatar Nov 07 '24 20:11 cleidigh

Hello @cleidigh ,

great - that works :) I was able to search for the email and upon clicking "Export", the file dialogue opened and the export was done.

Thanks a lot and have a good night. kniffte

st-schilling avatar Nov 07 '24 22:11 st-schilling

@st-schilling What os are you on?

KUbuntu - Ubuntu 24.04.1 LTS

st-schilling avatar Nov 07 '24 22:11 st-schilling

@st-schilling Great. I also figured out my ui issue although I am not sure why you don't have the issue. Note: b4 has some partial work for plaintext output. @cleidigh

cleidigh avatar Nov 07 '24 22:11 cleidigh

cleidigh, you are truly amazing. I really appreciate it. The issue is resolved. Thank you very much.

marusan0303 avatar Nov 08 '24 00:11 marusan0303

ImportExportTools NG 14.1.2, 14.1.3-b3 Thunderbird 128.4.2esr 64bit Windows 10 Pro 22H2 64bit

Reproduction Procedure: 1. Right-click on the folder. 2. Select “ImportExportTools NG” from the context menu. 3. Click “Search And Export Messages” from the context menu of ImportExportTools NG. 4. The “Search Messages” dialog box opens. 5. Set the “Match” condition, specify “Format” = “Spreadsheet (CSV)”, and click “Export". 6. The CSV file is exported to the export folder you set (not an 'Excel' file).

IETNG - Search Messages-01

Cause of no response and no export: You have not set the export folder in the ImportExportTools NG options.

IETNG - Export directories-01

@marusan0303 @st-schilling Did you set up an export folder?


ImportExportTools NG 14.1.3-b4 has been improved so that any folder can be selected even if no export folder is set. Thanks to @cleidigh.

@kiki-ja

kiki-ja avatar Nov 08 '24 11:11 kiki-ja

@marusan0303 Well I don't know about amazing, but thank you :-} Great that it's working! I am hoping to roll this and several other patches into a release soon. @cleidigh

cleidigh avatar Nov 08 '24 16:11 cleidigh