Firefox hangs when trying to create bib, or Quick Copy

Firefox hangs up (gray screen, beach ball, Not Responding in title bar, but no "script not responding message") whenever I try to create a bibliography from a particular collection. It happens no matter which style or output type I try.

Sometimes I can select a subset and it will work, but it is random - a subset of items will work, but next time I try the same items it will not. The same thing happens when I use Quick Copy. I can copy some items sometimes, but not when I try again.

It never works if I right click on, or select all the items, in this collection. Other collections work fine.

Number of items selected doesn't seem to matter.

I've removed attached files/PDFs but that did not help.

Fewer than 800 items in entire library, only 350 in collection I'm trying to use.

Have disabled Firefox add-ons and Greasemonkey extensions - no interference.

Firefox 19.0, Zotero 4.0.8 (also previous versions of both).

Cannot submit debug output because the screen grays out and I can't do anything but kill Firefox.
  • You should upgrade Firefox to 21 - unlikely that it makes a difference, but you never know.
    If it doesn't, real-time debug output would be good:
    http://www.zotero.org/support/debug_output#real-time_debug_output
  • It is not a Firefox (or Zotero) version issue. I have tried it under multiple combinations on three computers. It is something in this particular collection -- I am able to generate bibs in all other collections.

    I tried renaming the collection, deleting all items added since last successful creation of a bib; neither works.

    I will try to post the real-time debug in a separate comment. I tried to append it here and it was too long. I will include a few lines here, as it is all pretty much the same as this, then it just ends with a blinking cursor, which is probably when Firefox just quits responding. I waited 15 minutes.


    zotero(3): DATE: retrieved with algorithms: {"order":"ymd","year":2008,"month":2
    ,"day":30}

    zotero(3): DATE: retrieved with algorithms: {"order":"y","year":2010}

    zotero(3): DATE: retrieved with algorithms: {"order":"ymd","year":2010,"month":5
    ,"day":1}

    zotero(3): DATE: retrieved with algorithms: {"order":"y","year":2010}

    :24}
  • Still unable to post debug. Here is a link to it copied in a Word file:
    http://www.rrbo.org/wp-content/uploads/2013/06/zotero-debug.doc
  • dstillman Zotero Team
    It never works if I right click on, or select all the items, in this collection. Other collections work fine.

    Number of items selected doesn't seem to matter.
    You're saying if you select a single item from that collection and generate a bibliography, the same thing happens?

    If that's not the case, then you need to narrow down to the smallest set of items that are causing this, which you can do easily by selecting half at a time, and then half of the half that doesn't work, and so on.
  • I have narrowed the problem down to one item in the collection, although what is causing the conflict remains a mystery.

    I put the collection in alphabetic order, and attempted to create a bib first by selecting all the items starting with the letter A, then adding B, and so on.

    I could create a bib with all items from A through D, but NOT A through E. I could create a bib with just the items starting with E, and with all items from E through Z.

    I selected A through D, and began adding one "E" items at a time. I got to one item that caused Firefox to stop responding; let's call it EVIL E. I was able to create a bib with every item in the collection so long as it did not include EVIL E. However, I could also generate a bib with only EVIL E selected.

    I could see nothing unusual about EVIL E (it was saved from a Wiley journal), it had no attachments, and I had successfully generated bibs with it before (had not modified it for 2 years). I deleted it (sent it to trash), and was able to generate a bib from the whole collection.

    I re-saved EVIL E in another collection and tried to generate a bib that included it. It worked fine. Then I put EVIL E back in the collection I was working with, and once again it caused Firefox to stop responding!

    So, this one item seems to be interacting with something else in this particular collection (which I have also tried re-naming, and copying all items into a new collection; neither help). It is okay by itself, but it must be some other item with a title in the alphabet before it. I really don't want to go through 130 or so items to find it.

    Any advice for what to look for so I can correct it and keep the item, and know what to look for in the future, would be appreciated.

    For anyone burning with curiosity, here is EVIL E:
    http://onlinelibrary.wiley.com/doi/10.1111/j.1365-2656.2008.01358.x/full
  • dstillman Zotero Team
    I re-saved EVIL E in another collection and tried to generate a bib that included it. It worked fine. Then I put EVIL E back in the collection I was working with, and once again it caused Firefox to stop responding!
    What do you mean by re-saved? Saved a completely new item from the original site? Or just added the existing item to the other collection? If the former, you're saying that a newly saved copy of the item in the other collection works but that same item (not the original one—check the Date Added) doesn't work in this collection?
    I put the collection in alphabetic order, and attempted to create a bib first by selecting all the items starting with the letter A, then adding B, and so on.
    Just for future reference, a binary search like I suggested is a much faster way of doing things like this.
  • Saved a completely new item from the original site, verified by Date Added and Date Accessed.
  • dstillman Zotero Team
    We've never seen anything like this, so just to confirm, if you right-click on that single new item and try to generate a bibliography, checking Date Added in both places to make sure it's the same one, it hangs in one collection but not in the other?

    Can you provide debug output for just the attempt to generate a bibliography from that one item?
  • Correct -- I can create a bibliography with just this one item. Here is the Debug ID for this item, newly downloaded from Wiley source web site, confirmed by Date Added: D1033619764.

    I copied (dragged and dropped) this item into another collection, confirmed again it was the same copied via Date Added, and successfully created a bibliography. Here is the Debug ID: D1257064468.

    Just for fun, I downloaded a new copy into yet another collection. I confirmed it was a few minutes newer in Date Added, and created a successful bib. Debug ID: D1257368452.

    Back in the original collection (Coffee), I selected this item and 214 other items (per my previous message, this item through titles ending in the letter Z) and successfully created a bib. Debug ID D1575848585.

    Alas, when I include this item and the 129 items with titles preceding it in the alphabet, Firefox hangs up.

    Here is the Debug from those 129 items only (so now you've seen the whole collection): D430497398
  • dstillman Zotero Team
    Correct -- I can create a bibliography with just this one item.
    That's not all I asked, though. I asked if it hangs when you try to create a bibliography with just that one item in the original collection. It sounds now like you're saying that's not the case (which is good because that would've been extremely bizarre). But that means you're going to need to find the smallest subset of items that causes it to hang. A binary search, as I explained above, should make this very easy. Select half of the 129 items before the item + the item, and then try non-working halves + the item until you find the smallest set that freezes.
  • The hang ups are a conflict between EVIL E and two other papers by the same lead author. The citations are

    #1 (EVIL E)
    Philpott, S.M., I. Perfecto, and J. Vandermeer. 2008a. Behavioral diversity of predatory arboreal ants in coffee agroecosystems. Environmental Entomology 37:181–191.

    #2
    Philpott, S.M., I. Perfecto, and J. Vandermeer. 2008b. Effects of predatory ants on lower trophic levels across a gradient of coffee management complexity. Journal of Animal Ecology 77:505–511.

    #3
    Philpott, S.M., W.J. Arendt, I. Armbrecht, P. Bichier, T.V. Dietsch, C. Gordon, R. Greenberg, I. Perfecto, R. Reynoso-Santos, L. Soto-Pinto, C. Tejeda-Cruz, G. Williams-Linera, J. Valenzuela, and J.M. Zolotoff. 2008. Biodiversity loss in Latin American coffee landscapes: review of the evidence on ants, birds, and trees. Conservation Biology 22:1093–1105.

    I can successfully generate bibs with 1+2 and 1+3 and 2+3, but not all 3 together.

    Debug ID for 1+2 is D1300929668.

    Debug ID for 3 is D993321578.
  • dstillman Zotero Team
    OK, great—that's what we needed. If you don't mind, could you export those three items to Zotero RDF (without files or notes) and email the file to support@zotero.org with a link to this thread?
  • dstillman Zotero Team
    I can create a bibliography from those three items. What are the exact settings you're using in the Create Bibliography window? Also, please confirm that this happens in Zotero 4.0.8 and Firefox 21. All the Debug IDs you provided are from Zotero 3.0.14 and Firefox 16.
  • I generated those debugs on a different computer than I use at work, but the results (as far as successful/unsuccessful bib generation) are the same. Here are the same creations using Firefox 19.0 and Zotero 4.0.8. (I am not upgrading Firefox, as it will disable a couple of other add-ons I use).

    Debug ID for 1+2 is D1262891847.

    Debug ID for 3 is D1707230427.

    I have been using Northeastern Naturalist style, output method in HTML, bibliography output mode, but I have tried it with other styles and methods with same (lack of) results.

    If I move those three items into their own collection and try to create a bib, Firefox hangs.

    I can send an RDF of the whole “coffee” collection, which include these three items, if you like. I have found Zotero to be the best tool of its kind, and so I want to do my part to help debug and improve, but I’m afraid I can’t spend too much more time on this right now.

    My workaround was to delete the one most offending item and manually enter the title, authors, abstract, and journal info.
  • dstillman Zotero Team
    OK, reproduced with those steps. Thanks—that's what we needed.

    fbennett, looks like this one is yours. It's hanging in citeproc.js.

    https://gist.github.com/dstillman/6af9349dc8713f43414b
  • Here are the same creations using Firefox 19.0 and Zotero 4.0.8. (I am not upgrading Firefox, as it will disable a couple of other add-ons I use).
    on a sidenote and FYI - this won't be sustainable very long. Zotero isn't committed to supporting Firefox versions beyond the latest ESR, so come September - when the ESR channel switches over to 24 - there's a good chance things may stop working. It won't happen intentionally, but there's a good chance it will and you'll definitely be asked to update if you encounter any other Zotero problems.

    In addition, if you're reluctant to follow FF's rapid release calendar, you should be using their ESR channel. FF19 isn't receiving any security updates and you're putting your computer and others at risk by using it.
  • The hang should be fixed now. You can check it with Zotero for Firefox by installing the processor patch plugin.
  • Yes, thanks. That fixed the problem.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.