Hello Stephen,
I'm not sure exactly what is going on, but the config process isn't happening for me.
My versions: OSX 10.9.4, Alfred 2.3, Python 2.7.5, Zotero 4.0.21.5, ZotQuery 8.5
After installing Zotquery, I run z:config through Alfred. It creates the workflow folder and prefs.json/settings.json files, but then does nothing afterwards. The only debug output that Alfred gives me is:
I see that the config file runs:
# then set the paths
python zotquery.py --config "paths"
# next get the user information
python zotquery.py --config "api"
# finally, set export preferences
python zotquery.py --config "prefs"
When trying to run these directly in the terminal, I get:
Mikels-MacBook-Air:~ mikelduffy$ python /Users/mikelduffy/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B4369E24-57D2-410F-B82D-71359CE0CD1E/zotquery.py --config "paths"
Traceback (most recent call last):
File "/Users/mikelduffy/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B4369E24-57D2-410F-B82D-71359CE0CD1E/zotquery.py", line 86, in <module>
bundler.init()
File "/Users/mikelduffy/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B4369E24-57D2-410F-B82D-71359CE0CD1E/bundler.py", line 509, in init
_update()
File "/Users/mikelduffy/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B4369E24-57D2-410F-B82D-71359CE0CD1E/bundler.py", line 288, in _update
'Your workflow will continue momentarily')
File "/Users/mikelduffy/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B4369E24-57D2-410F-B82D-71359CE0CD1E/bundler.py", line 258, in _notify
notifier = utility('terminal-notifier')
File "/Users/mikelduffy/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B4369E24-57D2-410F-B82D-71359CE0CD1E/bundler.py", line 194, in __call__
path = self.func(*args, **kwargs)
----Repeats ~200-300 times----
File "/Users/mikelduffy/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B4369E24-57D2-410F-B82D-71359CE0CD1E/bundler.py", line 473, in utility
_update()
File "/Users/mikelduffy/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.B4369E24-57D2-410F-B82D-71359CE0CD1E/bundler.py", line 282, in _update
update_data = json.load(file, encoding='utf-8')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 290, in load
**kw)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 351, in loads
return cls(encoding=encoding, **kw).decode(s)
RuntimeError: maximum recursion depth exceeded while calling a Python object
I'm not too sure where to go from here. Any tips? =)
Many thanks in advance!