#metabrainz

/

      • discordbrainz
        <06julian45> hi folks, i just went to check out the new report for video relationships mentioned in the blog post, and i got what appears to be a db permissions error - i'm away from a computer so i hope this pastebin paste of the error will suffice: https://pastebin.com/9L80XwXf
      • aerozol[m]
        Hmm, works for me when logged in, but not in a incognito window/not logged in. I checked some other reports and it seems we offer the same inelegant server error when not logged in, for all tested.
      • mr44er[m] has quit
      • I made a ticket: MBS-13639
      • BrainzBot
        MBS-13639: Internal server error when opening a Report + not logged in https://tickets.metabrainz.org/browse/MBS-13639
      • minimal has quit
      • eharris has quit
      • pite has quit
      • aerozol[m]
        btw @bitmap and @mayhem I have started writing a blog post for the EAA, but give me a little bit to make it good. I went back and looked at the amazing CAA announcement post and am feeling inspired to make it a really interesting post -https://blog.metabrainz.org/2012/10/09/announcing-the-cover-art-archive/
      • Going through the event art edits so, in the process, has given me warm fuzzies in a way nothing has in ages: https://beta.musicbrainz.org/search/edits?auto_...
      • SO COOL
      • yellowhatpro[m]
      • is another attempt at testing, if this looks good, I will add more cases, and for other modules too.
      • Btw creating these functions I eventually corrected a couple mistakes in the functions I was testing, so I am hoping them to be fine 🤪
      • Kladky joined the channel
      • Regarding docs tests, we can't do them in a binary project. There must be some workarounds which i haven't explored yet. Will do them soon
      • rimskii[m] joined the channel
      • rimskii[m]
        lucifer: Hi!
      • Srry was busy yesterday, forgot to ask
      • So I am trsting lookup with wolf db, but its not finding any spotify_track_id, even though they exist in db
      • rimskii[m] uploaded an image: (53KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/YiEmjwKkmNThhBsWtKAhlpJI/Screenshot%202024-06-25%20at%2012.08.15.png >
      • but when I use listenbrainz labs api, it works for the same mbids
      • rimskii[m] uploaded an image: (87KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/YzJdhAStklCJhoXzSReIDhXc/Screenshot%202024-06-25%20at%2012.08.31.png >
      • I was assuming maybe it because of this [`sql statement`](https://github.com/metabrainz/listenbrainz-server/blob/master/listenbrainz/labs_api/labs/api/spotify/utils.py#L27) , but not sure whats the problem exactly
      • s/am/was/, s/trsting/testing/
      • lucifer[m]
        rimskii: i checked on spotify that track seems to have been removed from the album, its present on a different album but that is named different. so it doesn't match. the prod database probably has some old entries that haven't been removed.
      • that's my guess so far. will have to check in more detail later.
      • rimskii[m]
        Okay
      • I’ve checked for like 10 tracks, so far it couldn’t find Spotify id track for any of them
      • ok maybe even more than 10 tracks
      • reosarevok[m]
        yvanzo: STYLE-2560 seems like a fair suggestion, do you see any reason not to do that?
      • BrainzBot
        STYLE-2560: Deprecate poster relationship https://tickets.metabrainz.org/browse/STYLE-2560
      • reosarevok[m]
        The report thing seems like a bug to me, not sure if it's always been there or it's related to something like the psql update in May
      • Or maybe from the new ro connector and it's entirely new
      • bitmap: when around please check out MBS-13639
      • BrainzBot
        MBS-13639: Internal server error when opening a Report + not logged in https://tickets.metabrainz.org/browse/MBS-13639
      • yvanzo[m]
        reosarevok: It seems fair indeed, but did you check the current entries to see if the EAA will be an actual replacement for those?
      • reosarevok[m]
        I did not - why shouldn't it be though?
      • I can check later anyway, going for a hike now I think :)
      • (if you want to check before I'm back, feel free as well!)
      • yvanzo[m]
        Hi, bye then 😂
      • reosarevok[m]
        Was just doing some quick email check in case there was something urgent 😅
      • But I'm bad at not starting to ask questions
      • yvanzo[m]
        No worries, hiking is the best thing!
      • outsidecontext[m joined the channel
      • outsidecontext[m
        mayhem: it's the time again when Apple wants some agreements accepted at https://developer.apple.com/account
      • reosarevok[m]
        outsidecontext[m: It feels like every time is that time 😅
      • outsidecontext[m
        yes, indeed. Apple really does not want developers to get bored, so they always keep them busy with stuff like this. and with deprecations and new requirements nobody asked for.
      • lucifer[m]
        <rimskii[m]> "ok maybe even more than 10..." <- oh weird
      • i'll take a look into it rimskii
      • can you work on the indices of apple music metadata in meantime?
      • yvanzo[m]
        Hi yellowhatpro, nice, that goes in the right direction, how can I comment the code?
      • yellowhatpro[m]
        Hi, sorry I didn't understand. Commenting the code in?
      • mayhem[m]
        outsidecontext: I read every last word of that agreement before accepting it. 🤥
      • yvanzo[m]
        reosarevok: I quickly checked existing poster rels, it seems to be all good. 😄
      • reosarevok[m]
        Ok, deprecated it then (from the bus)
      • outsidecontext[m
        mayhem: sure sure :D Thanks
      • yvanzo[m]
        yellowhatpro: For example, can you have texts with different kinds of punctuations following URLs in `test_extract_urls_from_text`?
      • Sophist-UK joined the channel
      • yellowhatpro[m]
        Yupp, I'll the cases ✅✅
      • Thanks, I will add such cases for other modules too then.
      • * Yupp, I'll add the cases
      • yvanzo[m]
        yellowhatpro: `web.archive.org` URLs should probably be excluded too.
      • Maxr1998_ has quit
      • yellowhatpro[m]
        Aah yes, I was thinking to ask it to you whether to keep already archived URLs or not, guess we'll not
      • Maxr1998 joined the channel
      • btw I wanted to discuss a better polling logic than the one I am currently using.... (full message at <https://matrix.chatbrainz.org/_matrix/media/v3/...>)
      • yvanzo[m]
        yellowhatpro: Still about tests, declaring URLs to be tested beforehand like you did in `test_should_exclude_url` is a good practice and can be generalized to other tests.
      • aerozol[m]
        I have drafted the EAA blog post, but would like to have another look at it with fresh eyes tomorrow, if people can hold off publishing. I am also not sure if we want to wait until all of the relevant doc pages etc have been finished (nudge me if there is anything I can help with there). Anyone who wants to have a look: https://wordpress.com/post/blog.metabrainz.org/...
      • yvanzo[m]
        yellowhatpro: You can use `concat!` or `format!` for reusing these in longer strings.
      • yellowhatpro[m]
        yessirr will do ✅
      • yvanzo[m]
        aerozol: Thank you! We probably want to wait for the documentation pages to be ready, or people will start wondering about broken link or just trying to find some documentation. Hopefully, only a few pages are missing, see CAA-154.
      • BrainzBot
        IMG-154: Create initial documentation for the EAA https://tickets.metabrainz.org/browse/IMG-154
      • yvanzo[m]
        aerozol: Would it be worth a video tutorial like the one you made for how to add album covers?
      • aerozol[m]
        yvanzo: I had the same thought! I’m a bit time poor but if it takes a few days to get the documentation finished I will try make a video on adding events + one on adding event art before then. I have a new (much better) microphone, looking forward to trying it!
      • rimskii[m]
        lucifer: just tested spotify_track_from_mbid and it worked for one song!
      • rimskii[m] uploaded an image: (66KiB) < https://matrix.chatbrainz.org/_matrix/media/v3/download/matrix.org/OozuSvHsjeQbAVYycswilPdW/Screenshot%202024-06-25%20at%2015.36.59.png >
      • mayhem[m]
        rimskii[m]: perfect, ship it! 😂
      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #1051 (03master…BB-768): Fix BB-768 : Unset Author Credit leads to bugs https://github.com/metabrainz/bookbrainz-site/p...
      • [bookbrainz-site] 14MonkeyDo merged pull request #1086 (03master…dependabot/npm_and_yarn/webpack-dev-middleware-7.2.1): chore(deps-dev): bump webpack-dev-middleware from 5.3.4 to 7.2.1 https://github.com/metabrainz/bookbrainz-site/p...
      • yvanzo has quit
      • ahvalmissaamine has quit
      • alastairp has quit
      • kuno has quit
      • mayhem has quit
      • ansh has quit
      • mruszczyk has quit
      • reosarevok has quit
      • reosarevok joined the channel
      • mruszczyk joined the channel
      • yvanzo joined the channel
      • kuno joined the channel
      • mayhem joined the channel
      • ansh joined the channel
      • lucifer joined the channel
      • alastairp joined the channel
      • ahvalmissaamine joined the channel
      • lucifer has quit
      • [critiquebrainz] 14MonkeyDo merged pull request #515 (03master…footer-chat-link): Update link to chatrooms in footer https://github.com/metabrainz/critiquebrainz/pu...
      • atj[m]
        yvanzo: could you re-review the Solr Ansible PR when you have a minute please? I'd like to get it merged ASAP.
      • mayhem[m]
      • BrainzGit
        [listenbrainz-ios] 14akshaaatt merged pull request #20 (03main…search): Phase 1.1 - Add search users https://github.com/metabrainz/listenbrainz-ios/...
      • mayhem[m]
        reosarevok: one for you when you're back https://community.metabrainz.org/t/duplicate-no...
      • BrainzGit
        [bookbrainz-site] 14MonkeyDo opened pull request #1100 (03master…ac-order): BB-803: Sort author credits by their position https://github.com/metabrainz/bookbrainz-site/p...
      • [bookbrainz-site] 14MonkeyDo merged pull request #1100 (03master…ac-order): BB-803: Sort author credits by their position https://github.com/metabrainz/bookbrainz-site/p...
      • yvanzo[m]
        atj: On it!
      • atj: commented
      • atj[m]
        Thanks. Are you happy with the SSH `HostName %h.metabrainz.org` thing? It does save extra having to change two lines when we add another node to the cluster.
      • * Thanks. Are you happy with the SSH `HostName %h.metabrainz.org` thing? It does mean you only have to change 1 line when we add another node to the cluster.
      • yvanzo[m]
        It is fine, I just digressed.
      • zas[m]
        @yvanzo @atj: it would be great if we could get rid of old solr cluster soon, to cut related costs.
      • atj[m]
        Yay, merged.
      • zas[m]: Is there a dependency on me for this? I'm on holiday and have just been killing time on a train this afternoon.
      • yvanzo[m]
        Not for now, thanks.
      • Switching SIR to the new LB name.
      • Successfully processing messages again.
      • minimal joined the channel
      • bitmap[m]
        aerozol: the blog post looks amazing, thank you so much! ❤️
      • zas[m]
        sentry VM is very slow it seems
      • I can't reliably connect to it
      • btw, this VM is on an old (obsolete) plan, we may rescale it
      • Can we stop sentry for few minutes in order to rescale it?
      • bitmap[m]
        yes, I noticed this yesterday but couldn't even ssh into the machine
      • doesn't help that sentry is a resource hog
      • zas[m]
        Ok, I'll proceed, we don't have ssh access anyway :(
      • sentry rescaled to AMD CPX41 (2x cores, same RAM), rebooted, ssh access is now possible again
      • pite joined the channel
      • bitmap[m]
        thanks! the website feels snappier now too
      • atj[m]
        Can sentry run on ARM64?
      • bitmap[m]
      • yvanzo[m]
        yellowhatpro: Once a URL has been queued from the CLI, will there be a way to process a job?
      • BrainzGit
        [bookbrainz-site] 14MonkeyDo opened pull request #1101 (03master…fix-search-autocomplete): Fix search entity type https://github.com/metabrainz/bookbrainz-site/p...
      • yellowhatpro[m]
        yvanzo[m]: Currently I am adding it to internet_archive_urls, but I think we should have a way to inform the table that we have inputted it manually
      • rn from_table and from_table_id does not make sense for it if I add it to internet archive urls
      • that will be null for entries added through cli
      • yvanzo[m]
        It would be helpful to be able to do any operation manually even when the app isn’t running as a daemon.
      • yellowhatpro[m]
        so, we want to process the url on the go?
      • And not actually enqueue it?
      • yvanzo[m]
        not on the go, through a separate command.
      • something like `melba process-job <JOB_ID>`
      • yellowhatpro[m]
        JOB_ID is something which we get from response from IA req
      • When you say process job, you mean to archive the URL?
      • yvanzo[m]
        Ok, it wasn’t clear from check-status help.
      • BrainzGit
        [bookbrainz-site] 14MonkeyDo merged pull request #1101 (03master…fix-search-autocomplete): Fix search entity type https://github.com/metabrainz/bookbrainz-site/p...
      • yellowhatpro[m]
        Yeah I haven't added description for it.
      • I was thinking to work on it when I work on the IA `reqwest` calling part
      • yvanzo[m]
        so something like `melba archive-url <URL_ROW_ID>`
      • yellowhatpro[m]
        So the idea of check status is to check the details of a JOB_ID, that if it got archived or not
      • yvanzo[m]: This will archive on the go?
      • archive as in, make the network reqwest