Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

couldn't unmarshal the config file: yaml: line 1: did not find expected hexdecimal number #4

Closed
redwards510 opened this issue Aug 4, 2016 · 5 comments

Comments

@redwards510
Copy link

OS: windows 10

command executed:
nehm get https://soundcloud.com/ashatack/28th-july-the-just-on-track-showcase-with-ashatack-2016

error message:
couldn't unmarshal the config file: yaml: line 1: did not find expected hexdecimal number

contents of .nehmconfig file:

permalink: "krakenskulls"
dl_folder: "c:\users\ryan\music"

@n10v
Copy link
Owner

n10v commented Aug 4, 2016

It seems that you have extra spaces in your nehm config file: ruby/psych#190 (comment)

Try to delete all possible extra spaces in your nehm config
Or try to just copy-paste these lines:

permalink: krakenskulls
dl_folder: c:\users\ryan\music

@redwards510
Copy link
Author

Interesting. You are right, there were some trailing spaces after the values and before the newlines. Now when I execute the same command, I get this:

Downloading 28th July -The Just On Track Showcase With Ashatack - 2016
download failed: exec: "curl": executable file not found in %!P(MISSING)ATH%!(NOVERB)

But that is a separate issue I suppose.

@n10v
Copy link
Owner

n10v commented Aug 6, 2016

@redwards510 yes, it is exactly separate issue. On windows there are no pre-installed curl command. That's why this bug occurs.
Try to install curl like here

@redwards510
Copy link
Author

@BoGeM I do have curl installed in my path though... I'm not sure what %!P(MISSING)ATH%!(NOVERB) is though.

@n10v
Copy link
Owner

n10v commented Aug 7, 2016

I'm also don't know what it is. I think, in future releases I will remove dependency from curl and build in my own tiny downloader.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants