zanonmark / Google-4-TbSync

This provider add-on adds Google synchronization capabilities to TbSync. Only contacts and contact groups are currently managed, using Google's People API.
Mozilla Public License 2.0
51 stars 7 forks source link

Google-4-tbsync makes Thunderbird and comptuer crazy !... #22

Closed SAMI-Bass-man closed 2 years ago

SAMI-Bass-man commented 2 years ago

Hi, as I said in addons Thunderbird page : Great, but... In Thunderbird 91, it makes crashing Thunderbird AND the computer ! ! ! In Thunderbird 91, there is the sync addressbook originally. But it doesn't sync groups (only contacts). Google--4-tbync is able to sync all (contacts and groups). But in TB 91, it makes freeze Thunderbird AND computer for looooonnng time (about a hour and half...).

I'm a hot-line for my own, I help many different people and computers. For few days, some people told me that their computer is blocked ; they were using Thunderbird (open). They are all under Windows 10, and Thunderbird 91 and/or 78 (as my wife...). I searched a lot... to find a solution. So, I ran Thunderbird in safe mode, and then I disabled all addons ; no more problem. So, I re-enabled the addons, except Google-4-tbsync ; and it was OK too. So I conclued that the cause is Google-4-tbync. It's dammage, because it's the only way to synchronize Gmail contacts and groups ; the new Thunderbird 91 include synchronization (contacts and calendar) without any addon, but... not for groups...

I can't say anymore, I don't know how to help you more to point this problem. Good luck.

zanonmark commented 2 years ago

Hi,

could You please tell me: a) how many contacts do You have (approximately) on such addressbooks; b) whether You're using the read-only mode or not.

Thanks, MZ

saleslogistix commented 2 years ago

Hi Marco, I'm having a similar issue w/TB91...as long as there's no attempt to sync, no problem. Checking the connection works fine. But as soon as I attempt to sync even the smallest address book (about 400 contacts with 10 groups), TB goes into an infinite loop and starts chewing up memory. When it reaches 16 GB (!) of memory image, it finally dies. It doesn't make the system go crazy, but it doesn't do anything useful right now either. Happy to provide additional info if that will help you, but I've been using your code without problems (or configuration changes) for many months now (win10 pro 64bit, with latest TB and plug-in updates).
So it sure seems to be a v91 issue... David Taber

zanonmark commented 2 years ago

Hi David,

as I'm saying to some other users reporting the same problem, this is not related to the add-on only, because my results are:

1) Local virtual machine running Windows 10, Thunderbird 91.3.0, TbSync 3.0.1, Google-4-TbSync 0.2.1:

1a) addressbook with 0 contacts + 8 contact groups:

1b) addressbook with 520 contacts + 69 contact groups:

2) Server running Windows Server 2016, Thunderbird 91.3.0, TbSync 3.0.1, Google-4-TbSync 0.2.1:

2a) addressbook with 2775 contacts + 17 contact groups:

So I'm still trying to identify something else interfering with the proper behaviour:

Thanks, MZ

zanonmark commented 2 years ago

Note to myself: could this be related to #25? To be investigated...

MZ

saleslogistix commented 2 years ago

Hello Marco,

Thanks for reaching out.  This is a weird one.  See below.

Marco Zanon wrote on 11/6/2021 8:12 AM:

Hi David,

as I'm saying to some other users reporting the same problem, this is not related to the add-on only, because my results are:

  1. Local virtual machine running Windows 10, Thunderbird 91.3.0, TbSync 3.0.1, Google-4-TbSync 0.2.1:

I'm running win10 64 bit pro, 10.0.19043, TB 91.3 64-bit, TBsync 3.0.1, and G-4-TBsync 0.2.1.

However, a twist:  I'm running all of TB (the executable and all its data) on an external SSD drive over USB.

1a) addressbook with 0 contacts + 8 contact groups:

  • first synchronization: 1 second;
  • subsequent synchronizations: 1 second;

1b) addressbook with 520 contacts + 69 contact groups:

  • first synchronization: 53 seconds;
  • subsequent synchronizations: 43 seconds;

    1. Server running Windows Server 2016, Thunderbird 91.3.0, TbSync 3.0.1, Google-4-TbSync 0.2.1:

2a) addressbook with 2775 contacts + 17 contact groups:

  • first synchronization: 151 seconds;
  • subsequent synchronizations: 103 seconds.

So I'm still trying to identify something else interfering with the proper behaviour:

  • are You running TB 91.3.0?

