-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
Open element in Zotero through citekey #769
Comments
🤖 this is your friendly neighborhood build bot announcing test build 4710 ("add item keys"). |
I've hooked into the existing select mechanism; |
Does not work. At all - Zotero partially hangs at start with message "Better BibTeX: Starting key manager...". "Partially" means, that menus in Zotero works, but the content of the window is inactive. Error report ID: AZRRUZK5 Tested with BBT 4710; with later (4719, 4721) the error does not appear but also the link does not work. |
🤖 this is your friendly neighborhood build bot announcing test build 4725 ("DB upgrade"). |
4725: links doesn't work, neither |
How do you test this? I have no idea how these work. |
PS. Standard link in the form of |
I've tried this; in chrome, it just googles that link, and in zotero, it tries to open Zotero a second time (which fails, because the profile is locked by the running Zotero). I can try at my work desktop which runs Linux; right here I only have a macbook. 4727 should drop here in a bit and that will have more debug logging; it'd be helpful to get a new debug log after accessing such a link. |
🤖 this is your friendly neighborhood build bot announcing test build 4727 ("debugging for #769"). |
When you paste the link into the address bar in Chrome (but do not press The build 4727 is working as it's expected: Zotero windows gets focus and the cursor follows to the reference. But the only in the version without group ID, ie: Report ID: 882ZXTWH |
Well at least the behavior is consistent now -- Chrome also wants to open a 2nd Zotero instance, which is not allowed because profile locked, yada yada 😆. Don't know how I've screwed up my machine (which I likely did), but this POS is due for a replacement anyhow. Just a few months more. The log had good information though -- 4736 will drop in a few minutes with a fix. |
🤖 this is your friendly neighborhood build bot announcing test build 4736 ("IDs are uri-encoded"). |
4736 should fix it. |
Sorry, but still no banana with 4736. Report ID: 8TX6JDKR |
🤖 this is your friendly neighborhood build bot announcing test build 4745 ("decodeURICompenent does not work?"). |
Still the same error. 4745 adds more logging. Sorry to have to lean on you guys for testing, but I can't trigger it here. |
You're doing a great piece of job with BBT, I'm just glad to help :) Report ID for 4745: DM5UX6BX |
🤖 this is your friendly neighborhood build bot announcing test build 4747 ("return libraryID, not unparsed lib"). |
4747 should do the trick (but then I claimed that before) |
Indeed. 4747 works :) Thanks! |
very interesting feature! |
I don't know - in the same way you'd get them for the regular selects I guess. I hijack the mechanism that supports /select/items/library_internalKey. How people used to get those I don't know. |
I don't use groups, so I haven't tested it before. But:
I'm not sure if it is a problem of BBT or wrong group ID; how to check the group ID is described here, but it seems to be deprecated. Anyway, the error report ID is: 6SRKPGD9 |
The group ID is a local thing I think. The debug report won't help -- the feature works as intended (select by group ID + citekey), but how you discover the group ID is outside BBTs scope. The "Get BibTeX URL" will likely have the lib id, but I can't test where I am now. See also https://forums.zotero.org/discussion/24241/linking-to-zotero-items-via-zotero-select and http://protips.maxmasnick.com/zotero-quickly-get-links-to-library-items-using-zotero-slash-slash-url-scheme-links . |
Yes! The "BibLaTeX URL" command gives the correct library ID and the links are ok now. |
Excellent! Links are working for me, also. |
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. |
Amazing plugin. I am wondering if there is any way of opening an item in Zotero through a URL if you only new the citekey. Let's say I have an item in Zotero with the citekey johnson2000molecules... Would it be possible to do something like zotero://bbt:johsnon2000molecules etc, and have Zotero open (or activate) with the right publication selected?
Thank you!
The text was updated successfully, but these errors were encountered: