![Thunderbird logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2024-02-12-07-36-53-599028_1.png)
Cannot add or remove a Google calendar
I cannot add or remove a Google calendar in one of my TB profiles. I go through the menus: Create a new calendar -> On the network -> Google calendar -> pick a session > select the calendar. It shows me the Google calendar I want to add. I check it and click on the Next button and nothing happens. I suspect a corrupt profile. Any suggestions?
TB 56.0.b4, Lightning 5.8b4, Provider for Google Calendar 3.7b4, Windows 10.
Chosen solution
I solved the problem by creating a new profile and moving my stored email to it. I then recreated my Google calendars. I think the problem was a corrupt profile with too much crud and some damaged files.
Read this answer in context 👍 0All Replies (4)
Here is the error console output:
"Handler function DebuggerProgressListener.prototype.onWindowCreated threw an exception: TypeError: window is undefined Stack: getWindowID@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/tab.js:41:3 DebuggerProgressListener.prototype.onWindowCreated<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/tab.js:1553:19 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14 _fireEvent@chrome://global/content/bindings/wizard.xml:427:26 set_currentPage@chrome://global/content/bindings/wizard.xml:103:11 advance@chrome://global/content/bindings/wizard.xml:290:15 wizard_XBL_Constructor@chrome://global/content/bindings/wizard.xml:205:9 openCalendarWizard@resource://calendar/modules/calUtils.jsm -> file:///S:/Thunderbird/Profiles/Flory/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:360:5 doCommand@chrome://calendar/content/calendar-common-sets.js:359:17 goDoCommand@chrome://global/content/globalOverlay.js:93:7 oncommand@chrome://messenger/content/messenger.xul:1:1 Line: 41, column: 3" ThreadSafeDevToolsUtils.js:88 foxclocks.bootstrap._windowListener(): got window load "chrome://calendar/content/calendarCreation.xul" bootstrap.js:237 foxclocks.bootstrap._sendMessage(): sent startup "chrome://calendar/content/calendarCreation.xul" bootstrap.js:109 TypeError: this._nextButton is undefined[Learn More] wizard.xml:43:29 uncaught exception: 2147746065 autosync.js:210:13 "Handler function DebuggerProgressListener.prototype.onWindowCreated threw an exception: TypeError: window is undefined Stack: getWindowID@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/tab.js:41:3 DebuggerProgressListener.prototype.onWindowCreated<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/tab.js:1553:19 exports.makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/shared/ThreadSafeDevToolsUtils.js:109:14 _fireEvent@chrome://global/content/bindings/wizard.xml:427:26 set_currentPage@chrome://global/content/bindings/wizard.xml:103:11 advance@chrome://global/content/bindings/wizard.xml:290:15 @chrome://global/content/bindings/wizard.xml:157:15 openCalendarWizard@resource://calendar/modules/calUtils.jsm -> file:///S:/Thunderbird/Profiles/Flory/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:360:5 doCommand@chrome://calendar/content/calendar-common-sets.js:359:17 goDoCommand@chrome://global/content/globalOverlay.js:93:7 oncommand@chrome://messenger/content/messenger.xul:1:1 Line: 41, column: 3" ThreadSafeDevToolsUtils.js:88 NS_ERROR_FILE_ACCESS_DENIED: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIPrefService.savePrefFile] calCalendarManager.js:1040 [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIPrefService.savePrefFile]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///S:/Thunderbird/Profiles/Flory/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCalendarManager.js :: flushPrefs :: line 1040" data: no] (unknown) NS_ERROR_FILE_ACCESS_DENIED: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIPrefService.savePrefFile]
As a first step, I'd go to Tools|Add-ons>Extensions and make sure both Lightning and Provider for Google Calendar are up to date. You can use the button at the top to check all add-ons, or right-click each individual add-on to see an option to check for updates.
I have done that. I have two separate installations with identical versions installed. One works fine the other fails with the error console messages I listed above.
Chosen Solution
I solved the problem by creating a new profile and moving my stored email to it. I then recreated my Google calendars. I think the problem was a corrupt profile with too much crud and some damaged files.