tag:support.markedapp.com,2011-09-11:/discussions/problems/3072-add-o-to-asciidocpy-processor-and-now-marked-crashesMarked: Discussion 2016-08-11T03:30:33Ztag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:15:34Z2013-02-05T14:15:34Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>I'm not sure why this is happening, but the easiest answer may
be to wrap<br>
asciidoc in a script with the necessary arguments and call that
from Marked.</p>
<p>Do you have a crash report for this in Console.app?</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:26:52Z2013-02-05T14:26:52Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>I see this when starting marked.app:</p>
<p>Feb 5 09:25:31 slowbeard.local Marked[40548]: Custom processor
is available<br>
Feb 5 09:25:31 slowbeard.local Marked[40548]: Initial load from
baseURL<br>
Feb 5 09:25:31 slowbeard.local Marked[40548]: Loading<br>
Feb 5 09:25:31 slowbeard.local Marked[40548]:
contributing_to_jbosstools.md opened with encoding 4<br>
Feb 5 09:25:31 slowbeard.local Marked[40548]: Monitoring CSS<br>
Feb 5 09:25:31 slowbeard.local Marked[40548]: Using custom
processor<br>
Feb 5 09:25:31 slowbeard.local Marked[40548]: Launching render
task<br>
Feb 5 09:25:32 slowbeard com.apple.launchd.peruser.501<a href=
"%5B0x0-0xe19e19%5D.com.brettterpstra.marky%5B40548%5D">273</a>:
Exited abnormally: Broken pipe: 13</p>
<p>Can I somehow reset the settings by deleting/manipulating some
settings file somewhere ?</p></div>max.andersentag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:32:00Z2013-02-05T14:32:00Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>You can delete the preference file at<br>
~/Library/Preferences/com.brettterpstra.marky.plist and it should
allow you to start Marked again. There should also be a series of
".crash" files in<br>
your Console.app left bar for Marked, if you could send me the most
recent<br>
one of those it might help track the issue down.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:39:17Z2013-02-05T14:39:17Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>I'm not seeing any .crash files in console.app - sorry :(</p>
<p>Do you know where on the filesystem they would be stored ?</p>
<p>I did remove the .plist file and created a marked.sh with</p>
<p>asciidoctor.py -o -</p>
<p>and it failed in same way when trying to save :(</p></div>max.andersentag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:42:52Z2013-02-05T14:42:52Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>I found system log mention a marked app crash file, i've
attached it here.</p></div>max.andersentag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:43:50Z2013-02-05T14:43:50Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>Make sure your script has a hash bang line:</p>
<p>#!/bin/bash</p>
<p>And is set to executable.</p>
<p>I'll do some testing on my end as well.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:45:17Z2013-02-05T14:45:17Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>hash bang doesn't make a difference and .sh was set to
executable.</p></div>max.andersentag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:49:55Z2013-02-05T14:49:55Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>I'll get asciidoc installed and test, and will get back to you
as soon as<br>
I'm able. Thanks for your patience.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:53:58Z2013-02-05T14:53:58Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>Try it without the "-o". Just <code>asciidoc.py -</code>. Let me
know if that helps at<br>
all. I note that asciidoc outputs a full HTML structure with
scripts, which<br>
is problematic for Marked (it needs just a snippet so it can wrap
the<br>
output in its own structure). You should at least be able to tell
if it's<br>
working, though.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T14:57:20Z2013-02-05T14:57:20Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>At the moment marked.app just crashes no matter if I add -o - or
not :(</p></div>max.andersentag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T15:10:37Z2013-02-05T15:10:37Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>setting "asciidoc.py -" marked.app freezes.</p></div>max.andersentag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T15:14:05Z2013-02-05T15:14:05Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>Freezes as opposed to crashing? I think that's because of the
output that<br>
asciidoc is creating, which just might not work with Marked. Is
there a way<br>
to prevent asciidoc from generating all of the extra markup and
just<br>
returning the HTML snippet for the passed text?</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/245987322013-02-05T16:07:56Z2013-02-05T16:07:56Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>yes freezing.</p>
<p>and unfortunately no, asciidoc seem to just dump out full docs
;(</p></div>max.andersentag:support.markedapp.com,2011-09-11:Comment/245987322015-12-23T00:23:21Z2015-12-23T00:23:21Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>I get asccidoctor works with marked 2. In Args, I write</p>
<p>-b html5 --out-file - -</p>
<p>note the extra -</p></div>jorge.cangastag:support.markedapp.com,2011-09-11:Comment/245987322016-01-24T09:27:09Z2016-01-24T09:27:10Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>I tried now again but I keep being told my asciidoctor process
is not executable even though it is ;/</p></div>Maxtag:support.markedapp.com,2011-09-11:Comment/245987322016-01-24T14:20:13Z2016-01-24T14:20:13Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>what if you add <code>-o - -</code> with the extra dash?</p>
<p>If you're on the MAS version, you'll also have better luck
setting the<br>
processor path to <code>/usr/bin/python</code> and the args to the
actual path to<br>
asciidoc.py With my brew installation, this path is a symlink that
leads<br>
to <code>/usr/local/Cellar/asciidoc/8.6.9/bin/asciidoc.py</code>.
Adding '-o - -'<br>
works for me.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/245987322016-02-03T07:56:28Z2016-02-03T07:56:29Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>I'm using asciidoctor (not the old asciidoc ;), but your tip got
me further.</p>
<p>It seem I <em>have</em> to use the systems ruby at
(/usr/bin/ruby) and can't use my user installed ruby at
/Users/me/.rvm/rubies/ruby-1.9.3-p547/bin/ruby</p>
<p>MAS apps don't have access to execute files from user dir ? If
that is the case it might be good to check for that because the UI
feels like "blocking" when it pops up the suggestion to mark it
executable but does never go away.</p></div>Maxtag:support.markedapp.com,2011-09-11:Comment/245987322016-02-03T15:40:03Z2016-02-03T15:40:03Zadd "-o -" to asciidoc.py processor and now marked crashes<div><p>This is a new issue in the MAS version on 10.11 (SIP). I'm
working on<br>
either a workaround or a better notification/documentation system
for<br>
it.</p></div>Brett