Jump to content

skellis

Member
  • Posts

    10
  • Joined

  • Last visited

skellis's Achievements

Helping Hand

Helping Hand (3/5)

1

Reputation

  1. Some details: Pandoc: pandoc-1.13.2 Pandoctor V1.0.5 downloaded from http://www.packal.org/workflow/pandoctor Alfred: v2.5.1 (308) in Folder "Workflow Data" there is a single folder: "com.hackademic.pandoctor". In that folder are two files: - user_ignore.json - user_templates.json There's no cache directory in Alfred 2 Application support dir. Anything I've missed? Thanks again for your swift responses. ske
  2. Thanks Steven I've reinstalled it but get the same error. Also, when I run the conversion the [template] option is already selected – see attached. Confusing! ske
  3. There are two files in there (both with no contents): - user_ignore.json - user_templates.json When I look at the template option during a pandoctor conversrion the [template] option is selected – don't seem to be able to unselect it like I can with other options ... ske
  4. Thanks Stephen. I've been working on using reference documents but perhaps selected a template accidentally. So, no, no templates selected (working my way up to using them). In the short term, how do I take the template= out of the command? cheers Simon
  5. Thanks. Here it is (with errors!). Starting debug for 'Pandoctor' [iNFO: alfred.workflow.trigger.action] Processing output 'alfred.workflow.action.script' with arg '( "/Users/skellis/Downloads/rose.md" )' [ERROR: alfred.workflow.action.script] Code 0: 16:26:07 pandoctor.py:1206 DEBUG {u'<argument>': u'/Users/skellis/Downloads/rose.md', u'<flag>': u'in_path', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': False, u'store': True} 16:26:07 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:07 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:26:07 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache [iNFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.script' with arg '' [ERROR: alfred.workflow.output.script] Code 0: 16:26:07 pandoctor.py:1206 DEBUG {u'<argument>': u'[path]', u'<flag>': u'pandoc_inputs', u'config': False, u'help': False, u'launch': True, u'run': False, u'search': False, u'store': False} 16:26:07 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:07 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [ERROR: alfred.workflow.input.scriptfilter] Code 0: 16:26:07 pandoctor.py:1206 DEBUG {u'<argument>': u'markdown', u'<flag>': u'inputs', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': True, u'store': False} 16:26:07 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:07 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [iNFO: alfred.workflow.input.scriptfilter] Processing output 'alfred.workflow.action.script' with arg 'markdown' [ERROR: alfred.workflow.action.script] Code 0: 16:26:10 pandoctor.py:1206 DEBUG {u'<argument>': u'markdown', u'<flag>': u'in_format', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': False, u'store': True} 16:26:10 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:10 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:26:10 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache [iNFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.script' with arg '' [ERROR: alfred.workflow.output.script] Code 0: 16:26:10 pandoctor.py:1206 DEBUG {u'<argument>': u'', u'<flag>': u'pandoc_outputs', u'config': False, u'help': False, u'launch': True, u'run': False, u'search': False, u'store': False} 16:26:10 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:10 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [ERROR: alfred.workflow.input.scriptfilter] Code 0: 16:26:10 pandoctor.py:1206 DEBUG {u'<argument>': u'', u'<flag>': u'outputs', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': True, u'store': False} 16:26:10 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:10 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [ERROR: alfred.workflow.input.scriptfilter] Code 0: 16:26:14 pandoctor.py:1206 DEBUG {u'<argument>': u'd', u'<flag>': u'outputs', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': True, u'store': False} 16:26:14 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:14 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [ERROR: alfred.workflow.input.scriptfilter] Code 0: 16:26:14 pandoctor.py:1206 DEBUG {u'<argument>': u'do', u'<flag>': u'outputs', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': True, u'store': False} 16:26:14 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:14 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [ERROR: alfred.workflow.input.scriptfilter] Code 0: 16:26:15 pandoctor.py:1206 DEBUG {u'<argument>': u'doc', u'<flag>': u'outputs', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': True, u'store': False} 16:26:15 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:15 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [iNFO: alfred.workflow.input.scriptfilter] Processing output 'alfred.workflow.action.script' with arg 'docx' [ERROR: alfred.workflow.action.script] Code 0: 16:26:16 pandoctor.py:1206 DEBUG {u'<argument>': u'docx', u'<flag>': u'out_format', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': False, u'store': True} 16:26:16 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:16 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:26:16 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache [iNFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.script' with arg '' [ERROR: alfred.workflow.output.script] Code 0: 16:26:16 pandoctor.py:1206 DEBUG {u'<argument>': u'', u'<flag>': u'pandoc_options', u'config': False, u'help': False, u'launch': True, u'run': False, u'search': False, u'store': False} 16:26:16 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:16 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [ERROR: alfred.workflow.input.scriptfilter] Code 0: 16:26:16 pandoctor.py:1206 DEBUG {u'<argument>': u'', u'<flag>': u'options', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': True, u'store': False} 16:26:16 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:16 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [iNFO: alfred.workflow.input.scriptfilter] Processing output 'alfred.workflow.action.script' with arg '[done]' [iNFO: alfred.workflow.trigger.external] Processing output 'alfred.workflow.action.script' with arg 'gui' [ERROR: alfred.workflow.action.script] Code 0: 16:26:18 pandoctor.py:1206 DEBUG {u'<argument>': u'[done]', u'<flag>': u'options', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': False, u'store': True} 16:26:18 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:18 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache [iNFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.script' with arg '[pause] ' [ERROR: alfred.workflow.action.script] Code 0: 16:26:18 pandoctor.py:1206 DEBUG {u'<argument>': None, u'<flag>': u'gui', u'config': False, u'help': False, u'launch': False, u'run': True, u'search': False, u'store': False} 16:26:18 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:18 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:26:18 pandoctor.py:1092 DEBUG [u'/usr/local/bin/pandoc', u'--from=markdown', u'--to=docx', u'--parse-raw', u'--smart', u'--normalize', u'--standalone', u'--template=, u'--reference-docx=reference.docx', u'--output=/Users/skellis/Downloads/rose.docx', u'/Users/skellis/Downloads/rose.md] pandoc: Could not find data file templates/.docx 16:26:18 pandoctor.py:1098 DEBUG [iNFO: alfred.workflow.action.script] Processing output 'alfred.workflow.output.notification' with arg '' [ERROR: alfred.workflow.output.script] Code 0: 16:26:18 pandoctor.py:1206 DEBUG {u'<argument>': u'[pause]\n', u'<flag>': u'pandoc_options', u'config': False, u'help': False, u'launch': True, u'run': False, u'search': False, u'store': False} 16:26:18 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:26:18 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache
  6. Hello I've been using pandoctor alfred workflow to run the John McFarlane's pandoc. However, the other day it simply stopped working (without apparent cause). I don't get any error messages or evidence that something is wrong with the install. If I run pandoc 'manually' via the terminal it still works perfectly. Any ideas? I've uninstalled and then reinstalled (and rerun the config) – but no luck. Below is the dr:config just in case that's helpful. Thanks in advance. Simon Starting debug for 'Pandoctor' [ERROR: alfred.workflow.action.script] Code 0: 16:15:11 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} 16:15:11 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:15:11 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:15:12 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:15:12 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:15:13 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:15:13 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:15:13 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:15:13 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:15:13 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 16:15:13 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache
  7. I would never have imagined it was so simple! I ran it and then checked the workflow and it worked just fine. Nevertheless, below is the dr:config output just in case you still want to look. Thanks for your patience and time (on a Sunday). Simon Starting debug for 'Pandoctor' [ERROR: alfred.workflow.action.script] Code 0: 18:41:59 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} 18:41:59 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 18:42:00 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 18:42:00 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 18:42:01 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 18:42:01 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 18:42:01 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 18:42:01 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 18:42:02 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache 18:42:02 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/pandoc.cache
  8. Thanks for quick response Stephen. How do I go about running the dr:config command? (apologies for newbie question).
  9. Hello I'm trying to get the Pandoctor alfred gui working but am getting a "NoneType" error when I try and start a "New Pandoc Conversion" in Alfred. Alfred debug output below. Any ideas? Thanks. Simon Starting debug for 'Pandoctor' [ERROR: alfred.workflow.action.script] Code 0: 16:46:07 pandoctor.py:1206 DEBUG {u'<argument>': u'/Users/skellis/Desktop/main.md', u'<flag>': u'in_path', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': False, u'store': True} 16:46:07 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:46:07 workflow.py:970 DEBUG Cached data saved at : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache [ERROR: alfred.workflow.output.script] Code 0: 16:46:08 pandoctor.py:1206 DEBUG {u'<argument>': u'[path]', u'<flag>': u'pandoc_inputs', u'config': False, u'help': False, u'launch': True, u'run': False, u'search': False, u'store': False} 16:46:08 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache [ERROR: alfred.workflow.input.scriptfilter] Code 1: 16:46:08 pandoctor.py:1206 DEBUG {u'<argument>': u'markdown', u'<flag>': u'inputs', u'config': False, u'help': False, u'launch': False, u'run': False, u'search': True, u'store': False} 16:46:08 workflow.py:940 DEBUG Loading cached data from : /Users/skellis/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/com.hackademic.pandoctor/runner.cache 16:46:08 workflow.py:1275 ERROR 'NoneType' object has no attribute '__getitem__' Traceback (most recent call last): File "/Users/skellis/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.1230B144-9692-4DEC-9A81-614D64C5BF08/workflow/workflow.py", line 1273, 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 442, in search_codepath data = getattr(self.pandoc, prop, None) File "pandoctor.py", line 167, in inputs return self.data['inputs'] TypeError: 'NoneType' object has no attribute '__getitem__'
×
×
  • Create New...