#metabrainz

/

      • agentsim has quit
      • agentsim joined the channel
      • IRCFrEAK joined the channel
      • IRCFrEAK has quit
      • drsaunders joined the channel
      • agentsim has quit
      • colbydray has quit
      • Mineo has quit
      • hibiscuskazeneko has quit
      • Slurpee has quit
      • alfie has quit
      • alfie joined the channel
      • Lotheric
      • potential metadata customer maybe? someone should test de waters
      • ~the
      • Gore|home joined the channel
      • G0re has quit
      • hibiscuskazeneko joined the channel
      • JonnyJD has quit
      • jwf
        Freso: Yeah, I am going, but it would be cool to see the MusicBrainz folk at a conference sometime. :) Maybe what might be more realistic is going to FOSDEM next year, since I think most of you aren't that far from Brussels.
      • nupurbaghel joined the channel
      • hibiscuskazeneko has quit
      • nupurbaghel_ joined the channel
      • nupurbaghel has quit
      • nupurbaghel_ is now known as nupurbaghel
      • hibiscuskazeneko joined the channel
      • hibiscuskazeneko has quit
      • saifulbkhan joined the channel
      • ruaok
        zas: ping
      • I agree that the script exiting is the problem at hand. But exec is the right thing to do since it replaces the current process with the new process that gets loaded. in this case, python. it works fine for all the other services that run out of that one image.
      • at least the containers is back to restarting, which is an improvement. :)
      • thanks for the magic incantation to fix that
      • ruaok writes it down
      • now to figure out why it dies silently. :(
      • iliekcomputers: any ideas?
      • amanmehta joined the channel
      • nupurbaghel has quit
      • nupurbaghel joined the channel
      • saifulbkhan has quit
      • Mineo joined the channel
      • nupurbaghel has quit
      • nupurbaghel joined the channel
      • Zastai joined the channel
      • antlarr
        Mineo: ping
      • Mineo
        pong
      • antlarr
        I just read your comment on PR 657
      • the fixes are somewhat independent, but given the time it usually takes for one PR to get merged, I preferred to join all "cover-art-related" fixes in one PR and not having to fix conflicts and everything
      • zas
        ruaok: pooong (in which timezone are you ?? ahahah)
      • antlarr
        also, the commits that fix each one are independent
      • finally... I've been trying to reproduce your issue, and still couldn't
      • zas
        antlarr: having too much code in one PR usually don't help for fast merges ;)
      • antlarr
        zas: hehe
      • zas
        that said, i would like to merge those fixes for 1.4.1 so i can live with this (not so) fat PR
      • JonnyJD joined the channel
      • Mineo: i think about merging the config option PR too, since it doesn't include any translatable strings and shouldn't impact anything, what do you think ?
      • antlarr
        Mineo: about your remaining issue with PICARD-1001, do you see the difference in the coverartbox? or in the infodialog?
      • BrainzBot
        PICARD-1001: Cover art changes are indicated even if there's no change after loading a release https://tickets.metabrainz.org/browse/PICARD-1001
      • ruaok
        Zas: further than iliekcomputers... :-)
      • antlarr
        Mineo: all I could reproduce with your configuration was http://i.imgur.com/gn27Agu.png, but if you see, the cover art box is ok (I'm having a look at the info dialog now)
      • Mineo
        neither shows a difference
      • iliekcomputers
        ruaok: did you find out why it's exiting with no logs?
      • iliekcomputers tried but couldn't find anything :/
      • Mineo
        antlarr: also, I think you need to save it with that config at least once - there shouldn't be a back image with it
      • ruaok
        No, busy drinking 🍺 atm
      • antlarr
        Mineo: right, now I don't have any difference
      • iliekcomputers
        ha
      • antlarr
        so, what's the remaining problem with PICARD-1001 ?
      • BrainzBot
        PICARD-1001: Cover art changes are indicated even if there's no change after loading a release https://tickets.metabrainz.org/browse/PICARD-1001
      • Mineo
        and you still have the green checkmarks next to each track after removing the release and loading it again?
      • antlarr
        ah, I see
      • zas
        ruaok, iliekcomputers: did you test anything yet to get the error reported ? i think just adding "exec 2>&1" to your init script might help
      • antlarr
        there's a green box
      • it should be a green checkmark
      • right?
      • Mineo
        yes
      • antlarr
        I was looking at the coverartbox/info dialog the whole time...
      • zas
        also don't forget "docker events" command may help to see what is going on with fast dying containers (it doesn't help much in this case)
      • antlarr
        ok, I have like 15 minutes this morning to work on this... let's see if I find it quickly
      • ruaok
        Zas: there are 3 other services that give proper output using the same exec statement.
      • I really doubt it is the exec
      • zas
        ruaok: but the other services don't fail, right ?
      • 2017-03-19T10:35:09.810906857Z container die 1d454282ac1c6b1ae7e8d084d2a4f528cedfe774e3d43a31bff39d25e28cd81b (exitCode=0, image=metabrainz/listenbrainz, name=listenbrainz-influx-writer)
      • exit code 0 ??
      • so it means the script just exits without error
      • Mineo
        zas: re config file PR: I'll never say no to getting one of my PRs merged ;-)
      • ruaok
        Correct, fail without error.
      • zas
        if the python script does that, it is expected the container dies, it shouldn't exit but on signals (or serious failing)
      • iliekcomputers
        There are only two places from where the script can stop
      • if it fails to write after x retries
      • madmouser1 joined the channel
      • zas
        iliekcomputers: be sure to output a message when the script exits (or start)
      • iliekcomputers
        zas: both places have messages :/
      • zas
        but not to stdout, right ?
      • iliekcomputers
        no
      • Mineo
        and re PR 657: I haven't looked at the code yet, but the amount of hasattr and getattr calls in it is already scaring me :(
      • zas
        Mineo: ahah ;)
      • iliekcomputers: the problem is that if it logs to a file in a container that only exists during the time the command runs... it is pretty pointless. So ensure you can actually see when the script starts and ends in the docker logs command
      • you can get the container id from docker events for fast-dying containers and docker logs <id>
      • also test something is visible in logs in case of syntax error in the script too
      • ruaok
        iliekcomputers: let's add some stupid simple stdout logging and see if that improves?
      • iliekcomputers is already on it
      • zas
        also, handle signals in your script for clean stop
      • btw, the lack of proper handling of container stop conditions is a real pain for me, since, for example, if i need to reboot system or upgrade docker command, bad things may happen if underlying stuff isn't managing container shutdown properly.
      • antlarr
        Mineo: the file is marked as "with pending changes" because file.orig_metadata.images is empty (since the file doesn't have any embeeded image because your options enable "save cover images as separate file"), but file.metadata.images have a cover image, since it's downloaded from the release
      • so in file.update(), the state is set to CHANGED
      • I'm afraid I don't have time to fix it today (maybe tonight, but I'm not sure), so if you want, tell me how you'd fix (loading file.orig_metadata.images with images from the local files provider when there are no embeeded images?) and I'll try to fix it tomorrow
      • github joined the channel
      • github
        [listenbrainz-server] paramsingh opened pull request #150: Add logging to stdout to influx-writer (master...influx-writer/logging) https://git.io/vydGB
      • github has left the channel
      • ruaok
        Zas: We really need to create a docker best practices doc for meb.
      • I didn't realize that this is what you meant by signals earlier.
      • iliekcomputers: thanks for the pr. Will look when I get onto the metro.
      • This city is crazy. :-)
      • iliekcomputers
        ruaok: no prob, happy travels :)
      • ruaok
        :-)
      • zas
      • ruaok
        Ahh, perfect. Will read when sober. :-)
      • zas
        ruaok: in 2019 then ? ;))
      • Mineo
        antlarr: I'm afraid I don't know how any of that code works anymore
      • ruaok
        Ok ok ok. Sober-ish. Well, more sober than now.
      • And, why do you think I would be sober in 2019???
      • zas
        ruaok: just joking ;) i hope you'll be sober before that ;)
      • nupurbaghel has quit
      • nupurbaghel joined the channel
      • Zialus has quit
      • Zialus joined the channel
      • ruaok
        zas: phhhhhhhhffft.
      • arbenina_ joined the channel
      • arbenina_ has quit
      • arbenina_ joined the channel
      • agentsim joined the channel
      • IRCFrEAK joined the channel
      • IRCFrEAK has quit
      • hibiscuskazeneko joined the channel
      • hibiscuskazeneko has quit
      • hibiscuskazeneko joined the channel
      • Slurpee joined the channel
      • hibiscuskazeneko has quit
      • Zastai
        anyone about who can help with 'sir'? followed the docs to try and get it set up so I can try mbsssss-based search
      • Nyanko-sensei has quit
      • but it looks like they're out of date
      • as I get "ImportError: cannot import name init_raven_client"
      • Nyanko-sensei joined the channel
      • colbydray joined the channel
      • colbydray has quit
      • Slurpee has quit
      • Nyanko-sensei has quit
      • Nyanko-sensei joined the channel