#metabrainz

/

      • shivam-kapila
        by setting it in config,py
      • 2020-09-21 26534, 2020

      • pristine___
        Maybe. I will have a look if we get the error again.
      • 2020-09-21 26511, 2020

      • shivam-kapila
        actually I think not
      • 2020-09-21 26519, 2020

      • shivam-kapila
        reosarevok also saw it
      • 2020-09-21 26525, 2020

      • pristine___
        ruaok: iliekcomputers #1101 shivam-kapila fixed the error.
      • 2020-09-21 26529, 2020

      • shivam-kapila
        > "'AnonymousUserMixin' object has no attribute 'id'"
      • 2020-09-21 26534, 2020

      • pristine___
        shivam-kapila: because it's in sentry
      • 2020-09-21 26554, 2020

      • shivam-kapila
        Plus we dont use api rather simple endpoints for recs page
      • 2020-09-21 26556, 2020

      • pristine___
        That's why reosarevok saw it. 🤷‍♀️
      • 2020-09-21 26557, 2020

      • reosarevok
      • 2020-09-21 26507, 2020

      • reosarevok
        ... clicked. I CLICKED
      • 2020-09-21 26541, 2020

      • pristine___
        > Plus we dont use api rather simple endpoints for recs page
      • 2020-09-21 26544, 2020

      • pristine___
        We use db.
      • 2020-09-21 26547, 2020

      • shivam-kapila
        pristine___: nvm i am just stupid
      • 2020-09-21 26559, 2020

      • pristine___
        I don't think so
      • 2020-09-21 26529, 2020

      • pristine___
        shivam-kapila: it's a bug, two such events in Sentry :(
      • 2020-09-21 26539, 2020

      • shivam-kapila
        I caught this one two
      • 2020-09-21 26543, 2020

      • shivam-kapila
        too*
      • 2020-09-21 26504, 2020

      • pristine___
        What do you think shivam-kapila ?
      • 2020-09-21 26523, 2020

      • pristine___
        I checked props just now, current user was define for me
      • 2020-09-21 26505, 2020

      • iliekcomputers
        if you're not logged in
      • 2020-09-21 26510, 2020

      • iliekcomputers
        current_user will not be defined
      • 2020-09-21 26545, 2020

      • shivam-kapila
        exactly
      • 2020-09-21 26523, 2020

      • pristine___
        shivam-kapila: I should add the login_required condition I think.
      • 2020-09-21 26541, 2020

      • shivam-kapila
        not needed IG
      • 2020-09-21 26549, 2020

      • BrainzGit
        [listenbrainz-server] shivam-kapila opened pull request #1102 (master…fix-anonymous-user-mixin-error): Fix anonymous user mixin error that occurs if user isn't logged in https://github.com/metabrainz/listenbrainz-server…
      • 2020-09-21 26529, 2020

      • shivam-kapila
        pristine___: ^^
      • 2020-09-21 26512, 2020

      • pristine___
        Yes. Thank you!
      • 2020-09-21 26512, 2020

      • shivam-kapila 's net exhausted
      • 2020-09-21 26511, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1702 (master…MBS-11107): MBS-11107: Support nameVariation for other entity types https://github.com/metabrainz/musicbrainz-server/…
      • 2020-09-21 26512, 2020

      • BrainzBot
        MBS-11107: span.name-variation class is missing on some relationship credits https://tickets.metabrainz.org/browse/MBS-11107
      • 2020-09-21 26516, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1703 (master…MBS-11104): MBS-11104: Always show credits in RelationshipsTable https://github.com/metabrainz/musicbrainz-server/…
      • 2020-09-21 26518, 2020

      • BrainzBot
        MBS-11104: Missing "Credited As" column in Label Relationships tab https://tickets.metabrainz.org/browse/MBS-11104
      • 2020-09-21 26548, 2020

      • ruaok
        ok, are we ready to try again?
      • 2020-09-21 26516, 2020

      • reosarevok
      • 2020-09-21 26517, 2020

      • BrainzBot
        MBS-11094: Edit error message appears (and prevents update) unrelated to current edits
      • 2020-09-21 26541, 2020

      • reosarevok
        We generally skip the error setting by making the user click a checkbox like "this is fine" but in this case it will never be fine
      • 2020-09-21 26504, 2020

      • reosarevok
        But we also don't want to force the user to change it if it's already there and they only wanted to fix something else
      • 2020-09-21 26534, 2020

      • reosarevok
        Should I split this into a warning + the error message, even if there's no specific checkbox? So that the error is shown only when adding but the warning is shown always?
      • 2020-09-21 26520, 2020

      • reosarevok
        also, bitmap: do you agree with me/yvanzo in https://tickets.metabrainz.org/browse/MBS-11036 that we should just remove this?
      • 2020-09-21 26521, 2020

      • BrainzBot
        MBS-11036: Move discid -> Add release seeds invalid CDTOC
      • 2020-09-21 26531, 2020

      • yvanzo
        reosarevok: shouldn't that release be fixed, is it reasonable to assume that the 1936 release was a Shellac?
      • 2020-09-21 26554, 2020

      • bitmap
        in general the errors shouldn't block submission unless it's related to $changed data, yes
      • 2020-09-21 26501, 2020

      • yvanzo
        for URL rels field, there is simply no error for pre-existing URL rels.
      • 2020-09-21 26511, 2020

      • bitmap
        you would visually distinguish between an error vs. a warning somehow?
      • 2020-09-21 26539, 2020

      • reosarevok
        yvanzo: it should, and it's probably a shellac, but we shouldn't assume the user will know that
      • 2020-09-21 26544, 2020

      • reosarevok
        If they want to fix caps or something
      • 2020-09-21 26508, 2020

      • reosarevok
        I think it makes sense to still display *something* to alert people who might want to research it
      • 2020-09-21 26521, 2020

      • yvanzo
        it seems worth mentioning that the release data is erroneous
      • 2020-09-21 26524, 2020

      • reosarevok
        So maybe a yellow warning box could give more details of what this is :)
      • 2020-09-21 26537, 2020

      • reosarevok
        While we leave the angry red error for adds?
      • 2020-09-21 26542, 2020

      • reosarevok
        (or newly set formats)
      • 2020-09-21 26554, 2020

      • yvanzo
        by the way, we don't have separate icons for warning and error
      • 2020-09-21 26526, 2020

      • yvanzo
        e.g. the recently added icon to release editor tabs to highlight blocking errors is actually a warning icon
      • 2020-09-21 26552, 2020

      • yvanzo
        reosarevok: alternatively, maybe use the same orange circle which is already used for low data quality?
      • 2020-09-21 26524, 2020

      • yvanzo
        (might not be high-contrast friendly...)
      • 2020-09-21 26513, 2020

      • reosarevok
        Sure, I added a warning icon because I wanted to warn people that that's the right tab :D
      • 2020-09-21 26516, 2020

      • reosarevok
        But I get the point :)
      • 2020-09-21 26551, 2020

      • pristine___
        shivam-kapila: can you please push the requested changes
      • 2020-09-21 26515, 2020

      • yvanzo
        it was not an issue until there is a need to distinguish warning from error :)
      • 2020-09-21 26538, 2020

      • pristine___
        shivam-kapila I guess you didn't run the code on your local machine for 1102
      • 2020-09-21 26519, 2020

      • bitmap
        reosarevok: removing the option from /cdtoc/move makes sense to me
      • 2020-09-21 26508, 2020

      • BrainzGit
        [listenbrainz-server] vansika merged pull request #1101 (master…fix-artist-name): Fix artist name rendering in recs section https://github.com/metabrainz/listenbrainz-server…
      • 2020-09-21 26511, 2020

      • yvanzo
        bitmap, reosarevok: there is a PR left behind for syswiki about MBS.
      • 2020-09-21 26541, 2020

      • pristine___
        ruaok: you around?
      • 2020-09-21 26526, 2020

      • ruaok
        yes, waiting for go time
      • 2020-09-21 26529, 2020

      • pristine___
        If a user isn't logged in and I do this https://beta.listenbrainz.org/recommended/tracks/…
      • 2020-09-21 26538, 2020

      • v6lur has quit
      • 2020-09-21 26538, 2020

      • pristine___
        What should ideally happen?
      • 2020-09-21 26546, 2020

      • pristine___
        I should get the playlist
      • 2020-09-21 26559, 2020

      • pristine___
        If I am not logged in*
      • 2020-09-21 26558, 2020

      • ruaok
        I personally think the display of that page shouldn't change if the user is logged in or not.
      • 2020-09-21 26510, 2020

      • ruaok
        so, I should be able to see the listens.
      • 2020-09-21 26539, 2020

      • pristine___
        ruoak: Okay. Nice. shivam-kapila isn't around, should I push changes to his PR so that we can make the process faster?
      • 2020-09-21 26544, 2020

      • pristine___
        I mean if it's not a bad practice to push changes to someone else's PR
      • 2020-09-21 26503, 2020

      • ruaok
        not if you're trying to get a release done.
      • 2020-09-21 26507, 2020

      • ruaok
        but that is my take
      • 2020-09-21 26523, 2020

      • pristine___
        ruaok: cool, I will wait for him then.
      • 2020-09-21 26538, 2020

      • pristine___
        Oh shit, I read something else.
      • 2020-09-21 26539, 2020

      • pristine___
        Lol
      • 2020-09-21 26542, 2020

      • ruaok
        heh.
      • 2020-09-21 26546, 2020

      • shivam-kapila
        I am here
      • 2020-09-21 26504, 2020

      • pristine___
        Phew!
      • 2020-09-21 26537, 2020

      • shivam-kapila
        What can I do
      • 2020-09-21 26540, 2020

      • pristine___
        shivam-kapila: does the comment on 1102 makes sense to you?
      • 2020-09-21 26519, 2020

      • shivam-kapila
        Havent seen it
      • 2020-09-21 26522, 2020

      • shivam-kapila
        A sec
      • 2020-09-21 26542, 2020

      • shivam-kapila
        couldnt run the code though
      • 2020-09-21 26545, 2020

      • shivam-kapila
        no recs
      • 2020-09-21 26556, 2020

      • pristine___
        shivam-kapila: didn't get you.
      • 2020-09-21 26528, 2020

      • shivam-kapila
        can you suggest that change
      • 2020-09-21 26540, 2020

      • pristine___
        See the comment
      • 2020-09-21 26552, 2020

      • shivam-kapila
        I mean comment as a suggestion
      • 2020-09-21 26503, 2020

      • shivam-kapila
        I can directly accept it then
      • 2020-09-21 26506, 2020

      • pristine___
        Ah!
      • 2020-09-21 26510, 2020

      • pristine___
        A sec
      • 2020-09-21 26554, 2020

      • shivam-kapila
        sorry for the trouble. Aint well
      • 2020-09-21 26522, 2020

      • ruaok
        maybe we should cancel today and all go back to bed.
      • 2020-09-21 26537, 2020

      • pristine___
        shivam-kapila: done!
      • 2020-09-21 26541, 2020

      • reosarevok
        s/today/2020?
      • 2020-09-21 26555, 2020

      • ruaok
        reosarevok: yeah, sounds even better.
      • 2020-09-21 26515, 2020

      • ruaok
        but, I do have one uplifting thought. Was if 2020 was the last good year the planet has left?
      • 2020-09-21 26522, 2020

      • ruaok
        s/was/what/
      • 2020-09-21 26535, 2020

      • shivam-kapila
        nooooo
      • 2020-09-21 26547, 2020

      • ruaok
        I do believe I do not have enough chocolate to contemplate this
      • 2020-09-21 26502, 2020

      • pristine___
        shivam-kapila: I hope you run on dev next time :p
      • 2020-09-21 26508, 2020

      • pristine___
        But thanks for the commit
      • 2020-09-21 26545, 2020

      • shivam-kapila
        I dont have recs on local setup actually
      • 2020-09-21 26559, 2020

      • pristine___
        Hmm.
      • 2020-09-21 26505, 2020

      • shivam-kapila needs chocolate to fight the headache
      • 2020-09-21 26516, 2020

      • pristine___
        shivam-kapila: same pinch!
      • 2020-09-21 26522, 2020

      • ruaok
        ok, I go to the shop then.
      • 2020-09-21 26541, 2020

      • pristine___
        ruaok: cool, lemme know when you are back
      • 2020-09-21 26505, 2020

      • pristine___
        shivam-kapila: has pushed the changes
      • 2020-09-21 26558, 2020

      • reosarevok
        yvanzo: we have warning + error already for a lot of cases :)
      • 2020-09-21 26508, 2020

      • BrainzGit
        [listenbrainz-server] vansika merged pull request #1102 (master…fix-anonymous-user-mixin-error): Fix anonymous user mixin error that occurs if user isn't logged in https://github.com/metabrainz/listenbrainz-server…
      • 2020-09-21 26528, 2020

      • pristine___
        ruaok: all set! You can release now!
      • 2020-09-21 26507, 2020

      • reosarevok
        yvanzo: for example we have a warning if: hasVariousArtistTracks and inside that conditional an error if: hasUnconfirmedVariousArtists specifically
      • 2020-09-21 26513, 2020

      • reosarevok
        If both are true, we display both :)
      • 2020-09-21 26515, 2020

      • ruaok
        pristine___: beta updated.
      • 2020-09-21 26549, 2020

      • ruaok
        pristine___: shivam-kapila look better now?
      • 2020-09-21 26505, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1704 (master…MBS-11036): MBS-11036: Don't show Add release button when moving CD TOC https://github.com/metabrainz/musicbrainz-server/…
      • 2020-09-21 26506, 2020

      • BrainzBot
        MBS-11036: Don't allow to add new release when moving CD TOC https://tickets.metabrainz.org/browse/MBS-11036
      • 2020-09-21 26525, 2020

      • pristine___
        ruaok: looks good to me :p
      • 2020-09-21 26535, 2020

      • ruaok
        k
      • 2020-09-21 26526, 2020

      • pristine___
        I am posting the blog on community, I will just add the line 'visit https://beta.listenbrainz.org/recommended/tracks/…
      • 2020-09-21 26526, 2020

      • pristine___
        to see your recs
      • 2020-09-21 26529, 2020

      • shivam-kapila
        Awesome
      • 2020-09-21 26547, 2020

      • pristine___
        ruaok: is the okay for non devs?
      • 2020-09-21 26552, 2020

      • yvanzo
        reosarevok: do we distinguish between them? how?
      • 2020-09-21 26506, 2020

      • reosarevok
        The warning is a big yellow box
      • 2020-09-21 26508, 2020

      • ruaok
        when I click on a track the player tells me: "Missing parameter type"
      • 2020-09-21 26522, 2020

      • ruaok
        is that something to be concerned about?
      • 2020-09-21 26522, 2020

      • pristine___
        Screenshot?
      • 2020-09-21 26554, 2020

      • reosarevok
      • 2020-09-21 26558, 2020

      • reosarevok
        yvanzo: ^
      • 2020-09-21 26559, 2020

      • ruaok
      • 2020-09-21 26521, 2020

      • reosarevok
        The error only appears if the checkbox isn't clicked (and it's clicked by default if it was like that already)
      • 2020-09-21 26555, 2020

      • pristine___
        ruaok: that's something related to Brainzplayer, I think
      • 2020-09-21 26557, 2020

      • reosarevok
        Here I'd do the same, but without a checkbox - just "only warning unless it wasn't already there at the beginning"
      • 2020-09-21 26502, 2020

      • yvanzo
        bitmap, reosarevok: I would like to ship gh#MBS:1581 with today’s release if that is possible.
      • 2020-09-21 26503, 2020

      • pristine___
        Are you able to play tracks?
      • 2020-09-21 26508, 2020

      • shivam-kapila
        ruaok: try a new song
      • 2020-09-21 26512, 2020

      • shivam-kapila
        ?
      • 2020-09-21 26526, 2020

      • reosarevok
        yvanzo: if bitmap is happy with it then I am
      • 2020-09-21 26533, 2020

      • reosarevok
        I took a brief look but not too in detail
      • 2020-09-21 26542, 2020

      • pristine___
        Mr_Monkey: you around?
      • 2020-09-21 26548, 2020

      • Mr_Monkey
        Yo !
      • 2020-09-21 26505, 2020

      • pristine___
        Can you have a loot at the screeshot ruaok shared?
      • 2020-09-21 26508, 2020

      • pristine___
        Look*