Zotero 7: Stuck in Safe Mode
I was trying the Release 1.0.0-1 of the Zotero PDF Preview plugin: https://github.com/windingwind/zotero-pdf-preview/releases
After changing some settings of the plugin and restarting Zotero, Zotero is now opening in Safe Mode: "All add-ons have been disabled by safe mode."
I have tried removing the plugin, restarting Zotero, restarting the computer, reinstalling Zotero 6 and reinstalling Zotero 7 again... But I am still stuck in this Safe Mode now in Zotero 7.
How can I escape this Safe Mode?
Here is the Debug Output produced with "Restart with Logging Enabled..."
Debug ID D856356006
Windows 10
Zotero 7.0.0-beta.14+f1003a1d1 (64-bit)
I have tried to reproduce, and at some point I managed to escape the safe mode.
But I am not able to do it again..
After changing some settings of the plugin and restarting Zotero, Zotero is now opening in Safe Mode: "All add-ons have been disabled by safe mode."
I have tried removing the plugin, restarting Zotero, restarting the computer, reinstalling Zotero 6 and reinstalling Zotero 7 again... But I am still stuck in this Safe Mode now in Zotero 7.
How can I escape this Safe Mode?
Here is the Debug Output produced with "Restart with Logging Enabled..."
Debug ID D856356006
Windows 10
Zotero 7.0.0-beta.14+f1003a1d1 (64-bit)
I have tried to reproduce, and at some point I managed to escape the safe mode.
But I am not able to do it again..
Debug ID D833611467
toolkit.startup.recent_crashes
exist? If so, reset it.After restart, I am not in Safe Mode anymore.
Thank you.
Reloading the plugin still gets it back to Safe Mode. I will report to the developper.
These 3 plugins are from the same developper, so I am not sure if there is an issue in Zotero 7 or the same mistake repeated over the 3 plugins.
The pdf translate plugin beta only removes the localization files for Zotero 6 and adds support for Zotero 7 localization system. Does the stable release also trigger the safe mode?
But I cannot even check anymore different ways to close Zotero, as I have lost the top bar (nothing in the top right of the Zotero window): screenshot.
A single click on a tab does not do anything.
A double click on the tab goes to the tab and also move the Zotero window to full screen (or out of full screen).
Restarting Zotero 7 does not change anything.
Re-installing Zotero 7 does not fix the problem.
Re-installing Zotero 6, Zotero 6 is working properly. But re-installing Zotero 7, I still get the same problems again.
Here is the Debug Output produced with "Restart with Logging Enabled...":
Debug ID is D1788762758.
Any idea of what is happening?
All plugins are disabled.
Did the plugin break something in Zotero?
It's here, the phantom of the Zotero 7 for Windows...
The window border disappers.
But the double click issue is more problematic.
That's unrelated to plugins and as far as we know unrelated to Safe Mode.
I reinstalled Zotero 6, and tried to add again the plugin PDF Preview 0.3.7. But the preview in Info tab does not work anymore. I am getting this error:
[JavaScript Error: "TypeError: iframe is null" {file: "chrome://pdfpreview/content/scripts/index.js" line: 408}]
The preview in Preview tab is still working.
So it seems that something from Z7 has broken the plugin in Z6.
I have actually realized that I can now run both Z6 and Z7 without reinstalling them (not running at the same time). Also, they seem to use the same plugins. Is that how it is supposed to be?
Considering that the plugins in Z7 are not compatible with the plugins in Z6, I was expecting that the plugins in Z7 would be completely independant, and not influence whatever was installed in Z6, so that I could go back safely to Z6...
I have installed the 3 plugins in Z6 (26 compatible version). Then when opening in Z7, Better Notes and PDF Translate have the option to update. But it actually does not work:
1687945157293 addons.xpi WARN Download of https://github.com/windingwind/zotero-pdf-translate/releases/latest/download/zotero-pdf-translate.xpi failed: Expected addon version 1.1.0-0 instead of 1.0.23
So the only way to update the plugins at the moment is just to download the xpi file manually, is that correct?
The update warning is actually expected. The update.json is for the latest build (the beta version), while the latest release is the last stable version. So the update fails.
And there will be no more z6 & 7 compatible versions anymore. z7 changed the way the preference window was localized, which make previous z6 & 7 compatible versions no longer compatible with z7.
- The Safe Mode is triggered whenever
toolkit.startup.recent_crashes
reaches4
.- The crashes count is incremented every time I restart Zotero, even with all plugins disabled.
Report ID: 1588344448 just after starting Zotero with all plugins disabled.
It is still doing excatly the same as my last post above.
But if I restart with logging enabled, it does not increment the count of
toolkit.startup.recent_crashes
.After a normal restart:
Report ID: 1514619909
C:\Users\mjthoraval\Zotero
.Another observation: the crashes counter is incremented only if I use the top right cross to close Zotero. If I use
File
->Exit
, that deletes the counter.I have checked this because of the comment from @hsiangyu_wong above. Do you have any idea what is happening?
Report ID: 661616927
Debug ID from "Restart with Logging Enabled": D256411626
Same steps to reproduce as above.
Debug ID from "Restart with Logging Enabled": D48215742
Same steps to reproduce as above.