Jump to content

ZotHero — Generate Zotero citations in Alfred


Recommended Posts

For those who are having trouble with this workflow, if you are willing to use a BibTeX intermediate (which is necessary for many workflows), This is a superb alternative with the developer active and working on this:

 

 

It functions really well across many different reference managers (I use Bookends, will work with Zotero if you use BetterBibTeX), and is very fast for search and insert when writing using markdown or LaTeX...

Edited by iandol
Link to comment

@iandol - thanks for drawing attention to that workflow. A quick tinker with it wasn't working for me (I don't actively use Bibtex, even though I've installed the Zotero/Bibtex plugin, so even configuring the workflow to point to my base Zotero directory wasn't finding my library), but I'll definitely keep an eye on it.

 

On the other hand, this Zotero workflow has started working again, after i changed the Zotero export type back to BetterBibText (I had changed it to a particular style when the workflow stopped working, but changing it back to BBT seems to have resolved the error I was seeing).

 

 

Link to comment
On 7/8/2022 at 5:58 AM, lutefish said:

I'm suddenly getting a new error that precludes all use (with Alfred 5, so perhaps I should post it over there?) "NoneType object is not subscriptable" 

 

Let me know if you need more to figure out what's changed.

 

I am now getting the same error. I have decided to go with the alternate suggested on this thread.

Link to comment
On 7/8/2022 at 3:58 AM, lutefish said:

I'm suddenly getting a new error that precludes all use (with Alfred 5, so perhaps I should post it over there?) "NoneType object is not subscriptable" 

 

Let me know if you need more to figure out what's changed.

Most of such errors can be remove by update the data through zothero configuration. It works well until the newest  Alfred 5 version. It's really strange that zothero still work for the Alfred 5 beta version.

Link to comment

I find the workflow doesn't work any more, when you type to search something it just returns nothing. here is the debug info

 

[13:48:29.481] Logging Started...
[13:48:34.579] ERROR: ZotHero[Script Filter] Code 126: /Users/yutang/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/AC95751A-F50A-4B1B-91C9-32B6066AD3F3: ./zh: /usr/bin/python: bad interpreter: No such file or directory
[13:48:34.756] ERROR: ZotHero[Script Filter] Code 126: /Users/yutang/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/AC95751A-F50A-4B1B-91C9-32B6066AD3F3: ./zh: /usr/bin/python: bad interpreter: No such file or directory
[13:48:35.344] ERROR: ZotHero[Script Filter] Code 126: /Users/yutang/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/AC95751A-F50A-4B1B-91C9-32B6066AD3F3: ./zh: /usr/bin/python: bad interpreter: No such file or directory

 

Could you please tell me what's the problem? I believe that I've have python3 installed on my Mac

Link to comment

When asking about an existing Workflow, it’s best to use its own forum thread. While it may seem that starting a new thread could give your problem visibility, it fragments the discussion and makes it less likely the author and users of the workflow (the people who can help) will see it.

 

I have moved the post to the correct thread.

 

6 hours ago, YuTang said:

I believe that I've have python3 installed on my Mac

 

But not the correct version of the Workflow. Use @giovanni’s fork.

Link to comment
  • 3 months later...

FYI, this stopped working (again) after updating to Mac OS 13.

 

Looking at the debugger gave the following error: 

 

 Code 1: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

 

Re-loading the Command Line Developer Tools (terminal, xcode-select --install) fixed the issue.

 

Link to comment
  • 2 weeks later...
On 7/23/2022 at 7:18 AM, grothen said:

I find the bug. The Zotero or some new extension use link as "...library/items..."  while the url get by zothero is  ".../items/1_...". It works after I modify the url.

 

Hi,

Can you share where you did the change?

I updated Alfred 5.0.5 and suddenly see the

 "NoneType object is not subscriptable" 

 error.

 

Thanks!

 

 

Edit:

Reinstall the workflow does not solve the issue.

go to "zotconf" and choose "Reload Zotero Data" has resolved the issue for me.

 

Edited by nituren
found a solution.
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...