Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zotero-better-bibtex stucking at Starting key manager #928

Closed
YuanboBQ opened this issue Mar 10, 2018 · 5 comments
Closed

zotero-better-bibtex stucking at Starting key manager #928

YuanboBQ opened this issue Mar 10, 2018 · 5 comments
Labels

Comments

@YuanboBQ
Copy link

Hi, everyone,

Two days ago, when I update my zotero better bibtex from a pervious version, I encountered a problem, which stuck at Starting key manager. Below is my Errors and debug log at that time.

Application environment

Application: Zotero 5.0.35.1 en-US
Platform: MacIntel Intel Mac OS X 10.13
Addons:
  Markdown Here (2.13.2, extension)
  Zotero Scholar Citations (1.9.2, extension)
  Zotero Word for Mac Integration (5.0.12.SA.5.0.35.1, extension)
  Zotero LibreOffice Integration (5.0.10.SA.5.0.35.1, extension)
  Zotero Better Bib(La)Tex (5.0.99, extension)
  ZotFile (5.0.7, extension, disabled)
Settings:
  DOIandURL = "doi"
  asciiBibLaTeX = true
  asciiBibTeX = true
  autoAbbrev = false
  autoAbbrevStyle = ""
  autoExport = "off"
  autoExportIdleWait = 10
  autoPin = false
  biblatexExtendedDateFormat = true
  biblatexExtendedNameFormat = false
  bibtexParticleNoOp = false
  bibtexURL = "off"
  cacheFlushInterval = 5
  citeCommand = "cite"
  citekeyFold = true
  citekeyFormat = "[zotero]"
  citekeyScan = "5.0.2.master.3925"
  citeprocNoteCitekey = false
  csquotes = ""
  debug = false
  itemObserverDelay = 100
  jabrefFormat = 0
  jurismPreferredLanguage = ""
  keyConflictPolicy = "change"
  lockedInit = false
  parseParticles = true
  postscript = ""
  preserveBibTeXVariables = false
  qualityReport = false
  quickCopyMode = "pandoc"
  quickCopyPandocBrackets = true
  rawLaTag = "#LaTeX"
  scanCitekeys = false
  scrubDatabase = false
  skipFields = ""
  skipWords = "a,ab,aboard,about,above,across,after,against,al,along,amid,among,an,and,anti,around,as,at,before,behind,below,beneath,beside,besides,between,beyond,but,by,d,da,das,de,del,dell,dello,dei,degli,della,dell,delle,dem,den,der,des,despite,die,do,down,du,during,ein,eine,einem,einen,einer,eines,el,en,et,except,for,from,gli,i,il,in,inside,into,is,l,la,las,le,les,like,lo,los,near,nor,of,off,on,onto,or,over,past,per,plus,round,save,since,so,some,sur,than,the,through,to,toward,towards,un,una,unas,under,underneath,une,unlike,uno,unos,until,up,upon,versus,via,von,while,with,within,without,yet,zu,zum"
  strings = ""
  suppressTitleCase = false
  testing = false
  warnBulkModify = 10
  Zotero: export.quickCopy.setting = "bibliography=http://www.zotero.org/styles/chicago-note-bibliography"

Errors

JavaScript Error: "ReferenceError: module is not defined" {file: "chrome://zoteroscholarcitations/content/scripts/zoteroscholarcitations.js" line: 234}]
@chrome://zoteroscholarcitations/content/scripts/zoteroscholarcitations.js:234:1

