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

Errors while running on Windows 7 #7

Open
mohsentaleb opened this issue Dec 16, 2016 · 18 comments
Open

Errors while running on Windows 7 #7

mohsentaleb opened this issue Dec 16, 2016 · 18 comments

Comments

@mohsentaleb
Copy link

Hi,
I get some errors at the end of each file download, but it's saved on disk anyway.
I'm running the following command in this path: C:\Users\Mohsen\Desktop\soundcloud
$ nehm get 100

and I get this log messages:

nehm-windows

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

Thanks for issue!

So many errors😰
It's very strange, what on Windows you have third error, because only on macOS tracks can't be added to iTunes.
Can you please send here, what did you entered (whole command, flags and etc.) to execute nehm.

Can you please send me links to these tracks?
I try to reproduce it on my computer

@mohsentaleb
Copy link
Author

mohsentaleb commented Dec 16, 2016

This is the exact command I ran:
$ nehm get 100
My profile name in soundcloud is mohsentaleb. The issue I'm having consists of two different problems:

  1. When the name of the track which is being saved is in English, the track is saved on disk but an error message is logged on screen.
  2. When the name of the track has utf-8 characters, the progress bar goes to 100% , an error is logged and the file is not saved on disk.

You can reproduce problem number 2 with this track: https://soundcloud.com/arsham_htn/cnmudbr0220i
and for problem number 1: https://soundcloud.com/mahan-farzad/life-story

@mohsentaleb
Copy link
Author

Another weird behavior with this track: https://soundcloud.com/cmdigital/dirk-maassen-solstice
Can't be saved at all.

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

Which error do you have?

@mohsentaleb
Copy link
Author

mohsentaleb commented Dec 16, 2016

I'm having both problem number 1 and 2 in #7 (comment). The final error logs of my run is as below:
untitled-2

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

#1 and #2 are not vaild issues, because at first nehm was written on ruby and these issues were because of ruby.

@mohsentaleb
Copy link
Author

I think there was a mistyping with my comment and you were misdirected. Please read this comment again, I edited that: #7 (comment)

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

Bugs with exit status 23 are because of persian symbols, I think.

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

Yes, I didn't notice changes in your first comment.
First problem is because of the situation, what nehm successfully downloads track, but tries to add to iTunes (I don't know why, because nehm should add tracks to iTunes only on macOS. It's very strange). I can't reproduce it on my mac, because it works fine on it.
Second problem is because of maybe Windows` filesystem doesn't support unicode characters. I'll try to fix it. Also works fine on macOS

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

Can you send me please, which config file do you have?
At least itunesPlaylist and dlFolder values

@mohsentaleb
Copy link
Author

This is my .nehmconfig file:

permalink: mohsentaleb
dlFolder: ./
itunesPlaylist: iPod

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

If you will delete third line, errors with osascript will be fixed.
Adding to iTunes is possible only on macOS.

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

Try to delete line with dlFolder in your config and try to execute nehm one more time.
Please send me screen of result then.

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

It's very hard to fix issues on Windows, because I haven't got any Windows machine.
And I don't want to buy Windows license. It's expensive for me only to test the nehm on it.

@mohsentaleb
Copy link
Author

This is the log screen when I deleted the dlFolder and itunesPlaylist option in config file:
untitled-5

@n10v
Copy link
Owner

n10v commented Dec 16, 2016

I fixed some issues
Try to:

go get -u github.com/bogem/id3v2
go get -u github.com/bogem/nehm
go install github.com/bogem/nehm

Execute nehm and send the results please😊

@mohsentaleb
Copy link
Author

Hi, Still getting errors with the new version.
untitled

@n10v
Copy link
Owner

n10v commented Dec 17, 2016

Yes, because I didn't fix the bug when filename contains persian symbols.
I will fix it during the christmas holidays, hopefully.

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