Yes

  • are You using other add-ons (let alone TbSync 3.0.1)?

Here's the list of add-ons:

  • could You please test temporarily disabling Your antivirus / antimalware software?

Addressbook:  450 contacts and 12 groups. "Test Connection" works fine.

Test #1 -- disable antivirus/antimalware AND firewall, restart TB:  no change (100% CPU utilization after about 5 seconds, memory leak of 20 kB/s, task dies when it reaches 16 GB size)

Test #2 -- keep conditions of test #1, disable all add-ons except TBSync and G-4-TBsync:  no improvement

Test #3 -- keep conditions of tests #1 and #2, kill all non-essential programs in system: no improvement

FYI:  here's what the error log shows...probably nothing to do with you... 08:52:28.350

Unexpected event profile-after-change URLQueryStrippingListService.jsm:224 observeresource://gre/modules/URLQueryStrippingListService.jsm:224 08:52:31.674Calendar: Couldn't find GMT -0500 (Standard) / GMT -0400 (Daylight) 3 CalTimezoneService.jsm:206 08:52:31.719 Unknown Collection "thunderbird/query-stripping" RemoteSettingsClient.jsm:160 UnknownCollectionErrorresource://services-settings/RemoteSettingsClient.jsm:160 syncresource://services-settings/RemoteSettingsClient.jsm:501 InterpretGeneratorResumeself-hosted:1482 AsyncFunctionNextself-hosted:692 08:52:31.732Calendar: Couldn't find GMT -0500 (Standard) / GMT -0400 (Daylight) 18 CalTimezoneService.jsm:206 08:52:32.165Calendar: Couldn't find UTC-08 CalTimezoneService.jsm:206 08:52:32.195Uncaught (in promise) Error: Error while loading 'jar:file:///P:/Mail/Profiles/Portable/extensions/%7BA79E82DD-9CE6-87C7-0006-87D0FD2FCD42%7D.xpi!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) readJSONresource://gre/modules/Extension.jsm:655 onStopRequestresource://gre/modules/NetUtil.jsm:128 Extension.jsm:655:20 08:52:32.195Uncaught (in promise) Error: Error while loading @.!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) readJSONresource://gre/modules/Extension.jsm:655 onStopRequestresource://gre/modules/NetUtil.jsm:128 Extension.jsm:655:20 08:52:32.195Uncaught (in promise) Error: Error while loading @.!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) readJSONresource://gre/modules/Extension.jsm:655 onStopRequestresource://gre/modules/NetUtil.jsm:128 Extension.jsm:655:20 08:52:32.195Uncaught (in promise) Error: Error while loading 'jar:file:///P:/Mail/Profiles/Portable/extensions/%7B3ed8cc52-86fc-4613-9026-c1ef969da4c3%7D.xpi!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) readJSONresource://gre/modules/Extension.jsm:655 onStopRequestresource://gre/modules/NetUtil.jsm:128 Extension.jsm:655:20 08:52:32.215Calendar: Couldn't find UTC-08 3 CalTimezoneService.jsm:206 08:52:32.265Calendar: Couldn't find UTC-08 5 CalTimezoneService.jsm:206 08:52:32.424Uncaught (in promise) Error: Error while loading 'jar:file:///P:/Mail/Profiles/Portable/extensions/%7BA79E82DD-9CE6-87C7-0006-87D0FD2FCD42%7D.xpi!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) readJSONresource://gre/modules/Extension.jsm:655 onStopRequestresource://gre/modules/NetUtil.jsm:128 Extension.jsm:655:20 08:52:32.424Uncaught (in promise) Error: Error while loading @.!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) readJSONresource://gre/modules/Extension.jsm:655 onStopRequestresource://gre/modules/NetUtil.jsm:128 Extension.jsm:655:20 08:52:32.424Uncaught (in promise) Error: Error while loading @.!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) readJSONresource://gre/modules/Extension.jsm:655 onStopRequestresource://gre/modules/NetUtil.jsm:128 Extension.jsm:655:20 08:52:32.424Uncaught (in promise) Error: Error while loading 'jar:file:///P:/Mail/Profiles/Portable/extensions/%7B3ed8cc52-86fc-4613-9026-c1ef969da4c3%7D.xpi!/manifest.json' (NS_ERROR_FILE_NOT_FOUND) readJSONresource://gre/modules/Extension.jsm:655 onStopRequestresource://gre/modules/NetUtil.jsm:128

Thanks, MZ

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zanonmark/Google-4-TbSync/issues/22#issuecomment-962465535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGAWA3Z3VRCUFJY7IBTA23UKVAUNANCNFSM5DMKLDGQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

/David Taber/

CEO Sales/Logistix/ +1-650-326-2626 Best times to call: 7AM-7PM PST [GMT-8], 7 days a week 5-star Certified http://appexchange.salesforce.com/reviews?listingId=a0N30000003JZ3kEAG Salesforce.com Consultants "SalesLogistix" Skype Get 35% off my Prentice-Hall book! http://www.amazon.com/gp/product/013351739X/ref=as_li_tf_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=013351739X&linkCode=as2&tag=davtabass-20

This message and its attachments are covered by the Electronic Communications Privacy Act, Title 18, United States Code, and are intended only for the addressees named above. This email may contain copyrighted or confidential information covered under non-disclosure agreement.

If you are not the intended recipient or believe you have received this message in error, do not forward this message to anyone. You must immediately delete it, as retaining, disclosing, copying, distributing, or taking action based on this message is prohibited by DMCA, ECPA, SEC, and other applicable laws.

If you are a European citizen, you need to know that this email will be processed and stored in the USA by Google, GoDaddy, and DOTnet Consulting, Inc. DOTnet Consulting will never share your personal information with others without your permission, but we cannot be responsible for the actions of third parties that may receive your mail or our response to it. To find out details about how we support your GDPR rights, look here http://saleslogistix.com/site/GDPR.html.

The sender believes that this message and original attachments were free of viruses, worms, Trojan horses, or malicious code when sent. However, this message or its attachments could have been infected during transmission or forwarding. By reading this message or opening any attachments, the recipient accepts full responsibility for taking protective and remedial action regarding viruses and other defects. The sender is not liable for any loss or damage arising in any way from this message or its attachments.

saleslogistix commented 2 years ago

I did a test where I created a brand new account for TBsync, duplicating one of the ones that already exists.

Made it read-only.  Worked fine -- pulled over all contacts and groups.

Disabled sync and made it read-write. THAT worked fine.

Created a new junk contact on the TBird side, when I synched that:

Marco Zanon wrote on 11/6/2021 8:21 AM:

Note to myself: could this be related to #25 https://github.com/zanonmark/Google-4-TbSync/issues/25? To be investigated...

MZ

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zanonmark/Google-4-TbSync/issues/22#issuecomment-962466835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGAWA5RFSXAJKG4WVPEMPLUKVBX3ANCNFSM5DMKLDGQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

/David Taber/

CEO Sales/Logistix/ +1-650-326-2626 Best times to call: 7AM-7PM PST [GMT-8], 7 days a week 5-star Certified http://appexchange.salesforce.com/reviews?listingId=a0N30000003JZ3kEAG Salesforce.com Consultants "SalesLogistix" Skype Get 35% off my Prentice-Hall book! http://www.amazon.com/gp/product/013351739X/ref=as_li_tf_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=013351739X&linkCode=as2&tag=davtabass-20

This message and its attachments are covered by the Electronic Communications Privacy Act, Title 18, United States Code, and are intended only for the addressees named above. This email may contain copyrighted or confidential information covered under non-disclosure agreement.

If you are not the intended recipient or believe you have received this message in error, do not forward this message to anyone. You must immediately delete it, as retaining, disclosing, copying, distributing, or taking action based on this message is prohibited by DMCA, ECPA, SEC, and other applicable laws.

If you are a European citizen, you need to know that this email will be processed and stored in the USA by Google, GoDaddy, and DOTnet Consulting, Inc. DOTnet Consulting will never share your personal information with others without your permission, but we cannot be responsible for the actions of third parties that may receive your mail or our response to it. To find out details about how we support your GDPR rights, look here http://saleslogistix.com/site/GDPR.html.

The sender believes that this message and original attachments were free of viruses, worms, Trojan horses, or malicious code when sent. However, this message or its attachments could have been infected during transmission or forwarding. By reading this message or opening any attachments, the recipient accepts full responsibility for taking protective and remedial action regarding viruses and other defects. The sender is not liable for any loss or damage arising in any way from this message or its attachments.

saleslogistix commented 2 years ago

I did a test against an existing addressbook that had NO contact groups.  950 members.

Set up a new account, read/write -- everything worked fine.

I set up a single label with no members on the Google side.

The label created a group on the TB side upon a sync -- no problem.

Then I added two members to that label on the Google side.

When I synched, TB went off into endless loop after about 4 seconds.

SalesLogistix wrote on 11/6/2021 12:07 PM:

