Zotero 7 Beta 68: Error when attempting to delete Zotero profile
When I try to delete a newly created Zotero profile in the profile manager, I get the following error:
```
this.init@chrome://zotero/content/xpcom/zotero.js:238:5
ZoteroService@jar:file:///C:/Program%20Files/Zotero/app/omni.ja!/components/zotero-service.js:351:23
createInstance@resource://gre/modules/ComponentUtils.jsm:90:19
@chrome://zotero/content/include.js:5:3
@chrome://global/content/commonDialog.xhtml:34:25
openWindowPrompt@resource://gre/modules/Prompter.jsm:1226:17
openPrompt@resource://gre/modules/Prompter.jsm:1115:12
openPromptSync@resource://gre/modules/Prompter.jsm:1046:10
confirmEx@resource://gre/modules/Prompter.jsm:1465:10
confirmEx@resource://gre/modules/Prompter.jsm:305:14
ConfirmDelete@chrome://mozapps/content/profile/profileSelection.js:318:41
oncommand@chrome://mozapps/content/profile/profileSelection.xhtml:1:1
```
At the same time, I would get a pop-up that had two buttons "Check for update" and "Quit".
I only opened the profile once after creating it, if that's relevant.
Eventually, after several attempts, I managed to get the profile deleted, despite a slightly different error that I didn't manage to copy. In this instance, the error didn't appear until I went to open Zotero's default profile after deleting the other profile.
```
this.init@chrome://zotero/content/xpcom/zotero.js:238:5
ZoteroService@jar:file:///C:/Program%20Files/Zotero/app/omni.ja!/components/zotero-service.js:351:23
createInstance@resource://gre/modules/ComponentUtils.jsm:90:19
@chrome://zotero/content/include.js:5:3
@chrome://global/content/commonDialog.xhtml:34:25
openWindowPrompt@resource://gre/modules/Prompter.jsm:1226:17
openPrompt@resource://gre/modules/Prompter.jsm:1115:12
openPromptSync@resource://gre/modules/Prompter.jsm:1046:10
confirmEx@resource://gre/modules/Prompter.jsm:1465:10
confirmEx@resource://gre/modules/Prompter.jsm:305:14
ConfirmDelete@chrome://mozapps/content/profile/profileSelection.js:318:41
oncommand@chrome://mozapps/content/profile/profileSelection.xhtml:1:1
```
At the same time, I would get a pop-up that had two buttons "Check for update" and "Quit".
I only opened the profile once after creating it, if that's relevant.
Eventually, after several attempts, I managed to get the profile deleted, despite a slightly different error that I didn't manage to copy. In this instance, the error didn't appear until I went to open Zotero's default profile after deleting the other profile.
Zotero.openInViewer('about:profiles')
from Tools → Developer → Run JavaScript.