Citation generation fails in Zotero 3.0 dev build (firefox)

I'm hitting a problem in generating bibliographies. In a nutshell, any attempt to generate any bibliography, in any format, produces a dialog saying "[JavaScript Application] An error occured generating your bibliography. Please try again."

Looking at the error console reveals:

[JavaScript Error: "Access to restricted URI denied" {file: "chrome://zotero/content/xpcom/cite.js" line: 129}]

[JavaScript Error: "uncaught exception: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "chrome://zotero/content/xpcom/cite.js Line: 129"]"]

I'm using a bleeding-edge dev release (3.0b3.r10757). Looking at the code involved and poking around in the zotero directory in my profile, I'm guessing zotero is looking for files which don't exist, although it's been quite some time since I've used JS seriously, so my debugging skills might be completely off.

Paul
  • I can't reproduce this with 3.0b3.r10757.

    What locale are you using? What is general.useragent.locale in about:config set to?
  • Ah! I was going to ask where Zotero populates its locale/language variable.

    general.useragent.locale is set to the rather unexciting 'en-US'.
  • Is everything on this system en-US?
  • Manually opening chrome://zotero/content/locale/csl/locales-en-US.xml works just fine, so it looks like the file *does* exist...

    Still poking around myself to see if I can find what's causing the hiccup.
  • Aha, progress!

    Calling Zotero.Cite.System.retrieveLocale("en-US") works just fine. However this is an Australian machine, so I'm guessing en-AU is reaching Zotero somehow.
  • Can you upgrade to the latest dev XPI and generate a Debug ID for a bib generation attempt?
  • Absolutely! Debug ID coming in five minutes. :)
  • Done! Debug ID 2108369305 .

    Is there any way I can see the contents of that debug ID? I'm curious to see what's inside it...
  • That's a Report ID, not a Debug ID. Follow my link.
  • (For Report IDs, it shows you the errors it's submitting before you submit it. For Debug IDs, you can click View Output.)
  • edited January 22, 2012
    If you are using Ubuntu, try disabling Ubuntu Firefox Modifications. On my Ubuntu test VM, I get a similar error that disappears when I disable it.
  • Dan: Oooops! I just noticed that Debug IDs and Report IDs are different. Sorry about that!

    Debug ID D1365370948.
  • Simon: You rock. Yes, I'm using Ubuntu, and yes, disabling the "Ubuntu Firefox Modifications" add-on solves the problem.

    As to why the Ubuntu mods would break the dev XPI (but not, from memory, the beta), I do not know.
  • We don't know either. I assumed that this was just because I was running a git build, but since it occurs with the dev XPI as well it's something we need to look into. Thanks for reporting this.
  • You're most welcome! Thank you both for the incredibly swift response, and for such an awesome citation manager. :)
  • Should be fixed in the latest dev XPI. Thanks for your help.
Sign In or Register to comment.