I did a test where I created a brand new account for TBsync, duplicating one of the ones that already exists.

Made it read-only.  Worked fine -- pulled over all contacts and groups.

Disabled sync and made it read-write. THAT worked fine.

Created a new junk contact on the TBird side, when I synched that:

  • Tbird goes into endless loop
  • BUT the new junk contact DID successfully sync over to the Google side.

Marco Zanon wrote on 11/6/2021 8:21 AM:

Note to myself: could this be related to #25 https://github.com/zanonmark/Google-4-TbSync/issues/25? To be investigated...

MZ

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zanonmark/Google-4-TbSync/issues/22#issuecomment-962466835, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGAWA5RFSXAJKG4WVPEMPLUKVBX3ANCNFSM5DMKLDGQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--

/David Taber/

CEO Sales/Logistix/ +1-650-326-2626 Best times to call: 7AM-7PM PST [GMT-8], 7 days a week 5-star Certified http://appexchange.salesforce.com/reviews?listingId=a0N30000003JZ3kEAG Salesforce.com Consultants "SalesLogistix" Skype Get 35% off my Prentice-Hall book! http://www.amazon.com/gp/product/013351739X/ref=as_li_tf_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=013351739X&linkCode=as2&tag=davtabass-20

This message and its attachments are covered by the Electronic Communications Privacy Act, Title 18, United States Code, and are intended only for the addressees named above. This email may contain copyrighted or confidential information covered under non-disclosure agreement.

If you are not the intended recipient or believe you have received this message in error, do not forward this message to anyone. You must immediately delete it, as retaining, disclosing, copying, distributing, or taking action based on this message is prohibited by DMCA, ECPA, SEC, and other applicable laws.

If you are a European citizen, you need to know that this email will be processed and stored in the USA by Google, GoDaddy, and DOTnet Consulting, Inc. DOTnet Consulting will never share your personal information with others without your permission, but we cannot be responsible for the actions of third parties that may receive your mail or our response to it. To find out details about how we support your GDPR rights, look here http://saleslogistix.com/site/GDPR.html.

The sender believes that this message and original attachments were free of viruses, worms, Trojan horses, or malicious code when sent. However, this message or its attachments could have been infected during transmission or forwarding. By reading this message or opening any attachments, the recipient accepts full responsibility for taking protective and remedial action regarding viruses and other defects. The sender is not liable for any loss or damage arising in any way from this message or its attachments.

--

/David Taber/

CEO Sales/Logistix/ +1-650-326-2626 Best times to call: 7AM-7PM PST [GMT-8], 7 days a week 5-star Certified http://appexchange.salesforce.com/reviews?listingId=a0N30000003JZ3kEAG Salesforce.com Consultants "SalesLogistix" Skype Get 35% off my Prentice-Hall book! http://www.amazon.com/gp/product/013351739X/ref=as_li_tf_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=013351739X&linkCode=as2&tag=davtabass-20

This message and its attachments are covered by the Electronic Communications Privacy Act, Title 18, United States Code, and are intended only for the addressees named above. This email may contain copyrighted or confidential information covered under non-disclosure agreement.

If you are not the intended recipient or believe you have received this message in error, do not forward this message to anyone. You must immediately delete it, as retaining, disclosing, copying, distributing, or taking action based on this message is prohibited by DMCA, ECPA, SEC, and other applicable laws.

If you are a European citizen, you need to know that this email will be processed and stored in the USA by Google, GoDaddy, and DOTnet Consulting, Inc. DOTnet Consulting will never share your personal information with others without your permission, but we cannot be responsible for the actions of third parties that may receive your mail or our response to it. To find out details about how we support your GDPR rights, look here http://saleslogistix.com/site/GDPR.html.

The sender believes that this message and original attachments were free of viruses, worms, Trojan horses, or malicious code when sent. However, this message or its attachments could have been infected during transmission or forwarding. By reading this message or opening any attachments, the recipient accepts full responsibility for taking protective and remedial action regarding viruses and other defects. The sender is not liable for any loss or damage arising in any way from this message or its attachments.

zanonmark commented 2 years ago

David, thanks for all of your tests: I'll be having a look at them in the weekend, to try and squeeze this bug which happens "randomly"...

MZ

zanonmark commented 2 years ago

Just released version 0.2.2 (which will be available tomorrow I believe),

could everybody please test it and let me know?

Thanks for Your help in debugging,

MZ

zanonmark commented 2 years ago

Closing because of many weeks without reply.

Feel free to reopen if the problem persists.

MZ