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

Windows App not Importing configuration from Thunderbird #891

Open
TonyGravagno opened this issue Apr 25, 2023 · 5 comments · Fixed by #917
Open

Windows App not Importing configuration from Thunderbird #891

TonyGravagno opened this issue Apr 25, 2023 · 5 comments · Fixed by #917
Labels
App Issue affects the standalone application

Comments

@TonyGravagno
Copy link

TonyGravagno commented Apr 25, 2023

Challenge: After using sieve addon in Thunderbird, I wanted to try the Windows standalone Electron app.

On Home tab, Add or Import, click "Import from Thunderbird".
Expected to see sieve accounts/configs setup in Thunderbird.
Actual : No effect whatsoever, doesn't look like the button click event processed.
Clicking Add Server, and Import from File : Dialogs open, buttons work, but I don't want that functionality.

Environment:
Windows 10, Thunderbird 102.10.1, Sieve add-on v 0.6.1 from #763 (contribution)
Windows Standalone Sieve App, most recent Successful nightly build #20230331.2
No logs available?

Tried all combinations of running sieve app and Thunderbird As Administrator, without Admin privs, and with/without Thunderbird running. When closed, Thunderbird is not running in background. Tried running app before and after Thunderbird was started in case there is a file lock conflict, but this did not appear to make a difference.

Checked all DLL and EXE file properties, but none are Blocked by Windows security.

I did not load a more recent build because they are flagged as failed builds.
I did not try any other prior/successful builds of the app, and did not try another Thunderbird release.

I don't know what else to check or if there is a log that can be generated.

Do we need to Export from Thunderbird to Import with the App?

I'm happy to try/test a new build of any component if required, or to do other testing/reporting.

Thanks!

@stale
Copy link

stale bot commented May 20, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 20, 2023
@TonyGravagno
Copy link
Author

Please review to avoid auto-stale.

@stale stale bot removed the stale label May 22, 2023
@timwhite
Copy link

I have the same issue on Linux with the sieve-0.6.1-linux-x64 standalone download.

@TonyGravagno
Copy link
Author

Still not working with Latest build from 13-Dec-2023

I'm trying to use the Windows app again to get around current issues with TB 115+ #893

This is not an issue with Windows security and blocked files - I unblocked the zip before extraction and files are not blocked.

It would help if someone would post where the .json config file is, how to export the data from Thunderbird, or just how to replicate the Thunderbird info, maybe extract it from somewhere so that we can manually create the required .json file. I'd rather not have to manually recreate all new connections, but if that's the only way to get the App to work, OK.

@thsmi thsmi added the App Issue affects the standalone application label Jan 2, 2024
@thsmi
Copy link
Owner

thsmi commented Jan 2, 2024

please provide logs and traces or a working crystal ball.
Without the providing at least the very basic information it is impossible to help you.
To make it more difficult, what you are writing is a really really confusing mixture of completely unrelated stuff.

I added more detailed instructions how to access the logs and traces to the wiki:
https://github.com/thsmi/sieve/wiki/FAQ---Application#app-logging-and-debugging

All the Thunderbird import does looking for a "profile.ini" at Thunderbird's default profile location. Then it extracts the location of the default profile. Thunderbird preferences are stored in the "prefs.js" in you profile. Within this file it enumerates all accounts and extracts for each account the server's name, hostname and username. These three pieces of information are the only thing which is imported.

This is rather fragile. It will fail in case your Thunderbird profile is in a non standard location, in case it is for some reason inconsistent, you are lacking of a default profile... basically everything which is non standard can make it fail.

The json file you are referring to is not related at all to Thunderbird. The application can export the account settings so that they can be imported on a different system e.g. when switching you computer.

@thsmi thsmi linked a pull request Jan 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Issue affects the standalone application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants