Thanks for the super prompt response! Output below for `zot a`.
[2017-12-21 14:46:20][input.scriptfilter] Queuing argument 'a'
[2017-12-21 14:46:21][input.scriptfilter] Script with argument 'a' finished
[2017-12-21 14:46:21][STDERR: input.scriptfilter] .
14:46:21 workflow.py:2055 DEBUG ---------- ZotHero (0.1.1) ----------
14:46:21 zh:280 DEBUG args={'--help': False,
'<key>': None,
'<query>': 'a',
'<style>': None,
'attachments': False,
'citations': False,
'copy': False,
'fields': False,
'search': True}
14:46:21 core.py:35 DEBUG [core] cachedir=u'~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred.zothero'
14:46:21 core.py:145 INFO [core] searching for "a" ...
14:46:21 util.py:123 DEBUG [util] copying u'/Users/mosb/Zotero/zotero.sqlite' to u'/Users/mosb/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred.zothero/zotero.sqlite' ...
14:46:21 core.py:93 DEBUG [core] storage=u'~/Zotero/storage'
14:46:21 core.py:94 DEBUG [core] styles=u'~/Zotero/styles'
14:46:21 zotero.py:188 DEBUG [zotero] database last modified 0.5 secs ago
14:46:21 index.py:184 DEBUG [index] not yet initialised
14:46:21 index.py:253 DEBUG [index] updating u'~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred.zothero/search.sqlite' ...
14:46:21 index.py:131 DEBUG [index] initialising u'~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred.zothero/search.sqlite' ...
14:46:21 index.py:139 DEBUG [index] opened u'~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred.zothero/search.sqlite'
14:46:21 zotero.py:180 DEBUG [zotero] opened database u'~/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Data/net.deanishe.alfred.zothero/zotero.sqlite'
14:46:21 workflow.py:2074 ERROR sequence item 0: expected string or Unicode, NoneType found
Traceback (most recent call last):
File "./lib/workflow/workflow.py", line 2067, in run
func(self)
File "./zh", line 289, in main
return do_search(query)
File "./zh", line 84, in do_search
entries = app.search(query)
File "./lib/zothero/core.py", line 146, in search
return self.index.search(query)
File "./lib/zothero/core.py", line 110, in index
self._index.update(self.zotero)
File "./lib/zothero/index.py", line 281, in update
u' '.join([d.name for d in e.attachments]),
TypeError: sequence item 0: expected string or Unicode, NoneType found
14:46:21 workflow.py:2097 DEBUG ---------- finished in 0.559s ----------
[2017-12-21 14:46:21][input.scriptfilter] {"items": [{"valid": false, "subtitle": "sequence item 0: expected string or Unicode, NoneType found", "icon": {"path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns"}, "title": "Error in workflow 'ZotHero'"}]}