Custom Processor not running 2.5.13 and 2.5.14

troy.pesola's Avatar

troy.pesola

17 May, 2018 04:22 PM

Brett,

I have been using Marked 2 for a while and use a custom processor for kramdown. It had been working great calling a bash script to setup the ruby environment then call the ruby processor.

When I installed 2.5.13 it stopped working. When I look at the log it appears that the custom processor is called, but then the default processor seems to be running afterward. The only errors that show up are "Failed to store data".

I have tried "update permissions" without seeing any difference.

There is a snippet from the debug log below.

Any suggestions?

-Troy


2018/05/17 10:11:49:707 | Executable is available 2018/05/17 10:11:49:707 | Processing using custom processor 2018/05/17 10:11:49:707 | Launching render task 2018/05/17 10:11:50:076 | Custom Processor Finished 2018/05/17 10:11:50:077 | Processed 2018/05/17 10:11:50:078 | Inserting included files (raw) from file:///Users/USER/Downloads/ 2018/05/17 10:11:50:078 | Inserting included files (raw) from file:///Users/USER/Downloads/ 2018/05/17 10:11:50:081 | Done loading from baseURL !!2018/05/17 10:11:50:081 | Failed to store data: [<NSDictionary0 0x61000001efc0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key windowScrollPoint. 2018/05/17 10:11:50:083 | Window feature handling finished 2018/05/17 10:11:50:086 | Finished processor operation !!2018/05/17 10:11:50:116 | Failed to store data: [<NSDictionary0 0x61000001efc0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key fullScreen. 2018/05/17 10:11:50:116 | JS: Beginning processing

  1. Support Staff 1 Posted by Brett on 17 May, 2018 08:06 PM

    Brett's Avatar

    Open Help->Show Custom Processor Log and let me know what output you
    show in STDERR (and possibly STDOUT).

    -Brett

  2. 2 Posted by troy.pesola on 17 May, 2018 10:14 PM

    troy.pesola's Avatar

    I created a simple markdown file to test, it is attached. If refresh with the custom processor on or off I get the same results.

    The STDERR is empty and the STDOUT is below


    This is a test

    • list

    one

    text

    two

    text


  3. Support Staff 3 Posted by Brett on 18 May, 2018 02:24 AM

    Brett's Avatar

    This indicates that the custom processor is returning properly. Is the
    result not what you're expecting? How do you know the custom processor
    isn't running?

    -Brett

  4. 4 Posted by troy.pesola on 18 May, 2018 02:27 AM

    troy.pesola's Avatar

    none of the kramdown syntax was accepted.

    running --> kramdown.sh test.md

    Produces the following:

    This is a test

    one

    text

    two

    text

  5. Support Staff 5 Posted by Brett on 25 May, 2018 03:20 PM

    Brett's Avatar

    Ok, so I had a similar report about Pandoc and it turned out Marked was
    stripping out some of the custom syntax prior to passing it to the
    custom processor. I have that one fixed, but I haven't figured out where
    the Kramdown syntax is going yet. I'm working on this and a fix will be
    included in next week's update.

    -Brett

  6. Support Staff 6 Posted by Brett on 25 May, 2018 04:17 PM

    Brett's Avatar

    Found the bug. I'll go ahead and submit the build for review today, and publish the direct version as soon as the MAS one is updated (or before, if review takes too long).

  7. 7 Posted by troy.pesola on 25 May, 2018 07:45 PM

    troy.pesola's Avatar

    Thank you!

  8. Brett closed this discussion on 31 May, 2018 12:37 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac