#metabrainz

/

      • opatel99
        https://musicbrainz.org/account/applications to Register an Application for OAuth tokens. Name: Anything. Type: Web Application. Callback URL: (wherever you are hosting discourse server)/auth/oauth2_basic/callback
      • 2016-01-16 01641, 2016

      • opatel99
        reosarevok: bitmap Thanks for the event/create url.
      • 2016-01-16 01609, 2016

      • opatel99
        Freso: Thanks for suggesting that I use gist. I didn't even catch that it stopped working after I tried working with the styles. Now I can step back and see what I changed.
      • 2016-01-16 01616, 2016

      • stanislas
        Gentlecat: ping
      • 2016-01-16 01658, 2016

      • opatel99
        zas: Did you find it?
      • 2016-01-16 01615, 2016

      • The_Catman has quit
      • 2016-01-16 01641, 2016

      • The_Catman joined the channel
      • 2016-01-16 01600, 2016

      • Gentlecat
        stanislas: ?
      • 2016-01-16 01628, 2016

      • stanislas
        Gentlecat: the last question
      • 2016-01-16 01655, 2016

      • stanislas
        Gentlecat: I've changed this to nullalble = True, and it still responds with the same error
      • 2016-01-16 01644, 2016

      • Gentlecat
        try to init db again
      • 2016-01-16 01652, 2016

      • Gentlecat
        just change the name in config
      • 2016-01-16 01610, 2016

      • ruaok
        how is paris, Gentlecat ?
      • 2016-01-16 01611, 2016

      • ruaok
        cold?
      • 2016-01-16 01619, 2016

      • Gentlecat
        very
      • 2016-01-16 01629, 2016

      • ruaok
        worse than russia? :)
      • 2016-01-16 01631, 2016

      • Gentlecat
        I got a bit sick actually
      • 2016-01-16 01609, 2016

      • Gentlecat
        no, but after living in bcn for months, I got used to warm weather
      • 2016-01-16 01621, 2016

      • ruaok
        :(
      • 2016-01-16 01628, 2016

      • ruaok
        and yeah, that happens.
      • 2016-01-16 01654, 2016

      • stanislas
        Gentlecat: I am sorry :( Just change the name in config ? What do you mean ?
      • 2016-01-16 01658, 2016

      • Gentlecat
        not the best time to visit this area, it seems
      • 2016-01-16 01648, 2016

      • Gentlecat
        police uses bikes there, crazy
      • 2016-01-16 01610, 2016

      • Gentlecat
        they are painted and stuff
      • 2016-01-16 01616, 2016

      • opatel99
        Freso: The blank error was due to expiration of the OAuth key. I'll come back to that once I resolve the form-filling.
      • 2016-01-16 01625, 2016

      • Gentlecat
        stanislas: name of the database
      • 2016-01-16 01637, 2016

      • stanislas
        There is SQLALCHEMY_DATABASE_URI there, but i am pretty sure that's not the thing I want to change.
      • 2016-01-16 01645, 2016

      • Leo_Verto
        The DB name is part of that
      • 2016-01-16 01645, 2016

      • Gentlecat
        stanislas: that's exactly the thing
      • 2016-01-16 01639, 2016

      • stanislas
        Gentlecat: Shoud I change the critiquebrainz at the end of this to for example critiquebrainz2 ?
      • 2016-01-16 01659, 2016

      • Gentlecat
        yep
      • 2016-01-16 01607, 2016

      • opatel99
        Freso: reosarevok : The script should work as expected now.
      • 2016-01-16 01617, 2016

      • stanislas 've just seen that his favorite music player can interact with musicbrainz to fill the metadata :)
      • 2016-01-16 01644, 2016

      • stanislas
        Gentlecat: psql: FATAL: database "critiquebrainz2" does not exist
      • 2016-01-16 01620, 2016

      • stanislas
        after : python manage.py create_db
      • 2016-01-16 01602, 2016

      • Gentlecat
        probably need to run these as well https://github.com/metabrainz/critiquebrainz/blob…
      • 2016-01-16 01634, 2016

      • stanislas
      • 2016-01-16 01606, 2016

      • Gentlecat
        there should be no space
      • 2016-01-16 01621, 2016

      • Gentlecat
        check if you accidentally inserted it
      • 2016-01-16 01620, 2016

      • stanislas
      • 2016-01-16 01607, 2016

      • Gentlecat
        hmm, I guess that comes from orm
      • 2016-01-16 01614, 2016

      • Gentlecat
        no idea, honestly
      • 2016-01-16 01607, 2016

      • The_Catman has quit
      • 2016-01-16 01625, 2016

      • stanislas
        Gentlecat: I will restart the vagrant, maybe it will help
      • 2016-01-16 01656, 2016

      • The_Catman joined the channel
      • 2016-01-16 01625, 2016

      • Gentlecat
        Freso: taken a look at and published
      • 2016-01-16 01631, 2016

      • Gentlecat
        one thing you can do is switch back to old db and just modify that column
      • 2016-01-16 01610, 2016

      • Gentlecat
        funny how I went from liking ORMs to hating them
      • 2016-01-16 01655, 2016

      • zas
        opatel99: i found it, but after setting client id and secret i still have "Error: invalid_request Mismatched redirect URI" using the callback you gave
      • 2016-01-16 01610, 2016

      • stanislas
        Gentlecat: vagrant up produces the same output
      • 2016-01-16 01629, 2016

      • stanislas
        Gentlecat: So I've changed the name again to critiquebrainz
      • 2016-01-16 01633, 2016

      • opatel99
        zas: Where are you hosting the discourse application?
      • 2016-01-16 01626, 2016

      • ruaok
        discourse is being hosted with all of our other servers. on cartman, in specific
      • 2016-01-16 01640, 2016

      • opatel99
        is there a url I can access it at?
      • 2016-01-16 01608, 2016

      • ruaok
      • 2016-01-16 01625, 2016

      • opatel99
        zas: What is your current callback url?
      • 2016-01-16 01625, 2016

      • opatel99
        From analyzing the error url, it seems that it is http://discourse/auth/oauth2_basic/callback when it should be https://discourse.metabrainz.org/auth/oauth2_basi…
      • 2016-01-16 01640, 2016

      • regagain has quit
      • 2016-01-16 01655, 2016

      • regagain joined the channel
      • 2016-01-16 01624, 2016

      • stanislas
        Gentlecat: How am I supposed to modify that column ?
      • 2016-01-16 01651, 2016

      • Gentlecat
        connect to the db using psql
      • 2016-01-16 01607, 2016

      • Gentlecat
        or some other tool, port is exposed by vagrant
      • 2016-01-16 01624, 2016

      • zas
        opatel99: this is the url i set in the Applications form : https://discourse.metabrainz.org/auth/oauth2_basi…
      • 2016-01-16 01612, 2016

      • stanislas
        Gentlecat: So I should run vagrant up with nullable=False and then change it manually ?
      • 2016-01-16 01625, 2016

      • Gentlecat
        no just change it manually
      • 2016-01-16 01630, 2016

      • opatel99
        zas: Do you think it's possible for me to get temporary admin access to check it out? Or is it already handling private data?
      • 2016-01-16 01646, 2016

      • zas
        sure
      • 2016-01-16 01604, 2016

      • stanislas
        Gentlecat: But vagrant is not turned on now and I can't run vagrant up without changing the nullable to False.
      • 2016-01-16 01622, 2016

      • Gentlecat
        is the VM provisioned?
      • 2016-01-16 01606, 2016

      • stanislas
        Gentlecat: no idea
      • 2016-01-16 01611, 2016

      • UmkaDK has quit
      • 2016-01-16 01649, 2016

      • stanislas
        Gentlecat: I've not changed anything.
      • 2016-01-16 01613, 2016

      • stanislas
        Gentlecat: I remember somebody saying that there are some other options than vagrant - like using some testing server or something like that.
      • 2016-01-16 01659, 2016

      • stanislas
        Gentlecat: Was there something like that ?
      • 2016-01-16 01644, 2016

      • mehtab joined the channel
      • 2016-01-16 01655, 2016

      • gcilou
        Freso, reosarevok, CallerNo6: I'll be leaving soon to go play in a masterclass, I'll be occupied for a couple hours, but I'll be ready to do *stuff* on the video when I get back :)
      • 2016-01-16 01630, 2016

      • reosarevok stops cleaning up Xenakis, goes check out the video
      • 2016-01-16 01648, 2016

      • opatel99
        zas: Do you get this in the mismatched uri window "redirect_uri=http%3A%2F%2Fdiscourse%2Fauth%2Foauth2_basic%2Fcallback"
      • 2016-01-16 01620, 2016

      • opatel99
        zas: What I just tried was changing the callback URL to https://musicbrainz.org . However, the redirect still turns to the invalid http://discourse/auth/oauth2_basic/callback for some reason. Can you rebuild/restart the app please?
      • 2016-01-16 01651, 2016

      • zas
        k
      • 2016-01-16 01639, 2016

      • zas
        i restarted it
      • 2016-01-16 01655, 2016

      • zas
        test again, if no change, i'll rebuild it
      • 2016-01-16 01646, 2016

      • opatel99
        zas: In the future if any plugin repos update, https://discourse.metabrainz.org/admin/upgrade . Same error. Did you at any point have the redirect pointing to http://discourse/auth/oauth2_basic/callback ? Even if not, this is kinda weird... The only difference I see in this situation is https. However, once the app is rebuilt, I will test the plugin on
      • 2016-01-16 01646, 2016

      • opatel99
        chirlu's sandbox to see if that works. If so, I will transition to official.
      • 2016-01-16 01644, 2016

      • zas
        rebuilding atm
      • 2016-01-16 01645, 2016

      • opatel99
        Yeah. It takes forever. ~7 minutes.
      • 2016-01-16 01619, 2016

      • mehtab has quit
      • 2016-01-16 01603, 2016

      • reosarevok
        gcilou: I'm pretty happy with the video. One thing, that is kinda similar to what CallerNo6 suggested too, is that for example classical releases are entered in very specific ways. So it might make sense to tell people "some kinds of releases, for example classical ones, follow fairly specific guidelines" and tell them to check for specific guidelines if
      • 2016-01-16 01603, 2016

      • reosarevok
        they're adding something a bit less standard
      • 2016-01-16 01608, 2016

      • reosarevok
        But I'm not sure how I'd word it :)
      • 2016-01-16 01622, 2016

      • reosarevok
        But that's about as much as I have to say on this one by now, seems pretty good
      • 2016-01-16 01621, 2016

      • JesseW joined the channel
      • 2016-01-16 01638, 2016

      • djpretzel has quit
      • 2016-01-16 01639, 2016

      • dpmittal
        Freso: How we will know who's in top 10 or 5( according to no. Of tasks) at the end of the contest ?
      • 2016-01-16 01659, 2016

      • dpmittal
        Just asking out of curiosity :D
      • 2016-01-16 01624, 2016

      • drsaunde
        zas: ping
      • 2016-01-16 01607, 2016

      • Freso
        dpmittal: Well, we'll (that is, I will) probably announce the cut-off point for the 10th most tasks completed. I may also announce the no. 1 number of completed tasks, and possibly some other "anonymous" stats (see e.g., the latest/"midway" GCI blog post), but I will likely not tell specifically who was placed where.
      • 2016-01-16 01658, 2016

      • Freso
        Keep in mind that the five finalists are not necessarily the five with the most completed tasks.
      • 2016-01-16 01613, 2016

      • dpmittal
        Thanks Freso
      • 2016-01-16 01626, 2016

      • drsaunde
        bitmap: ping
      • 2016-01-16 01641, 2016

      • drsaunde
        ruoak: ping
      • 2016-01-16 01643, 2016

      • zas
        I'm on it, from bad connection on my phone
      • 2016-01-16 01653, 2016

      • drsaunde
        okay cool..ty
      • 2016-01-16 01647, 2016

      • CatQuest
      • 2016-01-16 01611, 2016

      • drsaunde has quit
      • 2016-01-16 01626, 2016

      • zas
        Search servers are back
      • 2016-01-16 01634, 2016

      • CatQuest
        (sorry, meant to poste that in #musicbrainz)
      • 2016-01-16 01628, 2016

      • JesseW
        yay, we love our search servers!
      • 2016-01-16 01615, 2016

      • ruaok
        Thanks zas. <3
      • 2016-01-16 01645, 2016

      • opatel99 has quit
      • 2016-01-16 01649, 2016

      • opatel99 joined the channel
      • 2016-01-16 01622, 2016

      • CatQuest has quit
      • 2016-01-16 01622, 2016

      • CatCat has quit
      • 2016-01-16 01647, 2016

      • CatCat joined the channel
      • 2016-01-16 01647, 2016

      • CatCat has quit
      • 2016-01-16 01647, 2016

      • CatCat joined the channel
      • 2016-01-16 01652, 2016

      • CatQuest joined the channel
      • 2016-01-16 01652, 2016

      • CatQuest has quit
      • 2016-01-16 01652, 2016

      • CatQuest joined the channel
      • 2016-01-16 01601, 2016

      • opatel99
        zas: Just tested the new build. That pesky URL has to be stored somewhere...
      • 2016-01-16 01609, 2016

      • opatel99
        Doesn't work on Chirlu's sandbox.
      • 2016-01-16 01626, 2016

      • Bookzombie has quit
      • 2016-01-16 01641, 2016

      • Bookzombie joined the channel
      • 2016-01-16 01623, 2016

      • CatCat has quit
      • 2016-01-16 01639, 2016

      • Freso
        gcilou: About to download your video now.
      • 2016-01-16 01621, 2016

      • opatel99
        zas: I'm currently forcing the redirect_uri in the configuration. If this works, I'll add a field for it.
      • 2016-01-16 01600, 2016

      • CatCat joined the channel
      • 2016-01-16 01600, 2016

      • CatCat has quit
      • 2016-01-16 01600, 2016

      • CatCat joined the channel
      • 2016-01-16 01645, 2016

      • JesseW has quit
      • 2016-01-16 01606, 2016

      • stanislas
        LordSputnik: I am pretty sure I've found a real bug <3 Identifier.update doesn't work properly. It should be ('identifier_type' in identifier_json) not ('identifier_type_id' in identifier_json)
      • 2016-01-16 01641, 2016

      • stanislas
        Leftmost: ^
      • 2016-01-16 01625, 2016

      • gcilou
        Freso, great! I'm back now
      • 2016-01-16 01621, 2016

      • gcilou
        reosarevok, ok, thanks!
      • 2016-01-16 01615, 2016

      • gcilou
        CallerNo6, I'll comment the scripts to the task page in a minute :)
      • 2016-01-16 01636, 2016

      • CallerNo6
        oh, cool, thanks
      • 2016-01-16 01611, 2016

      • opatel99
        zas: I just started a quick tester droplet with discourse, and the plugin seems to be working. There could be a conflict? I'm frankly just not sure how that redirect_uri is being wrongly defined.
      • 2016-01-16 01616, 2016

      • opatel99
        does musicbrainz oauth have any trouble with subdomains?
      • 2016-01-16 01620, 2016

      • opatel99
        https ?
      • 2016-01-16 01631, 2016

      • opatel99
        Because neither of those are happening.
      • 2016-01-16 01637, 2016

      • gcilou
        CallerNo6, alright, scripts are there :)
      • 2016-01-16 01615, 2016

      • Freso
        gcilou: I love how thorough you are.
      • 2016-01-16 01626, 2016

      • gcilou
        Thanks :0
      • 2016-01-16 01611, 2016

      • Freso
        gcilou: One small comment I'd like to see, apart from that, I think it's pretty much good to go.
      • 2016-01-16 01618, 2016

      • Freso
        Well done. :)
      • 2016-01-16 01623, 2016

      • gcilou
        Thanks!
      • 2016-01-16 01652, 2016

      • Freso
        gcilou: Sorry about the latency for getting back to you on the videos. :/
      • 2016-01-16 01602, 2016

      • gcilou
        it's ok
      • 2016-01-16 01648, 2016

      • gcilou
        Ok, I commented on the task. Did you want to address CallerNo6 or reosarevok 's comments before I redo stuff?
      • 2016-01-16 01614, 2016

      • Freso
        reosarevok didn't comment on it, did he?