Re: Windows extractors for AcousticBrainz posted

Johannes Dewender <[email protected]> Tue, 28 Oct 2014 13:04:02 +0100
Newsgroups gmane.comp.audio.musicbrainz.devel
Message-ID <[email protected]>
Am 28.10.2014 um 12:10 schrieb Frederic Da Vitoria:
> 2014-10-28 11:54 GMT+01:00 Johannes Dewender <[email protected]
> <mailto:[email protected]>>:
> 
>     Am 27.10.2014 um 22:48 schrieb Frederic Da Vitoria:
>     > 2014-10-25 0:42 GMT+02:00 Robert Kaye <[email protected] <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>>:
>     >
>     >     Hello!
>     >
>     >     We’re finally happy with the extractor binaries for windows. You can
>     >     download them from the site here:
>     >
>     >        http://acousticbrainz.org/download
>     >
>     >     We now have 64 bit and 32 bit extractors for Linux, Mac and Windows.
>     >     If you’re comfortable with the command line and have been waiting
>     >     for support for your platform, now is your time to jump in. Our next
>     >     focus is to release a nice and easy to use GUI for all this.
>     >     Hopefully we can finally get this out this weekend.
>     >
>     >     Thanks for all your help so far!
>     >
>     >
>     > I am a complete beginner in Python, here is what I did (Python 2.7):
>     >
>     >  1. download requests from
>     >     https://github.com/kennethreitz/requests/zipball/master
>     >  2. unzip to a folder
>     >  3. from that folder, run python setup.py install
>     >  4. unzip acousticbrainz-client-master.zip to a folder
>     >  5. unzip the windows extractor to the same folder
> 
>     When you unzip the extractor it does create a folder
>     "essentia-extractor-...-win-..." and in there is
>     streaming_extractor_music.exe.
>     That file must be copied or moved to "acousticbrainz-client-master".
> 
>     Not sure if you already did that and untested since I am not using
>     Windows. Maybe it helps, though.
> 
> 
> Yes, I did that (item 5 above). I put it directly in the folder where
> setup.py was, not in a subfolder. One thing, though: the zip contained a
> .exe, but the message complains about
> "d:\python\acousticbrainz-client-master\streaming_extractor_music" (note
> the missing extension). Could this be the problem? If so, I could simply
> edit the script to correct this and check. My laptop is at home and from
> here (work) I can't access to ftp, so that I can't check this
> hypothesis.... ah yes, I can get the source directly from git. So, in
> line 14 of setup.py, should I replace 
> scripts=['abzsubmit','streaming_extractor_music'],
> with
> scripts=['abzsubmit','streaming_extractor_music.exe'],
> ?

Oh, I was thinking of running streaming_extractor_music, which would
work without the .exe.
Yes, changing the setup.py might work here.

If that doesn't work (due to a different message then) have a look at
https://github.com/MTG/acousticbrainz-client/pull/26

Either way, running from Windows is probably fine, but installing seems
to be broken. Should be added here
https://github.com/MTG/acousticbrainz-client/issues

You should be able to run abzsubmit directly as step 6 (instead of
install). That is "python abzsubmit", maybe even "abzsubmit" works on
your python installation.

--
JonnyJD