zotero-citationcounts icon indicating copy to clipboard operation
zotero-citationcounts copied to clipboard

Crashes Zotero when adding items

Open champagnealexandre opened this issue 1 year ago • 8 comments

Hi,

The citationcounts plugin crashes Zotero when used with some other plugins at the same time.

See issue opened in the repo of one of those plugins: https://github.com/windingwind/zotero-tag/issues/36

I have also posted a discussion on the Zotero forum here: https://forums.zotero.org/discussion/99865/plugins-causing-segmentation-fault-when-used-together-citation-counts-manager-zotero-tag?new=1

Any idea what might be causing this?

Thanks.

champagnealexandre avatar Sep 22 '22 15:09 champagnealexandre

Removing this line may help. The Zotero object is already loaded in the overlay, and there seems to be a problem when it's reloaded when already available.

retorquere avatar Sep 23 '22 19:09 retorquere

Thanks @retorquere ; I’m not familiar with Zotero plugin development so I can’t build/test but I hope @eschnett will take that into account.

champagnealexandre avatar Sep 24 '22 11:09 champagnealexandre

Removing this line may help. The Zotero object is already loaded in the overlay, and there seems to be a problem when it's reloaded when already available.

It doesn't work. The modified .xpi can't be installed (show below). The add-on "%S" could not be installed. It may be incompatible with this version of Zotero.

pencilheart avatar Oct 04 '22 22:10 pencilheart

That's zotero's way of telling you the xpi you have is not a zip file. If you changed the xpi, you haven't put it back together right.

retorquere avatar Oct 05 '22 03:10 retorquere

@retorquere Thank you. You're right. It works when I "select the files and folders at root level and zip from here" instead of "zip from outside the plugin folder".

@champagnealexandre Here are the steps. https://github.com/eschnett/zotero-citationcounts/issues/17#issuecomment-1073409781

pencilheart avatar Oct 07 '22 16:10 pencilheart

@pencilheart worked perfectly, thank you! Thanks @retorquere too for your help.

champagnealexandre avatar Oct 08 '22 12:10 champagnealexandre

Hmm, for some reason the first article I added after doing the modification @retorquere suggested was added correctly, but now I’ve just added a second article and Zotero crashed again. Disabling again the plugin and no more crashes..

champagnealexandre avatar Oct 08 '22 12:10 champagnealexandre

me too....

pencilheart avatar Oct 08 '22 15:10 pencilheart