Google Docs integration v2 not working in Chrome
I tried the beta connector, but I get the following error if I try to update citations in a google doc I previously created:
[JavaScript Error: "TypeError: Cannot read properties of undefined (reading '33')
at Object.injectScripts (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:327:45)
at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:266:36"]
[JavaScript Error: "Error: 500: Google Docs request failed.
{
"error": {
"code": 500,
"message": "Internal error encountered.",
"status": "INTERNAL"
}
}
at Object.getDocument (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/api.js:232:12)" {file: "[object Object]"}]
[JavaScript Error: "TypeError: Cannot read properties of undefined (reading '45')
at Object.injectScripts (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:327:45)
at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:266:36"]
Not sure if it's relevant, but I'm on a mac environment, on m1 processor.
[JavaScript Error: "TypeError: Cannot read properties of undefined (reading '33')
at Object.injectScripts (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:327:45)
at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:266:36"]
[JavaScript Error: "Error: 500: Google Docs request failed.
{
"error": {
"code": 500,
"message": "Internal error encountered.",
"status": "INTERNAL"
}
}
at Object.getDocument (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/zotero-google-docs-integration/api.js:232:12)" {file: "[object Object]"}]
[JavaScript Error: "TypeError: Cannot read properties of undefined (reading '45')
at Object.injectScripts (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:327:45)
at chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:266:36"]
Not sure if it's relevant, but I'm on a mac environment, on m1 processor.
At this point we know that on some documents it does not work because of a Google Docs bug. It generally works in new documents, but then breaks due to some unknown reason. If you are able to find steps to reproduce this breakage in a new document, please post them here as they may help us in getting Google to fix this sooner. Otherwise if you're getting errors with the v2 integration you should not use it.
@adomasven : I tried to create a new document but it works fine after adding a dozen citations.
For the moment I'll just use the old version. Hope you find out the problem soon – the new version is great, it's a lot faster.