zotero debug output file is created empty
Hello.
I'm trying to debug a problem with Better BibTeX plugin (https://github.com/retorquere/zotero-better-bibtex/issues/2025).
I have a portable installation of zotero 5.0.96.3 in Windows, in a USB Drive. When I use the command line interface to go to the "ZoteroPortable" directory and run Zotero like this:
J:\PortableApps\ZoteroPortable>ZoteroPortable.exe -ZoteroDebugText > mydebugfile.txt
...the output text file is created empty.
Right now I'm on a Windows 10 Pro 20H2, OS version is 19042.1415
I'm trying to debug a problem with Better BibTeX plugin (https://github.com/retorquere/zotero-better-bibtex/issues/2025).
I have a portable installation of zotero 5.0.96.3 in Windows, in a USB Drive. When I use the command line interface to go to the "ZoteroPortable" directory and run Zotero like this:
J:\PortableApps\ZoteroPortable>ZoteroPortable.exe -ZoteroDebugText > mydebugfile.txt
...the output text file is created empty.
Right now I'm on a Windows 10 Pro 20H2, OS version is 19042.1415
-ZoteroDebug
does work, right? And everything that would usually be output by-ZoteroDebugText
ends up in the debug viewer?addons.manager
chatter at the start of the log.Edit: and as the problem doesn't always happen, we want a way to always start up with logging so that if it does occur, we have logging on.
I'm using this batch script on a Windows setup for starting Zotero and saving the debug output to a text file.
You could try redirecting standard error. Perhaps something like this might work:
zotero.exe -ZoteroDebugText > log.txt 2>&1
zotero.exe -ZoteroDebugText &> log.txt
Alternatively, you could try removing Cygwin from your PATH. If you run
sysdm.cpl ,3
you can edit your PATH environment variables.https://stackoverflow.com/a/47485413
Someone on our team is getting logged output with a Windows 11 install, however. Weirdly, the output still doesn't appear directly in the cmd window, and only shows up in the -console window. But the redirection works without -console.