[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/." {file: "chrome://zotero/content/xpcom/streamer.js" line: 155}]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/." {file: "chrome://zotero/content/xpcom/streamer.js" line: 155}]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "Style with ID http://www.zotero.org/styles/apa_zh_pulipuli already loaded from apa_zh_pulipuli.csl" {file: "chrome://zotero/content/xpcom/style.js" line: 184}]
Zotero.Styles</_readStylesFromDirectory<@chrome://zotero/content/xpcom/style.js:184:8
tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/util.js:16:16
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/generators.js:97:18
module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:574:17
module.exports/Promise.prototype._settlePromise0@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:614:5
module.exports/Promise.prototype._settlePromises@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:693:13
Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:133:13
Async.prototype._drainQueues@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:143:5
Async/this.drainQueues@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:17:9

[JavaScript Error: "Style with ID http://www.zotero.org/styles/apa_zh_pulipuli already loaded from apa_zh_pulipuli.csl" {file: "chrome://zotero/content/xpcom/style.js" line: 184}]
Zotero.Styles</_readStylesFromDirectory<@chrome://zotero/content/xpcom/style.js:184:8
tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/util.js:16:16
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/generators.js:97:18
module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:574:17
module.exports/Promise.prototype._settlePromise0@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:614:5
module.exports/Promise.prototype._settlePromises@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:693:13
Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:133:13
Async.prototype._drainQueues@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:143:5
Async/this.drainQueues@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:17:9

[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/." {file: "chrome://zotero/content/xpcom/streamer.js" line: 155}]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "Style with ID http://www.zotero.org/styles/apa_zh_pulipuli already loaded from apa_zh_pulipuli.csl" {file: "chrome://zotero/content/xpcom/style.js" line: 184}]
Zotero.Styles</_readStylesFromDirectory<@chrome://zotero/content/xpcom/style.js:184:8
tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/util.js:16:16
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/generators.js:97:18
module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:574:17
module.exports/Promise.prototype._settlePromise0@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:614:5
module.exports/Promise.prototype._settlePromises@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:693:13
Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:133:13
Async.prototype._drainQueues@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:143:5
Async/this.drainQueues@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:17:9

[JavaScript Error: "Style with ID http://www.zotero.org/styles/apa_zh_pulipuli already loaded from apa_zh_pulipuli.csl" {file: "chrome://zotero/content/xpcom/style.js" line: 184}]
Zotero.Styles</_readStylesFromDirectory<@chrome://zotero/content/xpcom/style.js:184:8
tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/util.js:16:16
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/generators.js:97:18
module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:574:17
module.exports/Promise.prototype._settlePromise0@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:614:5
module.exports/Promise.prototype._settlePromises@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/promise.js:693:13
Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:133:13
Async.prototype._drainQueues@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:143:5
Async/this.drainQueues@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zotero/bluebird/async.js:17:9

[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/." {file: "chrome://zotero/content/xpcom/streamer.js" line: 155}]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/." {file: "chrome://zotero/content/xpcom/streamer.js" line: 155}]
[JavaScript Error: "WebSocket connection closed: 1006 "]

Debug log

[JavaScript Error: "ReferenceError: module is not defined" {file: "chrome://zote…
@chrome://zoteroscholarcitations/content/scripts/zoteroscholarcitations.js:234:1


[JavaScript Error: "The connection was refused when attempting to contact wss://…

[JavaScript Error: "WebSocket connection closed: 1006 "]

[JavaScript Error: "The connection was refused when attempting to contact wss://…

[JavaScript Error: "WebSocket connection closed: 1006 "]

[JavaScript Error: "Style with ID http://www.zotero.org/styles/apa_zh_pulipuli…
Zotero.Styles</_readStylesFromDirectory<@chrome://zotero/content/xpcom/style.js:…
tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zoter…
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://gre/modules/c…
module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/…
module.exports/Promise.prototype._settlePromise0@resource://gre/modules/commonjs…
module.exports/Promise.prototype._settlePromises@resource://gre/modules/commonjs…
Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js…
Async.prototype._drainQueues@resource://gre/modules/commonjs/toolkit/loader.js…
Async/this.drainQueues@resource://gre/modules/commonjs/toolkit/loader.js ->…


[JavaScript Error: "Style with ID http://www.zotero.org/styles/apa_zh_pulipuli…
Zotero.Styles</_readStylesFromDirectory<@chrome://zotero/content/xpcom/style.js:…
tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zoter…
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://gre/modules/c…
module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/…
module.exports/Promise.prototype._settlePromise0@resource://gre/modules/commonjs…
module.exports/Promise.prototype._settlePromises@resource://gre/modules/commonjs…
Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js…
Async.prototype._drainQueues@resource://gre/modules/commonjs/toolkit/loader.js…
Async/this.drainQueues@resource://gre/modules/commonjs/toolkit/loader.js ->…


[JavaScript Error: "The connection was refused when attempting to contact wss://…

[JavaScript Error: "WebSocket connection closed: 1006 "]

[JavaScript Error: "Style with ID http://www.zotero.org/styles/apa_zh_pulipuli…
Zotero.Styles</_readStylesFromDirectory<@chrome://zotero/content/xpcom/style.js:…
tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zoter…
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://gre/modules/c…
module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/…
module.exports/Promise.prototype._settlePromise0@resource://gre/modules/commonjs…
module.exports/Promise.prototype._settlePromises@resource://gre/modules/commonjs…
Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js…
Async.prototype._drainQueues@resource://gre/modules/commonjs/toolkit/loader.js…
Async/this.drainQueues@resource://gre/modules/commonjs/toolkit/loader.js ->…


[JavaScript Error: "Style with ID http://www.zotero.org/styles/apa_zh_pulipuli…
Zotero.Styles</_readStylesFromDirectory<@chrome://zotero/content/xpcom/style.js:…
tryCatcher@resource://gre/modules/commonjs/toolkit/loader.js -> resource://zoter…
module.exports/PromiseSpawn.prototype._promiseFulfilled@resource://gre/modules/c…
module.exports/Promise.prototype._settlePromise@resource://gre/modules/commonjs/…
module.exports/Promise.prototype._settlePromise0@resource://gre/modules/commonjs…
module.exports/Promise.prototype._settlePromises@resource://gre/modules/commonjs…
Async.prototype._drainQueue@resource://gre/modules/commonjs/toolkit/loader.js…
Async.prototype._drainQueues@resource://gre/modules/commonjs/toolkit/loader.js…
Async/this.drainQueues@resource://gre/modules/commonjs/toolkit/loader.js ->…


[JavaScript Error: "The connection was refused when attempting to contact wss://…

[JavaScript Error: "WebSocket connection closed: 1006 "]

[JavaScript Error: "The connection was refused when attempting to contact wss://…

However, when after reading pervious issues about this problem, I try to delete the zotero.sqlite.1.bak and some other files in my computer, and the problem was solved. I am not clear about the reason behind this. Now, I used zotero for two days and found no problems for the time being. I am not very familiar with Github. The previous issue was closed, so I opened this new issue at the request of the author.

Thanks the author and everyone!

@retorquere
Copy link
Owner

There's no everyone, there's just me. Nothing in the log snippets you posted shows BBT errors, and if deleting non-bbt files fixed the problem, it's most likely that Zotero had an error, and that that error prevented bbt from starting up.

@retorquere
Copy link
Owner

Do you still experience this error?

@YuanboBQ
Copy link
Author

No, after succeed update the latest version of BBT, I did not experience this error. It takes a while initialization very time when zotero was restarted, but I think it is normal process. However, the drag and drop citations function(selected “Better BibTeX Quick Copy”) has problems very time after zotero was restarted. It need switch another format, then switch back to “Better BibTeX Quick Copy”.

@retorquere
Copy link
Owner

Whether the wait is normal depends on where it's waiting -- "Waiting for Zotero database" is normal, in the sense that I am really just waiting for Zotero to finish starting -- I am required to delay my own start until after that, nothing I can do about that. Until "Waiting for Zotero database" goes away, Zotero has't really started (try exporting something to RIS -- it will just sit there until it's really finished starting.

If any of the other phases take more than a second, that's a problem that I would have to fix.

The other problem is the same as #893, but I can't do anything about that without more information from the Zotero devs. I just supply the exporter, they prepare and call it, and I can't control how they do that prep and call. It looks like the prep is not happening for BBT-supplied exporters, but they'll need to tell me how I can trigger that.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants