I tried to generate a Debug ID with -ZoteroDebug but it didn't work (All I get is a blank screen) I tried with -jsconsole and I got an error consol with 8 messages. As I could not copy the text, I made a screen capture : https://framapic.org/MBgMqFN5yBff/fFYkFjNeGsvf.png
Thanks for your answer I did reinstall Zotero but it didn't help I then deactivated both my antivirus (kaspesky free) and firewall (microsoft defender) but I still have the same error message on startup :
We'd want to see another screenshot with the earlier errors.
The important error here isn't the lastDataDir one — it's the "le chemin d'accès spécifié est introuvable" one I quoted above. Something is preventing Zotero from accessing that folder.
This is very strange, because the error you pasted in shows Zotero installed in C:\Program Files (x86)\Zotero, but the screenshot shows it trying to load something from C:\Program Files (x86)\Zotero Standalone, which is an older path from Zotero 4.
Can you uninstall Zotero, make sure that there's neither a "Zotero" nor a "Zotero Standalone" directory in C:\Program Files (x86), and then reinstall (which should create only C:\Program Files (x86)\Zotero), and then try again?
Error: Error getting preference 'extensions.zotero.lastDataDir'
get@chrome://zotero/content/xpcom/prefs.js:120:13
Zotero.DataDirectory.init<@chrome://zotero/content/xpcom/dataDirectory.js:99:11
From previous event:
ZoteroService@file:///C:/Program%20Files%20(x86)/Zotero/components/zotero-service.js:352:7
@chrome://zotero/content/include.js:4:14
I tried with -jsconsole and I got an error consol with 8 messages. As I could not copy the text, I made a screen capture :
https://framapic.org/MBgMqFN5yBff/fFYkFjNeGsvf.png
Try reinstalling Zotero from the download page. If that doesn't help, see if you can exclude Zotero from your security software.
I did reinstall Zotero but it didn't help
I then deactivated both my antivirus (kaspesky free) and firewall (microsoft defender) but I still have the same error message on startup :
Error: Error getting preference 'extensions.zotero.lastDataDir'
get@chrome://zotero/content/xpcom/prefs.js:120:13
Zotero.DataDirectory.init<@chrome://zotero/content/xpcom/dataDirectory.js:99:11
From previous event:
ZoteroService@file:///C:/Program%20Files%20(x86)/Zotero/components/zotero-service.js:352:7
@chrome://zotero/content/include.js:4:14
The important error here isn't the lastDataDir one — it's the "le chemin d'accès spécifié est introuvable" one I quoted above. Something is preventing Zotero from accessing that folder.
I made some screenshots :
On startup :
https://framapic.org/padNQsRFJaJv/O3bKqbpbyI3R.png
And then, when I click on "Check for updates"
https://framapic.org/3SdshZlTLTcr/Ad433vSUr1aL.png
https://framapic.org/i5epWkwJ5BsV/qwF1vlK4dBSl.png
Can you uninstall Zotero, make sure that there's neither a "Zotero" nor a "Zotero Standalone" directory in C:\Program Files (x86), and then reinstall (which should create only C:\Program Files (x86)\Zotero), and then try again?