Jump to content

ccbirdsall

Member
  • Posts

    6
  • Joined

  • Last visited

ccbirdsall's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. For some reason it just hangs at "Contacting gmail.com...". Any ideas on what might be happening?
  2. [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.
  3. 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'
  4. No problem! I am still getting the same error for some reason. For whatever reason it is not seeing html2text.
  5. 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.
  6. 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!
×
×
  • Create New...