Jump to content


  • Content Count

  • Joined

  • Last visited

  1. @Terminal, could you share the workflow or the py script you are using?
  2. I gave it a few more runs and here is what I am getting: [14:27:48.838] Logging Started... [14:27:56.053] Pandoctor[Keyword] Processing complete [14:27:56.054] Pandoctor[Keyword] Passing output '' to Run Script [14:27:59.285] ERROR: Pandoctor[Run Script] . 14:27:56 workflow.py:2063 DEBUG ---------- Pandoctor ---------- 14:27:56 pandoctor.py:1206 DEBUG {u'<argument>': None, u'<flag>': None, u'config': True, u'help': False, u'launch': False, u'run': False, u'search': False, u'store': False} 14:27:56 workflow.py:1695 DEBUG loading cached data: /Users/PATH/Workflow Data/com.hackademic.pandoctor/runner.cpickle 14:27:59 workflow.py:2080 ERROR local variable 'outputs' referenced before assignment Traceback (most recent call last): File "/Users/PATH/workflows/user.workflow.6B66C5E8-4C90-42A7-9B89-CF227389ECF5/workflow/workflow.py", line 2073, in run func(self) File "pandoctor.py", line 1208, in main res = pd.run(args) File "pandoctor.py", line 355, in run return method() File "pandoctor.py", line 429, in config_codepath self.pandoc.config() File "pandoctor.py", line 121, in config self.store('pandoc', 'outputs', self._formats('output')) File "pandoctor.py", line 234, in _formats for out in outputs: UnboundLocalError: local variable 'outputs' referenced before assignment 14:27:59 workflow.py:2103 DEBUG ---------- finished in 2.938s ---------- [14:27:59.300] Pandoctor[Run Script] Processing complete [14:27:59.301] Pandoctor[Run Script] Passing output '<?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Error in workflow 'Pandoctor'</title><subtitle>local variable 'outputs' referenced before assignment</subtitle><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items>' to Post Notification Considering that the previous issue had to do with the get function, and that the Pandoc website probably changed the content of the page, it might have to do with that. I checked those lines in the scripts to see if they would make any sense to me, but I don't really know enough python to understand what's wrong. Any insight is much appreciated.
  3. Hi Stelios, I could not find instructions for using a template anywhere. Where do you place them? Thanks
  4. I know. My question was directed to you and others in order to know if you were still using it and if so by means of which fix. It might be the case that someone took the trouble of fixing it, but perhaps not to post it here or elsewhere.
  5. Are you guys still using this workflow? I tried the suggested fixes, but to no avail. Considering how Pandoc is such an important tool for those writing in plain text, I find it a shame that this should remain broken (considering it is the case). I went as far as creating an Keyboard Maestro macro for using Pandoc with input for parameters, but it is rather rudimentary compared to what this workflow could do. If I can't get this to work, I will try to recreate some of its functions (in Alfred) using Applescript, as that is the best I can do (I am rather clueless in python).
  6. Incredibly useful workflow. Thank you for it, @deanishe. I was wondering if it is possible to set up a match column on the sheet or if the workflow will always match the title only.
  • Create New...