flathub / org.zotero.Zotero

https://flathub.org/apps/details/org.zotero.Zotero
19 stars 15 forks source link

Zotero 7 Beta bug - closes on citation insertion #165

Open kbdragon opened 3 months ago

kbdragon commented 3 months ago

The Ztero 7 Beta FLATPAK closes whenever I insert a citation into a document (GDocs or Libre Writer on Linux). The problem is unique to the Flatpak install (the tarball version works fine). Saving documents via the Firefox connector works fine.

Anybody got a clue why or how we can fix it? Thanks

sebastian-de commented 3 months ago

I can confirm this. Running Zotero from the command line shows this upon adding a citation:

Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
/app/bin/zotero: line 20:     5 Segmentation fault      (core dumped) "$CALLDIR/zotero-bin" -app "$CALLDIR/app/application.ini" "$@"

I have no idea how the Libreoffice-Plugin communicates with the Zotero process so debugging this might be tricky. But I'll try to look into it if I find the time.

sebastian-de commented 3 months ago

Note to self - LibreOffice extension is located here: /var/lib/flatpak/app/org.zotero.Zotero/current/active/files/share/zotero/integration/libreoffice/Zotero_LibreOffice_Integration.oxt

Zotero seems to start a TCP server on port 23116 for word processor plugins: https://github.com/zotero/zotero-libreoffice-integration/blob/main/components/zoteroLibreOfficeIntegration.mjs

This is reachable so I have no idea why this fails.

kbdragon commented 3 months ago

Thanks, @sebastian-de ! Personally I'm more concerned with the Firefox connector and Google docs integration, but any solution would be greatly appreciated! Thanks!

AAguiarCAM commented 1 month ago

i'd like to add that this error is not present on the master branch either.

lduktus commented 1 month ago

Not sure if it helps: I installed the Zotera Beta via the semi-endorsed zotero-deb package on Ubuntu 24.04. I only tried LibreOffice but it seems to work just fine.

Using this method with distrobox may be a good workaround for some use cases.

AAguiarCAM commented 3 weeks ago

the error also occurs when using Obsidian Zotero Integration plugin.

it is absent in the Tarball version