nehm icon indicating copy to clipboard operation
nehm copied to clipboard

Errors while running on Windows 7

Open mohsentaleb opened this issue 7 years ago • 18 comments

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

mohsentaleb avatar Dec 16 '16 17:12 mohsentaleb

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

n10v avatar Dec 16 '16 19:12 n10v

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 avatar Dec 16 '16 19:12 mohsentaleb

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

mohsentaleb avatar Dec 16 '16 19:12 mohsentaleb

Which error do you have?

n10v avatar Dec 16 '16 19:12 n10v

I'm having both problem number 1 and 2 in https://github.com/bogem/nehm/issues/7#issuecomment-2676799999. The final error logs of my run is as below: untitled-2

mohsentaleb avatar Dec 16 '16 20:12 mohsentaleb

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

n10v avatar Dec 16 '16 20:12 n10v

I think there was a mistyping with my comment and you were misdirected. Please read this comment again, I edited that: https://github.com/bogem/nehm/issues/7#issuecomment-267679999

mohsentaleb avatar Dec 16 '16 20:12 mohsentaleb

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

n10v avatar Dec 16 '16 20:12 n10v

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 avatar Dec 16 '16 20:12 n10v

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

n10v avatar Dec 16 '16 20:12 n10v

This is my .nehmconfig file:

permalink: mohsentaleb dlFolder: ./ itunesPlaylist: iPod

mohsentaleb avatar Dec 16 '16 20:12 mohsentaleb

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

n10v avatar Dec 16 '16 20:12 n10v

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 avatar Dec 16 '16 20:12 n10v

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.

n10v avatar Dec 16 '16 20:12 n10v

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

mohsentaleb avatar Dec 16 '16 20:12 mohsentaleb

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😊

n10v avatar Dec 16 '16 21:12 n10v

Hi, Still getting errors with the new version. untitled

mohsentaleb avatar Dec 17 '16 19:12 mohsentaleb

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

n10v avatar Dec 17 '16 21:12 n10v