This problem may be unique to me. I tried to remove everything (including the com.hackademic.zotquery folder in application support) and reinstall the workflow, but for some reason it's not asking me about my sqlite so I get :
Starting debug for 'ZotQuery'
[ERROR: alfred.workflow.action.script] Code 1: 15:16:48 workflow.py:1263 ERROR local variable 'default_path' referenced before assignment
Traceback (most recent call last):
File "/Users/Chris/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.39A8D121-FA1B-447E-86CB-E48415514B69/workflow/workflow.py", line 1261, in run
func(self)
File "zotquery.py", line 1495, in main
print z_configurator.config()
File "zotquery.py", line 520, in config
return self.set_zot_paths()
File "zotquery.py", line 570, in set_zot_paths
""".format(self.ui_scpt, default_path)
UnboundLocalError: local variable 'default_path' referenced before assignment
15:16:53 workflow.py:1263 ERROR [Errno 2] No such file or directory: u'/Users/Chris/Library/Application Support/Alfred 2/Workflow Data/com.hackademic.zotquery/paths.json'
Traceback (most recent call last):
File "/Users/Chris/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.39A8D121-FA1B-447E-86CB-E48415514B69/workflow/workflow.py", line 1261, in run
func(self)
File "zotquery.py", line 1489, in main
z_cacher = ZotCache(_force, _personal_only)
File "zotquery.py", line 170, in __init__
self.zot_db = self.get_path('database_path')
File "zotquery.py", line 207, in get_path
with open(self.wf_obj.datafile("paths.json"), 'r') as file_obj:
IOError: [Errno 2] No such file or directory: u'/Users/Chris/Library/Application Support/Alfred 2/Workflow Data/com.hackademic.zotquery/paths.json'