#metabrainz

/

      • bricas_ joined the channel
      • 2020-10-21 29543, 2020

      • bricas_
        Hey y'all. I can't seem to get registered for bookbrainz. I get to the display name screen, press "looks good sign me up" and it just spins. (MB username: bricas)
      • 2020-10-21 29535, 2020

      • CatQuest joined the channel
      • 2020-10-21 29513, 2020

      • BrainzGit
        [listenbrainz-server] AbhinavOhri closed pull request #1104 (master…recurTOloop): Rewrite the last.fm importer retry logic to be iterative. https://github.com/metabrainz/listenbrainz-server…
      • 2020-10-21 29518, 2020

      • BrainzGit
        [listenbrainz-server] AbhinavOhri closed pull request #1048 (master…trailing-slash): LB-571: Extra slash at the end of Listens Page URL leads to 404 error https://github.com/metabrainz/listenbrainz-server…
      • 2020-10-21 29519, 2020

      • BrainzBot
        LB-571: Extra slash at the end of Listens Page URL leads to 404 error https://tickets.metabrainz.org/browse/LB-571
      • 2020-10-21 29550, 2020

      • BrainzGit
        [listenbrainz-server] AbhinavOhri reopened pull request #1104 (master…recurTOloop): Rewrite the last.fm importer retry logic to be iterative. https://github.com/metabrainz/listenbrainz-server…
      • 2020-10-21 29514, 2020

      • BrainzGit
        [listenbrainz-server] AbhinavOhri reopened pull request #1048 (master…trailing-slash): LB-571: Extra slash at the end of Listens Page URL leads to 404 error https://github.com/metabrainz/listenbrainz-server…
      • 2020-10-21 29515, 2020

      • BrainzBot
        LB-571: Extra slash at the end of Listens Page URL leads to 404 error https://tickets.metabrainz.org/browse/LB-571
      • 2020-10-21 29558, 2020

      • BrainzGit
        [bookbrainz-site] frappelatte28 opened pull request #526 (master…uifixes): Changed the styling of buttons to enhance the semanticity of website https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2020-10-21 29545, 2020

      • Mr_Monkey
        Hi bricas_ ! I'll have a look at why that's happening, hang tight!
      • 2020-10-21 29545, 2020

      • reosarevok
        D4RK-PH0ENiX: hi! I could use advice with the sidebar name for https://github.com/metabrainz/musicbrainz-server/…
      • 2020-10-21 29502, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok merged pull request #1750 (master…MBS-11182): MBS-11182: Stop highlighting LyricWiki links https://github.com/metabrainz/musicbrainz-server/…
      • 2020-10-21 29503, 2020

      • BrainzBot
        MBS-11182: Remove LyricWiki links from the sidebar https://tickets.metabrainz.org/browse/MBS-11182
      • 2020-10-21 29517, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok merged pull request #1753 (master…MBS-11189): MBS-11189: Stop highlighting PureVolume links https://github.com/metabrainz/musicbrainz-server/…
      • 2020-10-21 29518, 2020

      • BrainzBot
        MBS-11189: Remove PureVolume links from sidebar https://tickets.metabrainz.org/browse/MBS-11189
      • 2020-10-21 29522, 2020

      • reosarevok
        yvanzo: I gather https://tickets.metabrainz.org/browse/MBBE-8 is a good next task for the MBBE bot then?
      • 2020-10-21 29543, 2020

      • D4RK-PH0ENiX
        reosarevok: at the bottom of the page. he uses "IROMBOOK 私家版楽器事典" https://saisaibatake.ame-zaiku.com/gakki/index.ht…
      • 2020-10-21 29557, 2020

      • reosarevok
        And that's a gramatically correct Japanese title? :)
      • 2020-10-21 29506, 2020

      • D4RK-PH0ENiX
        yes
      • 2020-10-21 29509, 2020

      • reosarevok
        (just making sure it's not just two things displayed close to each other)
      • 2020-10-21 29515, 2020

      • reosarevok
        Ok, thanks! I guess that'll work then!
      • 2020-10-21 29507, 2020

      • D4RK-PH0ENiX
        it translates to "IROMBOOK's private music instruments encyclopedia"
      • 2020-10-21 29519, 2020

      • D4RK-PH0ENiX
        japanese can be very compact ^^;
      • 2020-10-21 29531, 2020

      • reosarevok
        Yeah :)
      • 2020-10-21 29529, 2020

      • v6lur joined the channel
      • 2020-10-21 29549, 2020

      • BrainzGit
        [musicbrainz-server] reosarevok opened pull request #1760 (master…MBS-11194): MBS-11194: Fix ISE when historic EditRelationship data is broken https://github.com/metabrainz/musicbrainz-server/…
      • 2020-10-21 29551, 2020

      • BrainzBot
        MBS-11194: TypeError: Cannot read property 'linkTypeID' of undefined (part 2) https://tickets.metabrainz.org/browse/MBS-11194
      • 2020-10-21 29512, 2020

      • yvanzo
        reosarevok: yes, maybe we should have a label "bot-editing" for such MBBE tickets?
      • 2020-10-21 29519, 2020

      • reosarevok
        Feel free! :)
      • 2020-10-21 29531, 2020

      • reosarevok
        And cron-editing for the others? :p
      • 2020-10-21 29533, 2020

      • reosarevok
        I dunno
      • 2020-10-21 29555, 2020

      • yvanzo
        Initially, all MBBE tickets were supposed to be bot-editable, but many are not: MBBE-18 for example, or all the HTTPSification tasks.
      • 2020-10-21 29546, 2020

      • reosarevok
        I mean, those last ones are bot-editable, but we might prefer to not do it like that
      • 2020-10-21 29553, 2020

      • reosarevok
        But yeah, there's a couple that definitely are not
      • 2020-10-21 29501, 2020

      • Gazooo79494 has quit
      • 2020-10-21 29544, 2020

      • Gazooo79494 joined the channel
      • 2020-10-21 29510, 2020

      • BrainzGit
        [listenbrainz-server] vansika opened pull request #1149 (rec-component-feedback…sync-feedback): Sync recommendation feedback with emoticons https://github.com/metabrainz/listenbrainz-server…
      • 2020-10-21 29540, 2020

      • BrainzGit
        [bookbrainz-site] MonkeyDo merged pull request #525 (master…snyk-fix-b6798bfc0e9af55863442307e9ef9ad1): [Snyk] Security upgrade chart.js from 2.9.3 to 2.9.4 https://github.com/bookbrainz/bookbrainz-site/pul…
      • 2020-10-21 29517, 2020

      • ruaok
        alastairp: `for row in curs` is not equivalent to `while True row=curs.fetchone()` tests fail with the former.
      • 2020-10-21 29529, 2020

      • alastairp
        ruaok: but is that because of the way that you set up the mock? you're mocking the response value of fetchone explicitly
      • 2020-10-21 29502, 2020

      • ruaok
        ah, yes that might be it.
      • 2020-10-21 29542, 2020

      • ruaok
        there was a reason why I use this pattern and not just for testing purposes. mocking postgres was hard enough, that I am going to stick with fetchone.
      • 2020-10-21 29550, 2020

      • alastairp
        yeah, it was more of a comment rather than a specific requirement to change
      • 2020-10-21 29506, 2020

      • alastairp
        you're right that checking this kind of stuff is a bit of a challenge
      • 2020-10-21 29532, 2020

      • ruaok
        I do like the suggestion of the ::TEXT cast.
      • 2020-10-21 29549, 2020

      • travis-ci joined the channel
      • 2020-10-21 29549, 2020

      • travis-ci
        Project bookbrainz-site build #3507: passed in 4 min 37 sec: https://travis-ci.org/bookbrainz/bookbrainz-site/…
      • 2020-10-21 29549, 2020

      • travis-ci has left the channel
      • 2020-10-21 29554, 2020

      • alastairp
        ruaok: do the datasets in LB have their tests run as part of the LB tests?
      • 2020-10-21 29520, 2020

      • ruaok
        you mean the labs api stuff? yes.
      • 2020-10-21 29535, 2020

      • alastairp
        i'm just adding tests/jenkins for troi, was wondering if we should do the same for the ds hoster (or if it makes sense to have tests there)
      • 2020-10-21 29523, 2020

      • ruaok
        ah, the ds hoster. hmm. I suppose we should...
      • 2020-10-21 29547, 2020

      • ruaok
        PR updated. I'll look at LB-743 next.
      • 2020-10-21 29548, 2020

      • BrainzBot
        LB-743: Some exception handling swallows traceback https://tickets.metabrainz.org/browse/LB-743
      • 2020-10-21 29555, 2020

      • alastairp
        cool
      • 2020-10-21 29524, 2020

      • alastairp
        yvanzo: can we have PRs in troi-recommendation-playground interact with LB- issues on jira?
      • 2020-10-21 29535, 2020

      • alastairp
        one final comment on that PR, otherwise it's good
      • 2020-10-21 29555, 2020

      • ruaok
        fixed.
      • 2020-10-21 29510, 2020

      • ruaok
        alastairp: so, what error catching strategy should we go with? I'm learning towards a policy that says: If an error is encountered by the pipeline it should throw an informative RuntimeError exception and then main block should catch and display those without a stack trace. And I should remove the blanket Exception catch and add more detailed try blocks for other cases. (e.g. the stacktrace you showed in the bug)
      • 2020-10-21 29503, 2020

      • ruaok
        this should avoid obscuring real bugs and their stacktraces. while showing errors in the pipeline in a sane fashion that doesn't throw a stacktrace in the users face.
      • 2020-10-21 29537, 2020

      • alastairp
        right. If an element wants to report an error that means it can't continue, it should definitely report that as a specific exception. This will mean that the pipeline will quit, right?
      • 2020-10-21 29555, 2020

      • ruaok
        yes.
      • 2020-10-21 29500, 2020

      • alastairp
        if it's a programming error then yeah, there should be a stacktrace (and explosion, I guess)
      • 2020-10-21 29516, 2020

      • ruaok
        should we continue to use RuntimeError or define a custom exception for pipeline errors?
      • 2020-10-21 29545, 2020

      • alastairp
        it might be a good idea to make a troi-specific subclass of runtime error, just to be able to differentiate them
      • 2020-10-21 29555, 2020

      • ruaok
        k
      • 2020-10-21 29540, 2020

      • yvanzo
        alastairp: done
      • 2020-10-21 29527, 2020

      • ruaok
        alastairp: https://github.com/metabrainz/listenbrainz-server… updated and tests passing.
      • 2020-10-21 29501, 2020

      • Mr_Monkey
        Hi again bricas_ ! Looks like you already had an account on BookBrainz (created in 2016) but there was an issue then that would affect logging in now.
      • 2020-10-21 29502, 2020

      • Mr_Monkey
        That should be fixed; could you please try signup/login again and let me know if everything has worked for you?
      • 2020-10-21 29546, 2020

      • ruaok
      • 2020-10-21 29557, 2020

      • ruaok
        My next button disappeared. :(
      • 2020-10-21 29517, 2020

      • Mr_Monkey
        Uh….
      • 2020-10-21 29524, 2020

      • Mr_Monkey
        It shouldn't do that :)
      • 2020-10-21 29532, 2020

      • ruaok
        🤣
      • 2020-10-21 29546, 2020

      • ruaok
        also, when I was in Sitges this past weekend, the internet was quite poor.
      • 2020-10-21 29508, 2020

      • ruaok
        and BrainzPlayer just continually shat itself. :(
      • 2020-10-21 29515, 2020

      • Mr_Monkey
        For the next button, there's no code to hide it, so I have no idea what's happening here. Rendering error? Can you try resizing your browser window to a small width and back to normal and see if it rerenders?
      • 2020-10-21 29559, 2020

      • ruaok
        no change.
      • 2020-10-21 29525, 2020

      • Mr_Monkey
        hrumpf
      • 2020-10-21 29541, 2020

      • Mr_Monkey
        Can you please open devtools, find this guy at the top left of the devtools window, click on it and then on where the next button should be? https://usercontent.irccloud-cdn.com/file/8IRgIR8…
      • 2020-10-21 29515, 2020

      • ruaok
        meh, its magically back now. :(
      • 2020-10-21 29514, 2020

      • ruaok
        in jira, how do I set a ticket to "in review"? https://tickets.metabrainz.org/browse/LB-743
      • 2020-10-21 29515, 2020

      • BrainzBot
        LB-743: Some exception handling swallows traceback
      • 2020-10-21 29545, 2020

      • yvanzo
        it would require LB to use the same workflow as other projects
      • 2020-10-21 29547, 2020

      • reosarevok
        Hmm. Does the LB setup support setting as "in review"?
      • 2020-10-21 29554, 2020

      • yvanzo
        no
      • 2020-10-21 29557, 2020

      • reosarevok
        Or us to just add that step :)
      • 2020-10-21 29502, 2020

      • reosarevok
        (if that's the only needed change)
      • 2020-10-21 29513, 2020

      • reosarevok
        Is there a particular reason why LB uses a separate workflow?
      • 2020-10-21 29556, 2020

      • yvanzo
        Not sure, it might just be using the 'classic' workflow scheme by default.
      • 2020-10-21 29523, 2020

      • reosarevok
        ruaok, iliekcomputers, Mr_Monkey: should we switch to the workflow MBS and whatnot use?
      • 2020-10-21 29532, 2020

      • yvanzo
        AB is using that workflow scheme too btw.
      • 2020-10-21 29536, 2020

      • iliekcomputers
        sure
      • 2020-10-21 29541, 2020

      • reosarevok
        yvanzo: do you have the schemas open? Maybe you can screenshot the differences :)
      • 2020-10-21 29554, 2020

      • yvanzo
        All other *Brainz are using MusicBrainz workflow scheme.
      • 2020-10-21 29502, 2020

      • ruaok
        Sure
      • 2020-10-21 29510, 2020

      • reosarevok
        Or let's just change it :D
      • 2020-10-21 29525, 2020

      • reosarevok
        yvanzo: you on it?
      • 2020-10-21 29539, 2020

      • yvanzo
        reosarevok: yes
      • 2020-10-21 29554, 2020

      • reosarevok
        Thanks!
      • 2020-10-21 29556, 2020

      • yvanzo
        ruaok: are you able to set "in review" now? https://tickets.metabrainz.org/browse/LB-743
      • 2020-10-21 29557, 2020

      • BrainzBot
        LB-743: Some exception handling swallows traceback
      • 2020-10-21 29524, 2020

      • yvanzo
        I just undid the transition to the status "in progress"
      • 2020-10-21 29550, 2020

      • Mr_Monkey
        No objection
      • 2020-10-21 29552, 2020

      • yvanzo
        it should be available from "resolve issue"
      • 2020-10-21 29540, 2020

      • MajorLurker has quit
      • 2020-10-21 29511, 2020

      • ruaok
        how does one do that?
      • 2020-10-21 29500, 2020

      • ruaok
        its in progress, but resolve issue does not give me the option to set "in review"
      • 2020-10-21 29512, 2020

      • yvanzo
        I just tried, it actually transitions to "in review"
      • 2020-10-21 29533, 2020

      • yvanzo
        This has probably been configured intentionally.
      • 2020-10-21 29552, 2020

      • yvanzo
        MB workflow is more explicit, it has a "in review" button, but it also has "in beta testing" (for beta branch) and "in development branch" (for master branch, as opposed to production).
      • 2020-10-21 29503, 2020

      • BrainzGit
        [listenbrainz-server] mayhem merged pull request #1130 (master…add-original-mbid-to-recording-lookup): Add original_recording_mbid https://github.com/metabrainz/listenbrainz-server…
      • 2020-10-21 29513, 2020

      • ruaok
        yvanzo: ah, I see. thanks. that so... intuitive.
      • 2020-10-21 29535, 2020

      • BrainzGit
        [listenbrainz-server] dependabot-preview[bot] opened pull request #1150 (master…dependabot/pip/eventlet-0.29.0): Bump eventlet from 0.26.1 to 0.29.0 https://github.com/metabrainz/listenbrainz-server…
      • 2020-10-21 29538, 2020

      • BrainzGit
        [listenbrainz-server] dependabot-preview[bot] closed pull request #1121 (master…dependabot/pip/eventlet-0.28.0): Bump eventlet from 0.26.1 to 0.28.0 https://github.com/metabrainz/listenbrainz-server…
      • 2020-10-21 29531, 2020

      • ruaok
        alastairp: let's chat about the other open tickets. many things need discussion.
      • 2020-10-21 29509, 2020

      • ruaok
        alastairp: labs.api deployed.
      • 2020-10-21 29517, 2020

      • yvanzo
        So I just changed the label to "Set In Review" instead of moving LB to a completely different issue workflow.
      • 2020-10-21 29536, 2020

      • ruaok
        ah, interesting
      • 2020-10-21 29501, 2020

      • alastairp
        ruaok: I'm back. happy to talk
      • 2020-10-21 29509, 2020

      • ruaok
        LB-739
      • 2020-10-21 29510, 2020

      • BrainzBot
        LB-739: Python packaging and modules with troi.py and troi module, patches, setup.py https://tickets.metabrainz.org/browse/LB-739
      • 2020-10-21 29534, 2020

      • ruaok
        I wasn't certain if the patches dir should be in the project or not -- given the pip install goal.
      • 2020-10-21 29505, 2020

      • alastairp
        yeah, right. because ideally people would be able to write patches with a set of pre-written elements, right?
      • 2020-10-21 29516, 2020

      • alastairp
        so they'd need a place to be able to put their own patche
      • 2020-10-21 29533, 2020

      • ruaok
        yes.
      • 2020-10-21 29544, 2020

      • ruaok
        and I suppose we want to ship some default patches as well.
      • 2020-10-21 29508, 2020

      • ruaok
        I guess it makes sense to put the batteries included patches into the project itself.
      • 2020-10-21 29500, 2020

      • alastairp
        right, we could have the built-in patches plus a way of adding your own ones as well
      • 2020-10-21 29515, 2020

      • ruaok
        yep.
      • 2020-10-21 29525, 2020

      • ruaok
        then what form does troi.py take?
      • 2020-10-21 29533, 2020

      • alastairp
        I guess the workflow for that would be something like "start a new project, pip install troi, and then put files somewhere special (or some kind of configuration)"
      • 2020-10-21 29543, 2020

      • alastairp
        it could be `python -m troi <whatever>`
      • 2020-10-21 29502, 2020

      • v6lur has quit
      • 2020-10-21 29505, 2020

      • alastairp
        keep in mind that setup.py can install a cli tool too, which just points to a python module somewhere
      • 2020-10-21 29514, 2020

      • alastairp
        so it could be `troi <whatever>`
      • 2020-10-21 29533, 2020

      • ruaok
        that sounds good.
      • 2020-10-21 29504, 2020

      • alastairp
        so the `troi` executable could be the `troi.cli` module
      • 2020-10-21 29529, 2020

      • ruaok
        so do we move troi.py to troi/troi-main.py and then install troy-main.py as troi ?
      • 2020-10-21 29538, 2020

      • ruaok
        s/-/_/
      • 2020-10-21 29540, 2020

      • alastairp
        yes, I think so
      • 2020-10-21 29558, 2020

      • alastairp
        (or cli.py...)
      • 2020-10-21 29506, 2020

      • ruaok
        ok, makes sense to me.
      • 2020-10-21 29522, 2020

      • alastairp
        and put default patches in troi/patches?
      • 2020-10-21 29526, 2020

      • ruaok
        I'm not a fan of cli.py because it doesn't give you a clue at all which package it belongs to
      • 2020-10-21 29531, 2020

      • ruaok
        yes
      • 2020-10-21 29559, 2020

      • alastairp
        I mean troi/cli.py, is that still problematic to you?
      • 2020-10-21 29518, 2020

      • ruaok
        that's fine -- that comment was more about the install name.