Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Crash after selecting "Update citations" from collection or subcollection context menu #13

Open
Jendker opened this issue Dec 28, 2019 · 4 comments

Comments

@Jendker
Copy link

Jendker commented Dec 28, 2019

As in title. I am using Zotero on Mac and program crashes after selecting "Update citations" from collection or subcollection context menu. All I can see is the spinning loading icon. This was not the case with old fork https://github.com/tete1030/zotero-scholar-citations

I was trying to get the debug log, but as soon as I click the option "Update citations" debug window freezes and after restart the log is empty. If there is a correct way to get the log even after the crash please let me know.

@ABMalhotra
Copy link

+1, same issue.

@MaxKuehn
Copy link
Owner

MaxKuehn commented Mar 3, 2020

You can get some Log-output from the terminal: https://www.zotero.org/support/debug_output

Instead of just displaying the log in the terminal you might want to write it to a file. So slightly adjust instructions from the page above:

  • Open Terminal via Spotlight or /Applications/Utilities.
  • Paste
    /Applications/Zotero.app/Contents/MacOS/zotero -ZoteroDebugText > ZoteroDebug.log
    
    into the Terminal window.
  • Press Return

I think you can use the command pwd to find out in which directory that ZoteroDebug.log file ends up.

I have literally 0 experience with Macs, so I can't tell if any of the above will work, but if it works I'd be interested in that log output.

@Jendker
Copy link
Author

Jendker commented Mar 7, 2020

Here you can find the log file:

ZoteroDebug.log

For some reasons Zotero does not crash after selecting "Update citations" in subcollection context menu anymore. It still happens when updating the collection though. The log file presents the results of such crash.

@MaxKuehn
Copy link
Owner

MaxKuehn commented Mar 8, 2020

Thx for the log!

I got a rough idea of what's happening, I just don't know why. yet.

The log's 80k lines long, the first 4k lines are normal log output, but the remaining lines are an endless repetition of the plugin trying to query an item with the title "(On) The Measure of Intelligence". The weird part is: the plugin doesn't have any kind of retry capability yet, it just goes over the list of items in the (sub-)collection that you run "Update citations" on. That means the endless list of items might be coming from Zotero in some way.

Here's some things I'd like you to try, if you got the time and the patience:

  1. remove the "The Measure of Intelligence" item from the collection you're trying to update, try to update that collection and see if that crashes
  2. put that item from above as the only item in a top-level collection (i.e. a collection right beneath "My Library"), try to update it and see if it crashes as well

I'd again be interested in the logs, to see if it's just that particular item causing the issue or something else. Also, can you give me a rough outline of what your library (sub-)folder structure looks like?

I added that particular article to a test collection and the query went through, with no result though ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants