starting zotero through a script
Hi, I have a script which first stops zotero [quote]ZOTERO_BIN="zotero"
WAIT=2
# Zotero ggf. beenden
if pgrep -x zotero >/dev/null; then
echo "[master] Zotero läuft – beende Zotero"
pkill -x zotero
sleep "$WAIT"
while pgrep -x zotero >/dev/null; do
sleep 0.5
done
fi
[/quote]
now the script does what ist does and after that I want to restart zotero through the script. [quote] "$ZOTERO_BIN" & disown[/quote]
Now I get this error and the script does not finish with a promt.
[quote]test$ Sandbox: seccomp sandbox violation: pid 555356, tid 555356, syscall 28, args 139679834812416 4096 102 18446744073709551552 4294967295 0. Sandbox: seccomp sandbox violation: pid 555460, tid 555460, syscall 28, args 139791335657472 4096 102 18446744073709551552 4294967295 0. Missing chrome or resource URL: chrome://zotero/skin/16/white/loading.svg[/quote]
Is there a clean way to (re-) start zotero through a script without this sandboxing error?
WAIT=2
# Zotero ggf. beenden
if pgrep -x zotero >/dev/null; then
echo "[master] Zotero läuft – beende Zotero"
pkill -x zotero
sleep "$WAIT"
while pgrep -x zotero >/dev/null; do
sleep 0.5
done
fi
[/quote]
now the script does what ist does and after that I want to restart zotero through the script. [quote] "$ZOTERO_BIN" & disown[/quote]
Now I get this error and the script does not finish with a promt.
[quote]test$ Sandbox: seccomp sandbox violation: pid 555356, tid 555356, syscall 28, args 139679834812416 4096 102 18446744073709551552 4294967295 0. Sandbox: seccomp sandbox violation: pid 555460, tid 555460, syscall 28, args 139791335657472 4096 102 18446744073709551552 4294967295 0. Missing chrome or resource URL: chrome://zotero/skin/16/white/loading.svg[/quote]
Is there a clean way to (re-) start zotero through a script without this sandboxing error?
Upgrade Storage
https://www.zotero.org/support/installation
" and ist is installed via apt.
(But is there a reason you're trying to run Zotero from a script rather than using the launcher icon?)
const appStartup = Components.classes['@mozilla.org/toolkit/app-startup;1'].getService(Components.interfaces.nsIAppStartup);
appStartup.quit(Components.interfaces.nsIAppStartup.eAttemptQuit);
I'm not running zotero from a script usually. It is an exception. I am working on something manipulating already imported PDF files in ~zotero/storage/*. While the script is runing, zotero must be closed. When the script has finished, zotero should start again automatically. I can start it manually, but i dont want to click through my dropdown app starting menue.
If I succeed with what I am trying to do, I will show it here. Please, until then, make no assumptions. ;-) You may criticiese me then when you see what I actually did. ;-)
BTW, I did not sandbox zotero, the repo maintainer apparently did . He seems to by one of you, I hope. But if there is a non sandboxed version, please let me know where to get it.
My version: 7.0.32 (64-bit) from the recommended repo https://mirror.mwt.me/zotero/deb/ ./
@ emilianoeheyns
I'm lost. I'm not much of an expert. I did not mention it explicitly, I am running Debian/sid(uction) Linux. I have no clue how your setting might help me with starting zotero through a script.
zoteroThanks
But downloading from your server would need 12 hours according to apt. It comes in B/s-wise.