Marked2 "Blank" Bug

's Avatar

ryanlelek

29 Dec, 2015 10:10 AM

Big supporter of Marked here, but I'm getting very annoyed by a bug.

Sometimes, when I open a file via Finder by double-clicking, Marked2 will show just a blank page.
Refreshing doesn't help, and I have to close the file and open it again (another "chance" for it to work)

This happens only on full app launch, and might have something to do with Marked2 being open before I open the file, instead of Marked2 opening as a result of my opening the file.

OS: 10.9.5 (latest)

  1. Support Staff 1 Posted by Brett on 29 Dec, 2015 01:51 PM

    Brett's Avatar

    Hi Ryan,

    I've never seen this happen, but I don't test extensively on 10.9.5
    anymore (just enough to figure out memory issues and such), and I can't
    replicate it on my 10.11 machine. Could you go into advanced
    preferences, turn on Debug -> All, then quit and see if you can
    replicate the issue? If you can get it to happen, I'd like to see the
    tail end of the log that's generated at the time, which you can access
    with Help -> Open Debug Log.

    -Brett

  2. 2 Posted by Ryan Lelek on 28 Jan, 2016 11:49 PM

    Ryan Lelek's Avatar

    Hi Brett,

    Any idea what's causing the long delay in startup?

  3. Support Staff 3 Posted by Brett on 29 Jan, 2016 03:25 PM

    Brett's Avatar

    That's a pretty vague question without any details.

    -Brett

  4. 4 Posted by Ryan Lelek on 29 Jan, 2016 11:34 PM

    Ryan Lelek's Avatar

    Sorry, looks like my email reply before didn't go through (viewing on support site now).
    Here's the diagnostic information I pulled shortly after our initial discussion in Dec 2015

    On Tue, Dec 29, 2015 at 8:51 AM, Ryan Lelek <[email blocked]> wrote:
    Great, happy to do that to help us solve it.

    Here's the Help -> Report an Issue menu item I found while looking through the menus:
    Tailed log is down further... and here's a video of the issue:
    http://cloud.ryanlelek.com/2Q1t0S1v0R2f

    // Please enter a detailed description of the issue
    // Description of the issue:

    // Please enter a list of steps required to reproduce the issue
    // Steps to reproduce:

    1.
    2.
    3.

    // If applicable please attach a sample document that causes the issue for you.

    // Configuration (do not edit)
    Marked 2 909 (Mac App Store)
    OS X Version: 10.9.5
    ---
    additionalMathJaxConfig: TRUE
    allowPageBreakInCode: 1
    bookTxtIsLeanpub: 0
    codeIsPoetry: 0
    collapsibleHeadlines: 0
    convertGithubCheckboxes: 1
    convertYAMLToMMD: 0
    defaultMathJaxConfig: TRUE
    defaultPreviewStyle: 0
    defaultProcessor: TRUE
    enableMiniMap: 0
    excludeBlockQuotesFromCounts: 0
    excludeFootnotesFromCounts: 0
    excludeVerbatimFromCounts: 0
    excludeCaptionsFromCounts: 0
    folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
    githubNewlines: 1
    h1IsPageBreak: 0
    h2IsPageBreak: 0
    hrIsPageBreak: 0
    includeMathJax: 0
    limitTextWidth: 0
    minimalJavaScript: 0
    outlineModeExtensions:
    permissionGranted: 0
    printHeaderBottomLeft: TRUE
    printHeaderBottomRight: TRUE
    printHeaderFooterFirstPage: 0
    printHeaderTopLeft: TRUE
    printHeaderTopRight: TRUE
    processHTMLFiles: 1
    removeMetadataForPreview: 0
    removeYAMLHeaders: 0
    scrollToEdit: 1
    shouldDetectCritic: 1
    shouldHighlightMarkupErrors: 0
    shouldLoadCritic: 0
    syntaxHighlight: 1

    Then here is the tailed log

    > 2015/12/29 08:45:30:533 | Processing document [2015-12-29 14:45:30 +0000]
    > 2015/12/29 08:45:30:548 | file:///Volumes/Files/Sites/Raneto/README.md opened with encoding 4
    > 2015/12/29 08:45:30:548 | Loading README.md succeeded
    > 2015/12/29 08:45:30:552 | Checking for includes
    > 2015/12/29 08:45:30:552 | Inserting included files (processed) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:45:30:553 | Extracting fenced code blocks
    > 2015/12/29 08:45:30:554 | Extracted 1 code blocks
    > 2015/12/29 08:45:30:554 | Extracting scrippets
    > 2015/12/29 08:45:30:555 | Extracted 0 scrippets
    > 2015/12/29 08:45:30:557 | Processing Markdown using internal lib
    > 2015/12/29 08:45:30:557 | Using Github newlines
    > 2015/12/29 08:45:30:558 | Enabling SmartyPants
    > 2015/12/29 08:45:30:558 | Starting mmd conversion
    > 2015/12/29 08:45:30:562 | mmd conversion complete
    > 2015/12/29 08:45:30:562 | Removing "markdown='0'"
    > 2015/12/29 08:45:30:562 | Processed
    > 2015/12/29 08:45:30:562 | Removing "markdown='0'"
    > 2015/12/29 08:45:30:562 | Inserting included files (raw) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:45:30:563 | Inserting included files (raw) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:45:30:563 | Replacing extracted code blocks
    > 2015/12/29 08:45:30:563 | Replaced 1 code blocks
    > 2015/12/29 08:45:30:563 | Replacing extracted code blocks
    > 2015/12/29 08:45:30:563 | Replaced 1 code blocks
    > 2015/12/29 08:45:30:610 | Done loading from baseURL
    > 2015/12/29 08:45:30:611 | Finished processor operation
    > 2015/12/29 08:45:30:618 | Window feature handling finished
    > 2015/12/29 08:45:30:644 | ------------ File update (VDKQueueFileAttributesChangedNotification): /Volumes/Files/Sites/Raneto/README.md
    > 2015/12/29 08:45:30:644 | Loading from baseURL
    > 2015/12/29 08:45:30:644 | Processing document [2015-12-29 14:45:30 +0000]
    > 2015/12/29 08:45:30:655 | file:///Volumes/Files/Sites/Raneto/README.md opened with encoding 4
    > 2015/12/29 08:45:30:655 | Loading README.md succeeded
    > 2015/12/29 08:45:30:655 | Checking for includes
    > 2015/12/29 08:45:30:656 | Inserting included files (processed) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:45:30:656 | Extracting fenced code blocks
    > 2015/12/29 08:45:30:658 | Extracted 1 code blocks
    > 2015/12/29 08:45:30:658 | Extracting scrippets
    > 2015/12/29 08:45:30:658 | Extracted 0 scrippets
    > 2015/12/29 08:45:30:659 | Processing Markdown using internal lib
    > 2015/12/29 08:45:30:659 | Using Github newlines
    > 2015/12/29 08:45:30:660 | Enabling SmartyPants
    > 2015/12/29 08:45:30:660 | Starting mmd conversion
    > 2015/12/29 08:45:30:662 | mmd conversion complete
    > 2015/12/29 08:45:30:663 | Removing "markdown='0'"
    > 2015/12/29 08:45:30:663 | Processed
    > 2015/12/29 08:45:30:663 | Removing "markdown='0'"
    > 2015/12/29 08:45:30:663 | Inserting included files (raw) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:45:30:663 | Inserting included files (raw) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:45:30:664 | Replacing extracted code blocks
    > 2015/12/29 08:45:30:664 | Replaced 1 code blocks
    > 2015/12/29 08:45:30:664 | Replacing extracted code blocks
    > 2015/12/29 08:45:30:664 | Replaced 1 code blocks
    > 2015/12/29 08:45:30:664 | No diff point, retaining last point
    > 2015/12/29 08:45:30:666 | Done loading from baseURL
    > 2015/12/29 08:45:30:666 | Finished processor operation
    > 2015/12/29 08:45:30:668 | Window feature handling finished
    > 2015/12/29 08:45:37:549 | Shutting down watchers, closing window
    > 2015/12/29 08:46:03:553 | Processing document [2015-12-29 14:46:03 +0000]
    > 2015/12/29 08:46:03:560 | file:///Volumes/Files/Sites/Raneto/README.md opened with encoding 4
    > 2015/12/29 08:46:03:560 | Loading README.md succeeded
    > 2015/12/29 08:46:03:560 | Checking for includes
    > 2015/12/29 08:46:03:560 | Inserting included files (processed) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:46:03:561 | Extracting fenced code blocks
    > 2015/12/29 08:46:03:562 | Extracted 1 code blocks
    > 2015/12/29 08:46:03:562 | Extracting scrippets
    > 2015/12/29 08:46:03:562 | Extracted 0 scrippets
    > 2015/12/29 08:46:03:564 | Processing Markdown using internal lib
    > 2015/12/29 08:46:03:564 | Using Github newlines
    > 2015/12/29 08:46:03:566 | Enabling SmartyPants
    > 2015/12/29 08:46:03:566 | Starting mmd conversion
    > 2015/12/29 08:46:03:569 | mmd conversion complete
    > 2015/12/29 08:46:03:569 | Removing "markdown='0'"
    > 2015/12/29 08:46:03:569 | Processed
    > 2015/12/29 08:46:03:569 | Removing "markdown='0'"
    > 2015/12/29 08:46:03:569 | Inserting included files (raw) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:46:03:569 | Inserting included files (raw) from file:///Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:46:03:570 | Replacing extracted code blocks
    > 2015/12/29 08:46:03:570 | Replaced 1 code blocks
    > 2015/12/29 08:46:03:570 | Replacing extracted code blocks
    > 2015/12/29 08:46:03:570 | Replaced 1 code blocks
    > 2015/12/29 08:46:03:617 | Done loading from baseURL
    > 2015/12/29 08:46:03:617 | Finished processor operation
    > 2015/12/29 08:46:03:636 | Window feature handling finished
    > 2015/12/29 08:46:10:865 | JS: Beginning processing
    > 2015/12/29 08:46:10:868 | JS: Starting javascript processing
    > 2015/12/29 08:46:10:869 | JS: Base URL: /Volumes/Files/Sites/Raneto/
    > 2015/12/29 08:46:10:872 | JS: Updated header IDs
    > 2015/12/29 08:46:10:874 | JS: Generated TOC
    > 2015/12/29 08:46:10:874 | JS: Updating collapsed sections
    > 2015/12/29 08:46:10:878 | JS: Highlighting code blocks
    > 2015/12/29 08:46:10:879 | JS: Updated header IDs
    > 2015/12/29 08:46:10:886 | JS: Stored collapsed sections
    > 2015/12/29 08:46:10:886 | JS: Updating collapsed sections
    > 2015/12/29 08:46:10:889 | JS: Updating page breaks (hidden)
    > 2015/12/29 08:46:10:889 | JS: Word count on selection
    > 2015/12/29 08:46:10:890 | JS: GitHub task lists
    > 2015/12/29 08:46:10:890 | JS: Setting up link behaviors
    > 2015/12/29 08:46:10:892 | JS: Initializing spell checking
    ! 2015/12/29 08:46:10:892 | No spelling cache
    > 2015/12/29 08:46:10:892 | JS: No spelling cache, lazy check disabled.
    > 2015/12/29 08:46:10:893 | JS: Binding bookmarks
    > 2015/12/29 08:46:10:894 | JS: JavaScript finished
    > 2015/12/29 08:46:10:992 | JS: Syntax highlighting finished
    > 2015/12/29 08:46:12:016 | JS: Fixing code block height
    > 2015/12/29 08:46:12:017 | JS: Fixing code block backgrounds
    > 2015/12/29 08:46:13:808 | Shutting down watchers, closing window

    On Tue, Dec 29, 2015 at 7:51 AM, Brett <[email blocked]> wrote:
    // Please reply above this line
    ==================================================
    From: Brett (Support staff)
    Subject: Marked2 "Blank" Bug

    Hi Ryan,

    I've never seen this happen, but I don't test extensively on 10.9.5
    anymore (just enough to figure out memory issues and such), and I can't
    replicate it on my 10.11 machine. Could you go into advanced
    preferences, turn on Debug -> All, then quit and see if you can
    replicate the issue? If you can get it to happen, I'd like to see the
    tail end of the log that's generated at the time, which you can access
    with Help -> Open Debug Log.

    -Brett

  5. Support Staff 5 Posted by Brett on 29 Jan, 2016 11:39 PM

    Brett's Avatar

    What is the file size of the first file opened in the video?

    Thanks,

    Brett

  6. 6 Posted by Ryan Lelek on 29 Jan, 2016 11:48 PM

    Ryan Lelek's Avatar

    2KB.
    Opened again and first it showed the contents, and formatted a few seconds later.
    Hardware used is a 2014 MacBook Pro, so it's not running on ancient/laggy hardware

    You can download a copy of the file README.md here:
    https://github.com/gilbitron/Raneto

  7. Support Staff 7 Posted by Brett on 30 Jan, 2016 12:30 AM

    Brett's Avatar

    Have you seen this with other files? Can you attach a copy of it that I can test with?

    Thanks,

    Brett

  8. 8 Posted by Ryan Lelek on 06 Feb, 2016 10:49 AM

    Ryan Lelek's Avatar

    I have seen this with numerous files on OS X 10.9
    File attached

  9. Support Staff 9 Posted by Brett on 06 Feb, 2016 06:02 PM

    Brett's Avatar

    Please open Help->Report Issue and copy in the configuration details for
    me.

    Thanks,
    Brett

  10. 10 Posted by Ryan Lelek on 09 Feb, 2016 12:58 PM

    Ryan Lelek's Avatar

    // Configuration (do not edit)
    Marked 2 909 (Mac App Store)
    OS X Version: 10.9.5
    ---
    additionalMathJaxConfig: TRUE
    allowPageBreakInCode: 1
    bookTxtIsLeanpub: 0
    codeIsPoetry: 0
    collapsibleHeadlines: 0
    convertGithubCheckboxes: 1
    convertYAMLToMMD: 0
    defaultMathJaxConfig: TRUE
    defaultPreviewStyle: 0
    defaultProcessor: TRUE
    enableMiniMap: 0
    excludeBlockQuotesFromCounts: 0
    excludeFootnotesFromCounts: 0
    excludeVerbatimFromCounts: 0
    excludeCaptionsFromCounts: 0
    folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
    githubNewlines: 1
    h1IsPageBreak: 0
    h2IsPageBreak: 0
    hrIsPageBreak: 0
    includeMathJax: 0
    limitTextWidth: 0
    minimalJavaScript: 0
    outlineModeExtensions:
    permissionGranted: 0
    printHeaderBottomLeft: TRUE
    printHeaderBottomRight: TRUE
    printHeaderFooterFirstPage: 0
    printHeaderTopLeft: TRUE
    printHeaderTopRight: TRUE
    processHTMLFiles: 1
    removeMetadataForPreview: 0
    removeYAMLHeaders: 0
    scrollToEdit: 1
    shouldDetectCritic: 1
    shouldHighlightMarkupErrors: 0
    shouldLoadCritic: 0
    syntaxHighlight: 1

  11. Support Staff 11 Posted by Brett on 09 Feb, 2016 02:19 PM

    Brett's Avatar

    Sorry about the repeated requests for config details, I lost track of the thread somewhere along the line.

    I'm not able to replicate this issue yet. There's a new version out for direct customers as of yesterday, but it's still in review for MAS customers. I'm not certain if it will fix your issue or not, but it does contain some fixes for 10.9. If you're interested in testing, I can send you a debug build.

  12. 12 Posted by Ryan Lelek on 12 Feb, 2016 01:57 PM

    Ryan Lelek's Avatar

    Happy to help as I can to solve it.
    I'll wait for the MAS update and see how that affects my issue.

  13. 13 Posted by Ryan Lelek on 14 Feb, 2016 03:38 PM

    Ryan Lelek's Avatar

    Fixed with new update.
    Thanks for your assistance and continued support of 10.9

  14. Support Staff 14 Posted by Brett on 14 Feb, 2016 03:54 PM

    Brett's Avatar

    Glad to hear it!

    Thanks,

    Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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