so we can't just "not encode" it. But we need to use urlencoding or something *and* some kind of string encoding, right?
2014-11-21 32532, 2014
Mineo joined the channel
2014-11-21 32543, 2014
JonnyJD
alastairp: I would start using urllib.quote_plus() and see if that helps already with the tomahawk problem
2014-11-21 32541, 2014
JonnyJD
not sure if I can test that myself, since I don't know how fast I can setup an acousticbrainz test server
2014-11-21 32548, 2014
JonnyJD
TBH i have no clue how I get that to work that repository at all :-D
2014-11-21 32522, 2014
JonnyJD
looks like flask, and I don't have a clue about flask
2014-11-21 32542, 2014
Mineo
you need to clone the repository and then use admin/setup.sh in the admin folder to setup the db
2014-11-21 32546, 2014
JonnyJD
Mineo: but I don't have to download the complete db, right?
2014-11-21 32532, 2014
JonnyJD is a bit tight on space..
2014-11-21 32524, 2014
Mineo
no, you don't need the complete db
2014-11-21 32540, 2014
JonnyJD
cool, trying it then
2014-11-21 32531, 2014
Mineo
you can just generate a json file by running the extractor manually and then submit it to your locally running server with "curl -d @<json-file-name> localhost:8080/<track-mbid-here>/low-level"
2014-11-21 32505, 2014
JonnyJD
thx
2014-11-21 32545, 2014
Freso
JonnyJD: I have a PR with a slightly fleshed out README you can follow for install instructions.
2014-11-21 32549, 2014
Freso
In abz-server.
2014-11-21 32547, 2014
Freso
It doesn't mention how to do the db, but that's mostly because there are no db dumps yet. Rob has a smaller db dump available, but you should also be able to hack -client to submit to your local test server.
2014-11-21 32556, 2014
JonnyJD
Freso: thanks, although I got that far by now already :-D
2014-11-21 32518, 2014
JonnyJD
except I was calling server.py inside acousticbrainz folder
2014-11-21 32532, 2014
JonnyJD
still missing the css somehow, at least it looks like missing all formatting
2014-11-21 32553, 2014
JonnyJD
yes, everything from /static gives 404, regardless of me doing "python2 acousticbrainz/server.py" or just "python2 server.py" (not that this is relevant for my tests.. though)
2014-11-21 32519, 2014
Freso
Everything? Or CSS?
2014-11-21 32529, 2014
Freso
For CSS, you need to compile the less.
2014-11-21 32503, 2014
JonnyJD
oh, yes. non-css only gives 304, not 404
2014-11-21 32504, 2014
JonnyJD is not doing the less stuff for now, doesn't really matter
2014-11-21 32522, 2014
Freso
JonnyJD: Do you have the db running?
2014-11-21 32540, 2014
JonnyJD
"essentia_build_sha' was not found in submitted data" is that something introduced later or because of not using abzsubmit?
2014-11-21 32549, 2014
JonnyJD
Freso: yes, db and server running
2014-11-21 32534, 2014
JonnyJD
(self-built essentia, same commit as the first linux binary released)
2014-11-21 32534, 2014
JonnyJD tries fixing a abzsubmit conf that submits to localhost
2014-11-21 32545, 2014
reosarevok joined the channel
2014-11-21 32537, 2014
Freso
JonnyJD: I tihnk the build_sha is part of the JSON file generated by the submitter and not part of the essentia output.
2014-11-21 32542, 2014
Freso
*think
2014-11-21 32544, 2014
JonnyJD
Mineo: submitting per curl doesn'
2014-11-21 32548, 2014
JonnyJD
t work
2014-11-21 32510, 2014
JonnyJD
submitting per abzsubmit (changing [acousticbrainz] host) works
2014-11-21 32524, 2014
Mineo
it did work for me
2014-11-21 32557, 2014
Mineo
but if abzsubmit works, then everything's okay :)
2014-11-21 32513, 2014
JonnyJD
hm, were you using the essentia-acousticbrainz from AUR or something different?
2014-11-21 32558, 2014
JonnyJD will check that out later
2014-11-21 32545, 2014
Mineo
no, a locally built one - `git describe HEAD` prints "v2.1_beta2-3-gd5e3a6e"
2014-11-21 32507, 2014
JonnyJD
Mineo: so you have a later build, possibly that includes the build_sha by itself (notes that for later to check)
2014-11-21 32547, 2014
JonnyJD
anyways, thanks guys, I have a running acousticbrainz server now and will check out that encoding problem
2014-11-21 32554, 2014
Freso
JonnyJD: Also, if essentia-acousticbrainz is still using the Git SHA of the original Linux "release", it probably ought to get updated anyway...