Available for beta testing: Google Docs integration
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.
This discussion has been closed.
Thanks again.
“Sustainable, High Energy Density Battery Created,” ScienceDaily, accessed June 2, 2018, https://www.sciencedaily.com/releases/2017/03/170303091411.htm.
The entire bookmark text is a google docs hyperlink, if I look at the link address in the link dialog, it has: https://www.zotero.org/google-docs/?YB8jZ7 and not the www.sciencedaily.com "online" URL. I expected the URL to be identical with the URL in the bookmark text. Funny thing is, now it is broken in LibreOffice, but it is a different problem with the link URL. It is based on the https://www.sciencedaily.com/... URL and is almost right. But something weird is going on as letters are missing in the URL protocol part after export to PDF. I have seen both htps://.. and http:// variants instead of the expected https://..., needless to say, navigating from the bookmark hyperlinks in the PDF does not work, but for different reasons. I don't have a clue what is going on here, it is not encoded as a hyperlink in the document. I see the correct URL with https://... in the reference section in LibreOffice Navigator. This may be totally unrelated and may be an LibreOffice problem, not Zotero, but it may be a clue to something relating the two issues. Thanks.
However, (and please test this in a unimportant/test document) if you remove citation links, the links to Zotero should go away, so you could do that before submitting). Does that work?
I guess conceptually the way the URLs are set up could be an option in preferences of the connector. Right now the links to https://www.zotero.org/google-docs/?YB8jZ7 does not work at all, are they intended to work? You may have said something to the effect it is utterly broken, but I am not sure I got the gist of that. If you think it is possible to fix, I may put some effort into making a pull request. However, Google app scripts is all new to me and I am not much of a javascript coder either. But I am not adversed to learning a new stuff. Have to spend some time studying the code first, and possibly ask some questions. E.g.: Could it be possible to hook into the save/saveAs methods and inject zotero connector code there handling the zorento generated hyperlink formating and roundtrip issues between formats?
@bjornr It is not possible to do away with the hyperlinks - this is how Zotero recognises and differentiates citations in documents and there is no way to work around that due to Google Docs limitations.
Zotero experienced an error while communicating with Google Docs:
An error occurred while updating fields. ["mwj52W"]
--------
This occurred when trying to insert a single reference into a Doc using Firefox 60.0.1 on Ubuntu 16.04.4.
The "Updating" link stayed in the Doc, and when clicked gave "Selected field mwj52W not returned from Docs backend"
Likely occurred because I was in "Suggest" mode, rather than "Edit" mode, because when I changed back to edit Edit mode the reference was added.
--------------------
Zotero experienced an error updating your document.
401: Google Docs Authorization failed. Try again.
{
"error": {
"code": 401,
"message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED"
}
}
-----------------------
But I was not offered to report the error.
Neither restarting Zotero nor reloading the Doc seemed to help. However, both seem to be working independently.
Update:
After waiting some more time, all seems to be working again.
{
"error": {
"code": 429,
"message": "Resource has been exhausted (e.g. check quota).",
"status": "RESOURCE_EXHAUSTED"
}
}
I really need it because I MUST add my thesis bibliography this week!!! Help!!
Trying to insert references with html subscripts in the title (e.g. "CO< sub>2< /sub>", without spaces, apparently html tags get hidden when posting here) into Google Docs doesn't work, giving the following errors:
Zotero experienced an error updating your document.
Exception: We're sorry, a server error occurred. Please wait a bit and try again.
at Code (Zotero Google Docs Integration):892
at Code (Zotero Google Docs Integration):797
at Code (Zotero Google Docs Integration):857
at Code (Zotero Google Docs Integration):857
at Code (Zotero Google Docs Integration):857
at Code (Zotero Google Docs Integration):781
at Code (Zotero Google Docs Integration):498
at Code (Zotero Google Docs Integration):358
at Code (Zotero Google Docs Integration):344
at Code (Zotero Google Docs Integration):60 (callMethod)
Removing the offending html fixes this.
Superscripts don't cause the same problem (e.g. 7< sup>th< /sup>), but I am not sure what happens with other formating
PS I tried a quick search and haven't seen this bug reported before, sorry if it is a duplicate
So my question: as there are open source alternatives (actually zotero beeing open itself should prefer these over google - but thats another thing): are there any plans for integrating a open source collaborative online office solutions like onlyoffice or colabora?
The first post briefly describes sharing, and some responses talk about conflicting edits. But how exactly are libraries integrated into the document?
Can all editors add entries from their own libraries?
Can I add a citation to a reference from my collaborator's library without access to their library directly? (I assume that entry would need to have already been cited somewhere in the document. But if so, can I?)
Do shared references in different libraries end up doubled?
Does "refresh"/sync work if I change something in my library? What if this differs from my collaborator's?
(I've wondered similar things about simply sharing-- via email-- Word documents and taking turns editing. So in that case up to now I've avoided actually editing any citations within the document if it's my collaborator's file, in order to not corrupt or confuse anything. So I'm not sure how that would work either, or if Google Docs integration is designed differently to handle it.)
Generally you may still want to use group libraries, to avoid duplicate items by mistake, but you don't technically need them to collaborate productively.
The only concern then would be potentially doubling entries if something is already cited by the collaborator, and also figuring out "whose" entry is in use in a document if we want to update it in our respective libraries to fix something.
I did not realize the already-cited list was anything other than a shortcut (e.g., auto-complete) to entries in the library. That's very helpful in general. Sounds like the relatively ideal solution for a complex situation.
"Zotero experienced an error updating your document. linkbubble is null". It happens immediately when I start Zotero, then create a new google docs document, and insert an new citation.
Oddly, I can add citations to an existing document, but there I get an error when I do a refresh: "Zotero experienced an error updating your document. json.citationItems is undefined"
Looking at the extensions, I see nothing unusual. Just Markdown here, which has been there for ages.
1. Open the Zotero Connector preferences
2. In the Advanced tab of the Zotero Connector preferences, check the box next to “Enable Logging.” Do not close this tab.
3. In a new tab navigate to a new Docs document and attempt to insert a citation.
4. Go back to the Advanced tab of the Zotero Connector preferences, uncheck "Enable Logging" and click Submit to Zotero Server.
5. You will be provided with a Debug ID (e.g., “D12345678”). Please post the Debug ID in this thread.
OTOH, I believe I might have had a Zotero update this morning? I have automated updates on, so I didn't notice, but looking at the version history...
@bjohas Yes, it's still Firefox only