#metabrainz

/

      • ephemer0l has quit
      • 2019-07-01 18201, 2019

      • Clint joined the channel
      • 2019-07-01 18202, 2019

      • ephemer0l_ joined the channel
      • 2019-07-01 18228, 2019

      • Clint has quit
      • 2019-07-01 18224, 2019

      • Clint joined the channel
      • 2019-07-01 18259, 2019

      • Clint has quit
      • 2019-07-01 18200, 2019

      • Clint joined the channel
      • 2019-07-01 18219, 2019

      • Nyanko-sensei joined the channel
      • 2019-07-01 18253, 2019

      • D4RK-PH0ENiX has quit
      • 2019-07-01 18213, 2019

      • Nyanko-sensei has quit
      • 2019-07-01 18249, 2019

      • D4RK-PH0ENiX joined the channel
      • 2019-07-01 18221, 2019

      • yokel has quit
      • 2019-07-01 18227, 2019

      • yokel joined the channel
      • 2019-07-01 18232, 2019

      • djwhitey_ has quit
      • 2019-07-01 18223, 2019

      • Clint has quit
      • 2019-07-01 18240, 2019

      • Clint joined the channel
      • 2019-07-01 18213, 2019

      • yokel has quit
      • 2019-07-01 18225, 2019

      • yokel joined the channel
      • 2019-07-01 18243, 2019

      • BrainzGit
        [musicbrainz-server] mwiencek opened pull request #1129 (master…react-bootstrap-nav): MBS-10272: Convert the header / navbar to Bootstrap https://github.com/metabrainz/musicbrainz-server/…
      • 2019-07-01 18244, 2019

      • BrainzBot
        MBS-10272: Convert the header / navbar to Bootstrap https://tickets.metabrainz.org/browse/MBS-10272
      • 2019-07-01 18234, 2019

      • zas
        I will switch to herb few minutes in order to upgrade and reboot kiki
      • 2019-07-01 18253, 2019

      • BrainzGit has quit
      • 2019-07-01 18213, 2019

      • BrainzGit joined the channel
      • 2019-07-01 18211, 2019

      • zas
        switching back to kiki
      • 2019-07-01 18213, 2019

      • CatQuest
        Hommik!
      • 2019-07-01 18239, 2019

      • CatQuest
        zas early up and working :D
      • 2019-07-01 18241, 2019

      • CatQuest
        !m zas
      • 2019-07-01 18241, 2019

      • BrainzBot
        You're doing good work, zas!
      • 2019-07-01 18245, 2019

      • zas
        Yup ;)
      • 2019-07-01 18235, 2019

      • alastairp
        iliekcomputers: thanks for the approvals
      • 2019-07-01 18246, 2019

      • alastairp
        can we do a release today?
      • 2019-07-01 18227, 2019

      • alastairp
        maybe 2 - I want to release all the PRs that are pending, and then do another release with rate limiting (so that we can roll back if needed and still have all the other changes merged)
      • 2019-07-01 18253, 2019

      • Gazooo joined the channel
      • 2019-07-01 18204, 2019

      • iliekcomputers
        alastairp: sure, sounds good to me, 8 PM IST around?
      • 2019-07-01 18203, 2019

      • alastairp
        mmm, in about 5h30? that might be tight - I have plans this evening
      • 2019-07-01 18213, 2019

      • alastairp
        either 1h before or 3h after would be better if possible
      • 2019-07-01 18259, 2019

      • iliekcomputers
        either works for me, whichever is more convenient to you.
      • 2019-07-01 18209, 2019

      • alastairp
        let's do it earlier
      • 2019-07-01 18256, 2019

      • iliekcomputers
        cool!
      • 2019-07-01 18220, 2019

      • alastairp
        between 7-7:30 ist, then? planning to finish by about 8
      • 2019-07-01 18238, 2019

      • iliekcomputers
        yep, sounds good.
      • 2019-07-01 18238, 2019

      • BrainzGit
        [acousticbrainz-server] alastair merged pull request #349 (master…uuid-case): AB-411: Fix exceptions when uuids have upper-case characters https://github.com/metabrainz/acousticbrainz-serv…
      • 2019-07-01 18239, 2019

      • BrainzBot
        AB-411: Can't access items when uuid has upper-case characters https://tickets.metabrainz.org/browse/AB-411
      • 2019-07-01 18217, 2019

      • pristine__
        ruaok: moin
      • 2019-07-01 18239, 2019

      • pristine__
        Lemme know whenever the server is up
      • 2019-07-01 18231, 2019

      • BrainzGit
        [acousticbrainz-server] alastair merged pull request #348 (master…hl-mapping): AB-91: Map model classes to more meaningful labels https://github.com/metabrainz/acousticbrainz-serv…
      • 2019-07-01 18232, 2019

      • BrainzBot
        AB-91: Map model classes to more meaningful labels https://tickets.metabrainz.org/browse/AB-91
      • 2019-07-01 18208, 2019

      • ruaok
        pristine__: it should be up in about 60 seconds: 130.211.223.115
      • 2019-07-01 18210, 2019

      • gr0uch0mars joined the channel
      • 2019-07-01 18203, 2019

      • pristine__
        Thanks :)
      • 2019-07-01 18216, 2019

      • pristine__
        ruaok: 'psycopg2' module is not installed on the server, shall I install?
      • 2019-07-01 18205, 2019

      • ruaok
        you could, but it won't work the way we hope (I faced this a while ago)
      • 2019-07-01 18218, 2019

      • ruaok
        you need to actually run the code in a container to access the DB.
      • 2019-07-01 18258, 2019

      • ruaok
        this is how I do it for the AAR project
      • 2019-07-01 18259, 2019

      • ruaok
      • 2019-07-01 18215, 2019

      • ruaok
        and here is the dockerfile:
      • 2019-07-01 18215, 2019

      • ruaok
      • 2019-07-01 18225, 2019

      • ruaok
        see if that makes sense to you.
      • 2019-07-01 18250, 2019

      • pristine__
        what is the purpose of metabrainz/artist-relations in here?
      • 2019-07-01 18259, 2019

      • pristine__
        *docker build -f Dockerfile -t metabrainz/artist-relations*
      • 2019-07-01 18204, 2019

      • pristine__
        ruaok: ^
      • 2019-07-01 18249, 2019

      • ruaok
        That tags the container with a name, so that we can start the container with that name and start the correct one.
      • 2019-07-01 18233, 2019

      • yokel has quit
      • 2019-07-01 18226, 2019

      • reosarevok
      • 2019-07-01 18227, 2019

      • yokel joined the channel
      • 2019-07-01 18207, 2019

      • pristine__
        thanks :)
      • 2019-07-01 18230, 2019

      • Lotheric_ joined the channel
      • 2019-07-01 18201, 2019

      • Lotheric has quit
      • 2019-07-01 18206, 2019

      • Lotheric_ is now known as Lotheric
      • 2019-07-01 18242, 2019

      • Lotheric
        happening on beta right now
      • 2019-07-01 18244, 2019

      • Lotheric
      • 2019-07-01 18252, 2019

      • akhilesh
        Mr_Monkey: elasticsearch server is down for main BB site. Please look it.
      • 2019-07-01 18202, 2019

      • Lotheric
        huge and weird spacing in front of the release year column on artist pages
      • 2019-07-01 18224, 2019

      • Lotheric
        not happening on regular musicbrainz
      • 2019-07-01 18251, 2019

      • Lotheric
      • 2019-07-01 18252, 2019

      • BrainzBot
        MBS-10273: Huge and weird spacing in front of the release year column on artist pages in beta
      • 2019-07-01 18203, 2019

      • ruaok
        akhilesh: fixed.
      • 2019-07-01 18243, 2019

      • akhilesh
        Thanks ruaok !
      • 2019-07-01 18200, 2019

      • ruaok opens https://tickets.metabrainz.org/browse/BB-351
      • 2019-07-01 18258, 2019

      • aidanlw17
        alastairp: when I made a new test file `db/test/test_similarity.py` for AB-412, I started encountering this error https://pastebin.com/6m4j966f
      • 2019-07-01 18259, 2019

      • BrainzBot
        AB-412: Compute recording similarity metrics on database https://tickets.metabrainz.org/browse/AB-412
      • 2019-07-01 18250, 2019

      • aidanlw17
        I didn't have this error when I imported numpy prior to adding this test_similarity file
      • 2019-07-01 18208, 2019

      • alastairp
        ah, how are you running tests?
      • 2019-07-01 18220, 2019

      • aidanlw17
        I've used `./test.sh`
      • 2019-07-01 18242, 2019

      • alastairp
        it's possible that you've not rebuilt the test image, and it's using an old version that still doesn't have numpy installed
      • 2019-07-01 18246, 2019

      • alastairp
        run ./test.sh -d
      • 2019-07-01 18254, 2019

      • alastairp
        and then test.sh again, that should build from scratch again
      • 2019-07-01 18202, 2019

      • aidanlw17
        Thanks, that was the problem exactly.
      • 2019-07-01 18201, 2019

      • alastairp
        I was going to add a flag to test.sh to rebuild if needed, maybe I'll get to that
      • 2019-07-01 18205, 2019

      • aidanlw17
        alastairp: after running those two commands, it seems I'm getting a new error https://pastebin.com/WptgCi5v
      • 2019-07-01 18222, 2019

      • alastairp
        yeah, it's an error, but it's not fatal
      • 2019-07-01 18248, 2019

      • alastairp
        it's trying to create a user in the database but it fails (because the user already exists). If you run tests, it'll work fine
      • 2019-07-01 18254, 2019

      • alastairp
        I wanted to fix that, too :)
      • 2019-07-01 18214, 2019

      • alastairp
        what did you run? test.sh -u ?
      • 2019-07-01 18228, 2019

      • aidanlw17
        That's right, the tests are continuing anyways. Ok it was existing?
      • 2019-07-01 18235, 2019

      • aidanlw17
        I ran ./test.sh -d
      • 2019-07-01 18242, 2019

      • aidanlw17
        then I ran ./test.sh
      • 2019-07-01 18256, 2019

      • aidanlw17
        and now this error occurs whenever I run ./test.sh
      • 2019-07-01 18257, 2019

      • alastairp
        right, no problem. tests will continue to run fine
      • 2019-07-01 18220, 2019

      • alastairp
        interesting, it didn't occur previously?
      • 2019-07-01 18227, 2019

      • aidanlw17
        This never happened before when I only ran ./test.sh
      • 2019-07-01 18230, 2019

      • alastairp
        this is something that I should look into - let me give you an overview
      • 2019-07-01 18210, 2019

      • alastairp
        if you just run test.sh, it builds the acousticbrainz image, sets up a separate space for database, starts the database, runs the tests, and then deletes everything
      • 2019-07-01 18200, 2019

      • alastairp
        for me, that was a process that took too long to do every time I wanted to run tests, so I added test.sh -u, to start the database server in the background. then, whenever you run test.sh, it'll skip the build/setup process
      • 2019-07-01 18211, 2019

      • alastairp
        then I added test.sh -d to shut the database server down
      • 2019-07-01 18245, 2019

      • alastairp
        it looks like there are still some small bugs here then, for example in some cases it doesn't seem to delete the database after finishing (which is why you're seeing the error)
      • 2019-07-01 18258, 2019

      • alastairp
        we should add some more documentation about how tests work
      • 2019-07-01 18215, 2019

      • alastairp
        and try and fix some of the remaining bugs that are in this script
      • 2019-07-01 18250, 2019

      • aidanlw17
        I see, that's interesting given my usage of it.
      • 2019-07-01 18221, 2019

      • aidanlw17
        After you run ./test.sh -u, do you then use ./test.sh every time with server running in the background?
      • 2019-07-01 18226, 2019

      • alastairp
        yep
      • 2019-07-01 18241, 2019

      • aidanlw17
        So at some point I think I must have done that
      • 2019-07-01 18245, 2019

      • alastairp
      • 2019-07-01 18242, 2019

      • alastairp
        ah, I see that I have a difference between -s (stop) and -d (down)
      • 2019-07-01 18207, 2019

      • alastairp
        it's possible that stop will stop it, but leave the data behind (so you'll get the create user error on startup), and down will actually delete it?
      • 2019-07-01 18213, 2019

      • alastairp
        I'll check that
      • 2019-07-01 18224, 2019

      • iliekcomputers
        alastairp: I'm around
      • 2019-07-01 18232, 2019

      • D4RK-PH0ENiX has quit
      • 2019-07-01 18239, 2019

      • aidanlw17
        Okay yeah. This makes sense because usually if I run ./test.sh it doesn't do all of the setup, and it doesn't give output like this https://pastebin.com/zAuStGNS , but after running ./test.sh -d, I start getting that output (and the error I posted)
      • 2019-07-01 18259, 2019

      • alastairp
        ok, definitely something that we have to improve then
      • 2019-07-01 18209, 2019

      • alastairp
        iliekcomputers: cool, I haven't finished my final changes on the stats PR
      • 2019-07-01 18237, 2019

      • alastairp
        if you want to get stuff done now now, we could deploy what's already been merged, or we can wait a bit more
      • 2019-07-01 18222, 2019

      • iliekcomputers
        we can wait, no worries
      • 2019-07-01 18228, 2019

      • alastairp
        ok, cool
      • 2019-07-01 18241, 2019

      • alastairp
        actually, can I get you to do something for me?
      • 2019-07-01 18212, 2019

      • aidanlw17
        ok sounds good. I also agree that adding more documentation on the tests would be good - I can help with that!
      • 2019-07-01 18227, 2019

      • iliekcomputers
        Sure, what is it?
      • 2019-07-01 18239, 2019

      • alastairp
        aidanlw17: in listenbrainz we have a developers section that shows up on listenbrainz.readthedocs.io, we could do the same for ab
      • 2019-07-01 18248, 2019

      • alastairp
        iliekcomputers: AB-413 we have to fix this, it keeps on causing problems
      • 2019-07-01 18249, 2019

      • BrainzBot
        AB-413: Cannot sign in with MusicBrainz https://tickets.metabrainz.org/browse/AB-413
      • 2019-07-01 18258, 2019

      • alastairp
        can we force the login button to always go to https?
      • 2019-07-01 18229, 2019

      • alastairp
        we'll have to sniff to get the hostname/port that we're running on somehow - e.g. we can't just set the url to https://acousticbrainz.org/{url_for(login), because that won't work on development
      • 2019-07-01 18241, 2019

      • aidanlw17
        cool, I can make a ticket to add something along those lines?
      • 2019-07-01 18248, 2019

      • alastairp
        aidanlw17: yeah, go ahead
      • 2019-07-01 18231, 2019

      • aidanlw17
        alastairp: 👍 when you get the chance as well, let me know if there are anymore changes that need to be made on AB-404!
      • 2019-07-01 18231, 2019

      • BrainzBot
        AB-404: Provide an API endpoint where users can select only the features that they want returned https://tickets.metabrainz.org/browse/AB-404
      • 2019-07-01 18243, 2019

      • alastairp
        yeah, I haven't got to that yet
      • 2019-07-01 18200, 2019

      • aidanlw17
        No problem!
      • 2019-07-01 18207, 2019

      • iliekcomputers
        alastairp: yeah, I can work on that, sure
      • 2019-07-01 18216, 2019

      • alastairp
        iliekcomputers: thanks. we've talked about a better way of doing this - one thing we might have to do is set up nginx in a local container so that we can force https rewrite for most of our URLs, but this specific error comes up once every few months, doing the rewrite in flask is probably going to be the easiest immediate fix
      • 2019-07-01 18238, 2019

      • yokel has quit
      • 2019-07-01 18228, 2019

      • yokel joined the channel
      • 2019-07-01 18258, 2019

      • D4RK-PH0ENiX joined the channel
      • 2019-07-01 18231, 2019

      • aidanlw17
        Freso: it's Canada Day today and a national holiday, so I was hoping to be out this afternoon participating in some activities. Can I email you my review?
      • 2019-07-01 18239, 2019

      • alastairp
        aidanlw17: no problem 🇨🇦
      • 2019-07-01 18203, 2019

      • alastairp
        moving day today too? or is that just quebec?
      • 2019-07-01 18226, 2019

      • aidanlw17
        thanks alastairp! No moving day here in Toronto, what is that?
      • 2019-07-01 18250, 2019

      • alastairp
      • 2019-07-01 18240, 2019

      • aidanlw17
        that sounds exhausting! Where I'm from, maybe kind of like the first couple days before school begins in September. Have you lived in Quebec alastairp?
      • 2019-07-01 18251, 2019

      • alastairp
        I lived 3 years in Montreal