Cardbook Autocomplete stops working, requiring me to restart Thunderbird
Please read our FAQ: https://gitlab.com/CardBook/CardBook/wikis/FAQ and make sure your bug isn't a duplicate by searching within the open issues: https://gitlab.com/CardBook/CardBook/issues
summary
Cardbook Autocomplete works properly when I first start Thunderbird. After a couple of days though (without stopping/restarting Thunderbird during that time), Autocomplete stops working. Restarting Thunderbird fixes the issue.
screenshot
steps to reproduce the bug
- Start Thunderbird
- Wait a few days
current behavior
(what actually happens following the steps above) Cardbook Autocomplete stops working
expected behavior
(what you should see instead) Cardbook Autocomplete always works
my version numbers
- CardBook: 52.6
- Thunderbird: 78.3.2
- OS: macOS 10.15.7
CardBook log
CardBook tab > status bar > click on log entry
increase log size: https://gitlab.com/CardBook/CardBook/wikis/FAQ#4
* copy/paste the log here *
There appears to be no relevant information in the Cardbook log - only information on synchronization
Thunderbird console log
press CTRL+SHIFT+J
* copy/paste the log here *
17:15:48.846 Successfully loaded OpenPGP library librnp.dylib from /Applications/Thunderbird.app/Contents/MacOS/librnp.dylib RNPLib.jsm:46:13 17:15:48.858 RNPLib.createInputFromPath failed for /Users/jlevy/Library/Thunderbird/Profiles/y0pr52t0.default/pubring.gpg - Unix error 2 during operation open on file /Users/jlevy/Library/Thunderbird/Profiles/y0pr52t0.default/pubring.gpg (No such file or directory) RNPLib.jsm:138:17 17:15:48.861 RNPLib.createInputFromPath failed for /Users/jlevy/Library/Thunderbird/Profiles/y0pr52t0.default/secring.gpg - Unix error 2 during operation open on file /Users/jlevy/Library/Thunderbird/Profiles/y0pr52t0.default/secring.gpg (No such file or directory) RNPLib.jsm:138:17 17:15:48.861 public keys: 0, secret keys: 0 RNPLib.jsm:261:15 17:15:48.862 0 protected and 0 unprotected keys BondOpenPGP.jsm:100:13 17:15:52.106 Successfully loaded OTR library libotr.5.dylib from /Applications/Thunderbird.app/Contents/MacOS/libotr.5.dylib OTRLib.jsm:43:13 08:20:23.162 msgHdr is null 3 mailTabs.js:415 08:35:23.155 msgHdr is null 5 mailTabs.js:415 08:56:26.654 TypeError: ConversionHelper is undefined ConversionHelper.jsm:83:7 09:00:23.125 msgHdr is null mailTabs.js:415 09:04:44.895 Uncaught TypeError: ovl_cardbookMailContacts.refreshBlueStars is not a function observe chrome://cardbook/content/observers/cardBookObserver.js:45 notifyObservers chrome://cardbook/content/cardbookUtils.jsm:2336 finishSync chrome://cardbook/content/cardbookSynchronization.jsm:283 notify chrome://cardbook/content/cardbookSynchronization.jsm:1997 cardBookObserver.js:45:30 09:05:23.124 msgHdr is null 2 mailTabs.js:415 09:14:53.487 TypeError: ConversionHelper is undefined ConversionHelper.jsm:83:7 09:15:23.122 msgHdr is null 9 mailTabs.js:415 09:56:26.525 TypeError: ConversionHelper is undefined ConversionHelper.jsm:83:7 10:00:23.070 msgHdr is null mailTabs.js:415 10:04:44.786 Uncaught TypeError: ovl_cardbookMailContacts.refreshBlueStars is not a function observe chrome://cardbook/content/observers/cardBookObserver.js:45 notifyObservers chrome://cardbook/content/cardbookUtils.jsm:2336 finishSync chrome://cardbook/content/cardbookSynchronization.jsm:283 notify chrome://cardbook/content/cardbookSynchronization.jsm:1997 cardBookObserver.js:45:30 10:05:23.058 msgHdr is null mailTabs.js:415 10:10:23.048 msgHdr is null mailTabs.js:415 10:14:53.350 TypeError: ConversionHelper is undefined ConversionHelper.jsm:83:7 10:15:23.039 msgHdr is null 5 mailTabs.js:415 10:40:23.009 msgHdr is null 2 mailTabs.js:415 10:50:22.999 msgHdr is null 2 mailTabs.js:415 10:56:26.382 TypeError: ConversionHelper is undefined ConversionHelper.jsm:83:7 11:00:22.993 msgHdr is null mailTabs.js:415 11:04:44.666 Uncaught TypeError: ovl_cardbookMailContacts.refreshBlueStars is not a function observe chrome://cardbook/content/observers/cardBookObserver.js:45 notifyObservers chrome://cardbook/content/cardbookUtils.jsm:2336 finishSync chrome://cardbook/content/cardbookSynchronization.jsm:283 notify chrome://cardbook/content/cardbookSynchronization.jsm:1997 cardBookObserver.js:45:30 11:05:22.990 msgHdr is null mailTabs.js:415 11:10:22.983 msgHdr is null mailTabs.js:415 11:14:53.218 TypeError: ConversionHelper is undefined ConversionHelper.jsm:83:7 11:15:22.978 msgHdr is null 4 mailTabs.js:415 11:32:24.123 NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127 11:35:22.953 msgHdr is null 2 mailTabs.js:415 11:41:29.207 NS_ERROR_NOT_AVAILABLE: 2 ActivityManager.jsm:127 11:45:12.370 NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127 11:45:22.935 msgHdr is null 2 mailTabs.js:415 11:50:49.161 NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127 11:52:12.591 TypeError: cardbookRepository is undefined 4 cardbookRepository.js:447:3 11:52:49.023 NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127 11:52:58.500 TypeError: cardbookRepository is undefined cardbookRepository.js:447:3 11:53:35.955 msgHdr is null mailTabs.js:415 11:53:46.190 NS_ERROR_NOT_AVAILABLE: 2 ActivityManager.jsm:127 11:56:01.773 NotSupportedError: CustomElementRegistry.define: 'conversation-browser' has already been defined as a custom element conversation-browser.js:853 11:56:06.048 NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127 11:56:26.331 TypeError: ConversionHelper is undefined ConversionHelper.jsm:83:7 11:56:45.501 TypeError: cardbookRepository is undefined cardbookRepository.js:447:3 11:56:47.271 NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127 11:56:47.574 TypeError: cardbookRepository is undefined 4 cardbookRepository.js:447:3 11:57:09.567 NotSupportedError: CustomElementRegistry.define: 'conversation-browser' has already been defined as a custom element conversation-browser.js:853 11:57:53.508 TypeError: cardbookRepository is undefined 6 cardbookRepository.js:447:3 12:03:29.028 NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteInput.popup] LoginManagerChild.jsm:174 12:03:39.477 TypeError: cardbookRepository is undefined 2 cardbookRepository.js:447:3 12:04:44.584 Uncaught TypeError: ovl_cardbookMailContacts.refreshBlueStars is not a function observe chrome://cardbook/content/observers/cardBookObserver.js:45 notifyObservers chrome://cardbook/content/cardbookUtils.jsm:2336 finishSync chrome://cardbook/content/cardbookSynchronization.jsm:283 notify chrome://cardbook/content/cardbookSynchronization.jsm:1997 cardBookObserver.js:45:30 12:06:50.718 NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127 12:07:40.962 NS_ERROR_NOT_AVAILABLE: ActivityManager.jsm:127 12:11:00.512 Key key_renameFolder of menuitem Rename Folder… could not be found menu.js:292 accelText chrome://global/content/elements/menu.js:292 _computeAccelTextFromKeyIfNeeded chrome://global/content/elements/menu.js:299 render chrome://global/content/elements/menu.js:326 chrome://global/content/elements/menu.js:173 12:14:53.083 TypeError: ConversionHelper is undefined ConversionHelper.jsm:83:7 getMessage chrome://cardbook/content/api/ConversionHelper/ConversionHelper.jsm:83 formatStringForOutput chrome://cardbook/content/cardbookUtils.jsm:2372 runPeriodicSync chrome://cardbook/content/cardbookSynchronization.jsm:1859 notify chrome://cardbook/content/cardbookSynchronization.jsm:1849 12:15:13.145 NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteInput.popup] LoginManagerChild.jsm:174 12:15:19.080 TypeError: cardbookRepository is undefined 2 cardbookRepository.js:447:3 12:15:27.487 NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIAutoCompleteInput.popup] LoginManagerChild.jsm:174
