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

Search dialog export fails for CSV type #646

Open
marusan0303 opened this issue Nov 1, 2024 · 19 comments
Open

Search dialog export fails for CSV type #646

marusan0303 opened this issue Nov 1, 2024 · 19 comments
Assignees

Comments

@marusan0303
Copy link

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.

@cleidigh
Copy link
Collaborator

cleidigh commented Nov 1, 2024

@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

@marusan0303
Copy link
Author

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

@st-schilling
Copy link

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 RealRaven2000/QuickFolders#476.

Thanks.
kniffte

@cleidigh
Copy link
Collaborator

cleidigh commented Nov 7, 2024

@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

@st-schilling
Copy link

Hello @cleidigh ,

you're welcome :)

ImportExportTools NG v. 14.1.2:
image

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

Thanks.
kniffte

@cleidigh
Copy link
Collaborator

cleidigh commented Nov 7, 2024

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

@st-schilling
Copy link

@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

@cleidigh
Copy link
Collaborator

cleidigh commented Nov 7, 2024

@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.

@st-schilling
Copy link

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

@cleidigh
Copy link
Collaborator

cleidigh commented Nov 7, 2024

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
Copy link
Collaborator

cleidigh commented Nov 7, 2024

@st-schilling
What os are you on?

@cleidigh
Copy link
Collaborator

cleidigh commented Nov 7, 2024

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
Copy link
Collaborator

cleidigh commented Nov 7, 2024

@st-schilling
Copy link

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
Copy link

@st-schilling What os are you on?

KUbuntu - Ubuntu 24.04.1 LTS

@cleidigh
Copy link
Collaborator

cleidigh commented Nov 7, 2024

@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 cleidigh self-assigned this Nov 7, 2024
@cleidigh cleidigh added the search label Nov 7, 2024
@marusan0303
Copy link
Author

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

@kiki-ja
Copy link

kiki-ja commented Nov 8, 2024

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

@cleidigh
Copy link
Collaborator

cleidigh commented Nov 8, 2024

@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 cleidigh changed the title No response when pressing the export button to export data in CSV format using ImportExportTools NG add-on Search dialog export fails for CSV type Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants