Mailspring icon indicating copy to clipboard operation
Mailspring copied to clipboard

Sync errors on IMAP account on 1.7.5

Open tpaixao opened this issue 6 years ago • 15 comments

Keep getting IMAP sync errors on my IMAP account. In the acount tab, it says: "Mailspring encountered errors syncing this account. Crash reports have been sent to the Mailspring team and we'll work to fix these errors in the next release".

This happens both on Windows and Linux (snap) since 1.7.4...

tpaixao avatar Apr 18 '20 23:04 tpaixao

The same is happening with me on Linux.

ghost avatar Apr 19 '20 07:04 ghost

I tried a fresh installation in a brand new laptop and the same behavior happens. It doesn't matter if the IMAP account is the first or the second account to be added.

tpaixao avatar Apr 19 '20 09:04 tpaixao

Works for me. I'm running Mailspring 1.7.5-1 on Manajaro Linux 5.5.16-1.

sudoman281 avatar Apr 19 '20 13:04 sudoman281

Just a quick update on this. I deleted the Mailspring folder in .config and set everything up again. I haven't experienced the issue since and everything seems to be working great.

I'm using Zorin (Ubuntu derivative) and used the .deb package to install Mailspring.

ghost avatar Apr 20 '20 08:04 ghost

I too am having this issue on mxLinux 19.1 since the update to 1.7.5. I will try removing the config folder and see if this resolves the problem, else it is on to a more stable email client.

BigDon55 avatar Apr 21 '20 12:04 BigDon55

Hey folks—thanks for reporting this. Could you try going to Developer > Show Mailsync Logs in Mailspring's menu? That'll reveal a folder that contains the mailsync-***.log files. If you could look at the bottom of those and see if there are any stack traces / errors, that will help narrow this down a lot.

bengotow avatar Apr 22 '20 15:04 bengotow

I have resolved the issue.

The problem is the LOCK files are not being deleted. The program crashed after first installation and left the LOCK files behind. After I deleted those, the program has not hiccuped again. Don Matthews In HIS Grace and With Gratitude

On Apr 22 2020, at 11:27 am, Ben Gotow [email protected] wrote:

Hey folks—thanks for reporting this. Could you try going to Developer > Show Mailsync Logs in Mailspring's menu? That'll reveal a folder that contains the mailsync-***.log files. If you could look at the bottom of those and see if there are any stack traces / errors, that will help narrow this down a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Fissues%2F1918%23issuecomment-617849003&recipient=cmVwbHkrQU9DTDVGVFM1NkNEVjdDWU9BTkkzUVY0VlJCVkRFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/[email protected]/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOCL5FTTYYM5DSYMGKWWXK3RN4EFDANCNFSM4MLRLFUA&recipient=cmVwbHkrQU9DTDVGVFM1NkNEVjdDWU9BTkkzUVY0VlJCVkRFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D).

BigDon55 avatar Apr 22 '20 15:04 BigDon55

Where are the LOCK files?

From: BigDon55 Sent: 22 April 2020 16:30 To: Foundry376/Mailspring Cc: tpaixao; Author Subject: Re: [Foundry376/Mailspring] Sync errors on IMAP account on 1.7.5(#1918)

I have resolved the issue.

The problem is the LOCK files are not being deleted. The program crashed after first installation and left the LOCK files behind. After I deleted those, the program has not hiccuped again. Don Matthews In HIS Grace and With Gratitude

On Apr 22 2020, at 11:27 am, Ben Gotow [email protected] wrote:

Hey folks—thanks for reporting this. Could you try going to Developer > Show Mailsync Logs in Mailspring's menu? That'll reveal a folder that contains the mailsync-***.log files. If you could look at the bottom of those and see if there are any stack traces / errors, that will help narrow this down a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Fissues%2F1918%23issuecomment-617849003&recipient=cmVwbHkrQU9DTDVGVFM1NkNEVjdDWU9BTkkzUVY0VlJCVkRFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/[email protected]/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOCL5FTTYYM5DSYMGKWWXK3RN4EFDANCNFSM4MLRLFUA&recipient=cmVwbHkrQU9DTDVGVFM1NkNEVjdDWU9BTkkzUVY0VlJCVkRFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

tpaixao avatar Apr 22 '20 15:04 tpaixao

I am on a Linux machine. The files on my system are:

~/.config/Mailspring There are 3 or 4 LOCK files in this folder. Close Mailspring, and delete those. Restart Mailspring and it should work fine. Don Matthews In HIS Grace and With Gratitude

On Apr 22 2020, at 11:31 am, tpaixao [email protected] wrote:

Where are the LOCK files? From: BigDon55 Sent: 22 April 2020 16:30 To: Foundry376/Mailspring Cc: tpaixao; Author Subject: Re: [Foundry376/Mailspring] Sync errors on IMAP account on 1.7.5(#1918)

I have resolved the issue. The problem is the LOCK files are not being deleted. The program crashed after first installation and left the LOCK files behind. After I deleted those, the program has not hiccuped again. Don Matthews In HIS Grace and With Gratitude

On Apr 22 2020, at 11:27 am, Ben Gotow [email protected] wrote:

Hey folks—thanks for reporting this. Could you try going to Developer > Show Mailsync Logs in Mailspring's menu? That'll reveal a folder that contains the mailsync-***.log files. If you could look at the bottom of those and see if there are any stack traces / errors, that will help narrow this down a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Fissues%2F1918%23issuecomment-617849003&recipient=cmVwbHkrQU9DTDVGVFM1NkNEVjdDWU9BTkkzUVY0VlJCVkRFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/[email protected]/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOCL5FTTYYM5DSYMGKWWXK3RN4EFDANCNFSM4MLRLFUA&recipient=cmVwbHkrQU9DTDVGVFM1NkNEVjdDWU9BTkkzUVY0VlJCVkRFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Fissues%2F1918%23issuecomment-617851868&recipient=cmVwbHkrQU9DTDVGVzYyVE1CQVpKUEdBR1hPNUY0VlJDRzdFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/[email protected]/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOCL5FVCFUEOH6AKAGTGA53RN4EW7ANCNFSM4MLRLFUA&recipient=cmVwbHkrQU9DTDVGVzYyVE1CQVpKUEdBR1hPNUY0VlJDRzdFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D).

BigDon55 avatar Apr 22 '20 16:04 BigDon55

.

Don Matthews In HIS Grace and With Gratitude

On Apr 22 2020, at 12:44 pm, Don Matthews [email protected] wrote:

I am on a Linux machine. The files on my system are:

~/.config/Mailspring There are 3 or 4 LOCK files in this folder. Close Mailspring, and delete those. Restart Mailspring and it should work fine. Don Matthews In HIS Grace and With Gratitude

On Apr 22 2020, at 11:31 am, tpaixao [email protected] wrote:

Where are the LOCK files? From: BigDon55 Sent: 22 April 2020 16:30 To: Foundry376/Mailspring Cc: tpaixao; Author Subject: Re: [Foundry376/Mailspring] Sync errors on IMAP account on 1.7.5(#1918)

I have resolved the issue. The problem is the LOCK files are not being deleted. The program crashed after first installation and left the LOCK files behind. After I deleted those, the program has not hiccuped again. Don Matthews In HIS Grace and With Gratitude

On Apr 22 2020, at 11:27 am, Ben Gotow [email protected] wrote:

Hey folks—thanks for reporting this. Could you try going to Developer > Show Mailsync Logs in Mailspring's menu? That'll reveal a folder that contains the mailsync-***.log files. If you could look at the bottom of those and see if there are any stack traces / errors, that will help narrow this down a lot. — You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Fissues%2F1918%23issuecomment-617849003&recipient=cmVwbHkrQU9DTDVGVFM1NkNEVjdDWU9BTkkzUVY0VlJCVkRFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/[email protected]/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOCL5FTTYYM5DSYMGKWWXK3RN4EFDANCNFSM4MLRLFUA&recipient=cmVwbHkrQU9DTDVGVFM1NkNEVjdDWU9BTkkzUVY0VlJCVkRFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Fgithub.com%2FFoundry376%2FMailspring%2Fissues%2F1918%23issuecomment-617851868&recipient=cmVwbHkrQU9DTDVGVzYyVE1CQVpKUEdBR1hPNUY0VlJDRzdFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe (https://link.getmailspring.com/link/[email protected]/1?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOCL5FVCFUEOH6AKAGTGA53RN4EW7ANCNFSM4MLRLFUA&recipient=cmVwbHkrQU9DTDVGVzYyVE1CQVpKUEdBR1hPNUY0VlJDRzdFVkJOSEhDSDJVRlJBQHJlcGx5LmdpdGh1Yi5jb20%3D).

BigDon55 avatar Apr 22 '20 16:04 BigDon55

Hey folks—thanks for reporting this. Could you try going to Developer > Show Mailsync Logs in Mailspring's menu? That'll reveal a folder that contains the mailsync-***.log files. If you could look at the bottom of those and see if there are any stack traces / errors, that will help narrow this down a lot.

[calContacts] [critical] 
 ***
 *** An exception occurred during program execution: 
 *** (unknown exception details)
 ***

24991 [2020-04-23 13:05:32.594] [calContacts] [critical]  *** Stack trace:
 ***   clone
 ***

This happens when it tries to sync my office365 account

Zach2212 avatar Apr 23 '20 11:04 Zach2212

The same happens here (openSUSE Tumbleweed, new installation via snap edge, version 1.7.6)

here is the my log:

Mailspring Version: 1.7.6-c394dc80 Platform: linux Account State: sync_error Account Provider: imap IMAP Server: xxxxxxx SMTP Server: xxxxxxx

6141 [2020-04-26 00:30:54.680] [background] [info] -- 0 matches. 6141 [2020-04-26 00:30:54.680] [background] [warning] [SLOW] Transaction=unlinkMessagesMatchingQuery > 60ms (75444 microseconds, 6 waiting to aquire) 6141 [2020-04-26 00:30:54.680] [background] [info] Unlinking messages WHERE remoteFolderId = ? AND remoteUID IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) no longer present in remote range. 6141 [2020-04-26 00:30:54.757] [background] [info] -- 0 matches. 6141 [2020-04-26 00:30:54.757] [background] [warning] [SLOW] Transaction=unlinkMessagesMatchingQuery > 60ms (77372 microseconds, 6 waiting to aquire) 6141 [2020-04-26 00:30:54.757] [background] [info] Unlinking messages WHERE remoteFolderId = ? AND remoteUID IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) no longer present in remote range. 6141 [2020-04-26 00:30:54.831] [background] [info] -- 0 matches. 6141 [2020-04-26 00:30:54.831] [background] [warning] [SLOW] Transaction=unlinkMessagesMatchingQuery > 60ms (74279 microseconds, 7 waiting to aquire) 6141 [2020-04-26 00:30:54.831] [background] [info] Unlinking messages WHERE remoteFolderId = ? AND remoteUID IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) no longer present in remote range. 6141 [2020-04-26 00:30:54.881] [foreground] [critical]


*** A C++ exception occurred during program execution: *** database is locked


6141 [2020-04-26 00:30:54.887] [foreground] [critical] *** Stack trace: *** clone


`

spylacopa avatar Apr 25 '20 22:04 spylacopa

on ubuntu 20.04 i've same problem database is locked...

fferraro87 avatar May 15 '20 16:05 fferraro87

This issue has been mentioned on Mailspring Community. There might be relevant details there:

https://community.getmailspring.com/t/crash-on-sync-no-stack-trace/419/1

foundry376-bot avatar Feb 01 '21 19:02 foundry376-bot

We are in the process of migrating issues to Discourse, which can better facilitate discussion and discovery, and so GitHub Issues can focus on issues that are confirmed and slated for resolution in the near term. Learn more about the changes here.

As part of this, we've migrated this issue to Discourse:

https://community.getmailspring.com/t/crash-on-sync-no-stack-trace/419

Please consider joining that community and continuing the discussion there!

We're closing and locking the issue here as part of this migration. Rest assured, this doesn't mean the issue is being discarded or ignored.

We hope to see you on Discourse soon!

-The Mailspring Team

CodeMouse92 avatar Feb 01 '21 19:02 CodeMouse92