ccbirdsall
-
Posts
6 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by ccbirdsall
-
-
[ERROR: alfred.workflow.action.script] Code 0: execution error: Expected expression but found end of line. (-2741) execution error: Expected expression but found end of line. (-2741) 354:356: syntax error: A end of line can’t go after this “)”. (-2740)
Getting that now.
-
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'
-
No. Thats my fault. I upgraded to html2text instead of html2md but left the old module in there. I fixed it for 8.0.2. Sorry
No problem! I am still getting the same error for some reason. For whatever reason it is not seeing html2text.
-
Do simple single quotes work with Pandoc? For example, if this "O’Toole" breaks Pandoc, does this work: "O'Toole"? If so, it's an easy fix. I confess tho that I'm a bit surprised the Pandoc is breaking under such minor conditions. It appears that this was fixed long ago (see here for example).But a problem is a problem, so I've just posted version 8.0.1 to Packal. It fixes only this issue, but it does fix it. It replace smart apostrophes with "dumb" (i.e. ASCII) ones.Hope that helps,stephen
Awesome! Thanks for being so responsive. But I am running into an issue with the new version:
bird:user.workflow.07F575B3-FF6C-430E-B6ED-B7824069EEA0 Chris$ python zotquery.py --filter "none" "debug" Traceback (most recent call last): File "zotquery.py", line 91, in <module> import html2text ImportError: No module named html2text
I reinstalled 8 to confirm that it was still working. Please let me know if there's any other information I can give you that would be helpful. I'm not sure whether this is something unique to my setup.
-
Thanks for the update! I'm running into a problem with the bibtex keys zotquery generates. Someone I have to cite a lot has a last name with ’ (O’Toole). I use pandoc and it will not run if my cite keys have that kind of character in them. Would it be possible to tweak your code so it does not include ’ when it generates the cite key? I can fix it with find and replace, but a more permanent solution is preferable. If this is not something you want to implement can you please give an idea of where in your code I might be able to make this change? Thanks!
Gmail Client for Alfred
in Share your Workflows
Posted
For some reason it just hangs at "Contacting gmail.com...". Any ideas on what might be happening?