Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion Fails with YAML warning #7

Closed
edward-agarwala opened this issue May 3, 2017 · 7 comments
Closed

Conversion Fails with YAML warning #7

edward-agarwala opened this issue May 3, 2017 · 7 comments
Assignees
Labels

Comments

@edward-agarwala
Copy link

Error: The YAML-block is malformatted. Line {0}, column {1}.

@manuth manuth self-assigned this May 3, 2017
@manuth
Copy link
Owner

manuth commented May 3, 2017

Hello Edward
YAML-Headers are currently required.
YAML-Headers must be placed on the very top of the file and must be formatted like this:

---
title: 'Hello World'
SomeMoreProperties: 'Value'
CreationDate: 2017-02-03
---
{Markdown-Content}

Sadly I cannot change this behaviour for the next week since I'm really very busy.
I'll fix this in the next version. Please stay patient.

Thanks for using MarkdownConverter

~Manu

@manuth manuth added the bug label May 3, 2017
@manuth manuth modified the milestones: Improve style-configuration handling, Fix issues related to YAML May 9, 2017
@manuth
Copy link
Owner

manuth commented May 9, 2017

I sadly couldn't reproduce the error.
Can you please send me the markdown-file you're trying to convert?

~Manu

@manuth
Copy link
Owner

manuth commented May 11, 2017

Hello, edward

Recent events revealed that this error occurs cause of platform compatibility issues.
Are you using a macOS-computer?
I'll try to work it out during the next few days.

@edward-agarwala
Copy link
Author

# Meeting
Atendees

    - me

## Topic 1

I am on mac OS 10.11.6.

@edward-agarwala
Copy link
Author

---
title: 'Hello World'
SomeMoreProperties: 'Value'
CreationDate: 2017-02-03
---
# Meeting
Atendees

    - me

## Topic 1

Also produces the same error.

@manuth
Copy link
Owner

manuth commented May 11, 2017

Hey edward
In this case it's the front-matter module not working correctly on macOS.
Sadly I don't have access to a macOS-machine so it may take some time to fix this issue.

Please stay patient

@manuth
Copy link
Owner

manuth commented May 22, 2017

Hello - I could finally find the source of the problem!
Honestly I mixed up the IDs of the YAMLException message and the PhantomJSRebuildException message, so that's why you've got such confusing messages.

Since you're always getting this error I assume PhantomJS cannot be rebuilt cause of SSL certification-errors or something like that.

I, for example, cannot rebuild PhantomJS in my company's network for some reason I don't know.
I'll fix the error-messages.

I honestly don't know how to handle the error during the rebuilding of phantomjs. I could include a prebuilt version of phantomjs for each platform but you see - that would blow my project pretty much s:

@manuth manuth closed this as completed in 7cd4e20 May 22, 2017
manuth added a commit that referenced this issue Jan 15, 2019
This commit finally fixes #7!
Additionally opening files now also is supported for macOS and Linux-OSes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants