retorquere / zotero-better-bibtex

Make Zotero effective for us LaTeX holdouts
https://retorque.re/zotero-better-bibtex/
MIT License
5.3k stars 284 forks source link

BBT fails to start when invalid cite key pattern is configured #276

Closed sixtyfive closed 9 years ago

sixtyfive commented 9 years ago

Here's the new issue just mentioned. Everything was fine yesterday, had stopped working this morning:

screenshot 2015-07-28 14 17 32-1

The full log is:

[JavaScript Error: "SyntaxError: Expected "\\" or [^,\\\]:] but ":" found."]
[JavaScript Error: "Zotero.BetterBibTeX is undefined" {file: "C:\Users\Jonas\AppData\Roaming\Mozilla\Firefox\Profiles\rccfm421.default\zotero\translators\Better BibLaTeX.js" line: 3408}]

version => 4.0.27.6, platform => Win32, oscpu => Windows NT 6.1; WOW64, locale => en-US, appName => Zotero, appVersion => 4.0.27.6, extensions => Zotero LibreOffice Integration (3.5.9.SA.4.0.27.6, extension), Zotero Word for Windows Integration (3.1.20.SA.4.0.27.6, extension), Zotero Better Bib(La)Tex (1.2.1, extension), Adobe Acrobat (15.8.20082.15957, plugin), Silverlight Plug-In (5.1.40620.0, plugin),  (3.0.72.0, plugin),  (3.0.72.0, plugin), Shockwave Flash (18.0.0.209, plugin)
retorquere commented 9 years ago

That's a strange combo of errors. In any case, can you still access the BBT preferences? If so, can you enable "extended logging" in the BBT debug prefs, restart Zotero, and try to get a new debug log?

retorquere commented 9 years ago

Oh, and does this happen on the highlighted entry? Could you give it a shot to right-click that and select "report zotplus error" and paste the debug ID here should that work?

sixtyfive commented 9 years ago

Yes, working on it.

sixtyfive commented 9 years ago

I'm not at home right now atm but he is, so this all goes through email...

retorquere commented 9 years ago

grin he isn't hip with github :)

retorquere commented 9 years ago

Sorry, that should be http://www.disposablechat.com/chat/%23276?password=

sixtyfive commented 9 years ago

Naw, def. not. That chat doesn't seem to be working; can't post or see anything. You on IRC somewhere?

sixtyfive commented 9 years ago

Okay, so most strangely, the report window remains empty, blank. Same thing when he turns on extended logging.

screenshot 2015-07-28 16 04 54

retorquere commented 9 years ago

I could be. He doen't have github but he's down with IRC? I'm on webchat.freenode.net, #bbt-276. The log being empty there is collateral damage; BBT failed to start up fully. You can call up the debug log from preferences->advanced->view output

retorquere commented 9 years ago

I'll bet dollars to dimes that disposable chat doesn't like me sticking hashes in the URL

sixtyfive commented 9 years ago

Here's the debug log: http://pastebin.com/jgdCcqTL

retorquere commented 9 years ago

You wanted a more obvious warning, you got it.

sixtyfive commented 9 years ago

Hahahah, YAY for dark orange! :+1: