-
alastairp
so that if something goes wrong later on we have a record?
-
lucifer
sure, print to log and save that?
-
mayhem
-
reosarevok
bitmap: actually, apparently for some reason our only call to tag_cloud passed a 200 tags limit, despite our having 100 as the default
-
So I'll just make 200 the default :p
-
And maybe 50 for others then
-
CatQuest
+1 reosarevok
-
alastairp
lucifer: sure, anything that makes it easy to get this list in the future.
-
reosarevok
CatQuest: still no sillyname though, you need more thousands :p
-
CatQuest
oh no :(
-
reosarevok
But alastairp's "soundtrack." does make the cut!
-
CatQuest
ಠ_ಠ
-
wait he makes thme with a dot jsut casue?
-
U
-
reosarevok
A bug
-
CatQuest
oic
-
alastairp
haha
-
that's what happens when you bulk submit 6000 instances of that tag
-
reosarevok
-
CatQuest
and the "edit tag" thing isn't in yet
-
hm
-
alastairp
CatQuest: it's OK, I know which ones I added it to, it will be easy to fix them
-
CatQuest
that other tags thing will become more usefull after genresget aliases
-
alastairp: once we cna rename tags it'll be a cakewalk
-
mm cake
-
BrainzGit
-
-
lucifer
alastairp: ^
-
alastairp
lucifer: is to_name the username?
-
lucifer
alastairp: yes
-
-
alastairp
one other comment
-
lucifer
alastairp, Sentry will capture local variable so user_name will be available in sentry to identify it.
-
alastairp
lucifer: right, I guess it depends on how many errors we might see
-
if there are 100 for example, we'd have to click through each event in sentry to get the username.
-
so we could log it: Could not send YIM email to %username
-
then we can just copy/paste the output and parse it
-
lucifer
i can add the user_name to the meesage but then it might treat each event separate
-
alastairp
ah, good point. we should learn how to do this in sentry
-
lucifer
ah i see :+!
-
alastairp
because personally I think it's a common thing that we might want to do
-
I don't mind 100 separate errors in sentry in this case
-
I'd much rather have the readable list of usernames in the log file
-
lucifer
indeed, i have been cutting on placeholders in error messages to avoid sentry duplicates but would be nice to keep both.
-
agreed.
-
PR updated
-
alastairp
if to_email is None:
-
are we sure that None is the only case here?
-
what if it's ""?
-
`if not to_email` ?
-
lucifer
its mostly a best effort fix, because invalid email will also fail. liek abc@
-
alastairp
approved
-
yeah, we have the try/catch anyway
-
lucifer
but changing to not is fine, doing
-
done
-
thanks!
-
BrainzGit
-
-
lucifer
alastairp: mayhem: emails sent!
-
mayhem
great!
-
lucifer
5 emails failed due to invalid address.
-
reosarevok
Is there supposed to be any left and right arrows in Your top albums of 2021 ?
-
lucifer
mayhem, posted to HN and reddit?
-
reosarevok: yes those are transparent currently though, monkey or akshaaatt will fix that tomorrow.
-
mayhem
neither so far, but good ideas.
-
lucifer
lol i didn't get an email.
-
mayhem
lets craft the ever import HN headline.
-
I haven't either.
-
this would be "Show HN", no?
-
lucifer
i guess the meb smtp server is busy sending 5000 emails
-
yes
-
reosarevok
-
I quite liked that single, but that seems excessive
-
mayhem
"Show HN: Small open source project releases more detailed user listening report than big streaming service."
-
reosarevok
All in all though this looks very nice, thanks!
-
mayhem
reosarevok: <3
-
lucifer
epic!
-
reosarevok
lucifer: any idea about the repeated new album though? :)
-
lucifer
reosarevok: uh no actually. i'll need to dig deeper i think i forgot to filter out various release versions of a release.
-
mayhem
reosarevok: how did you play that track?
-
its a mappping issue, very likely.
-
reosarevok
mayhem: spotify
-
mayhem
lucifer: was epic directed at my HN headline?
-
lucifer
afk for a bit
-
mayhem: yes
-
reosarevok
lucifer: only 1 version in MB, so maybe mapping as mayhem said? Dunno
-
mayhem
ok, I'll go post that then/
-
alastairp
mayhem: maybe just post the blog post?
-
mayhem
reosarevok: if you add that to the mapping roll up ticket in LB, I can have a look in the new year.
-
alastairp
to me it doesn't feel like a show hn
-
mayhem
alastairp: for the HN link?
-
alastairp
yeah, just regular post -> blog -> automatic title
-
reosarevok
Ok :)
-
That headline seems a bit like, it'd be cool if someone else posted it, but someone from the dev team posting it seems very braggy :p
-
mayhem
open for suggestions on how to fix it.
-
a "let the blog headline be the HN headline" approach is 100% not going to work.
-
alastairp
-
yeah, but the HN rules are "use the page title"
-
and so doing something different isn't going to work either
-
mayhem
yeah, doesn't fit the show HN rules.
-
ok, I'll leave the HN post to you alastairp.
-
-
alastairp
lucifer: how are emails?
-
-
mayhem upvotes.
-
lucifer
alastairp: emails were sent fine by LB. 5 failed due to invalid email. however at least i and mayhem haven't received one.
-
mayhem
still nuthing.
-
not very encouraging.
-
lucifer
my guess is either gmail blocked us and will send slowly or the meb smtp server is throttling.
-
rdswift
Nothing here yet either.
-
alastairp
nothing here either, I'm not sure about how this works
-
lucifer
zas can we find if the emails are blocked somewhere?
-
mayhem is checking the google apps console
-
zas
from where those emails are sent? did you check smtp relay logs?
-
lucifer
LB web container.
-
where can i find the relay logs?
-
zas
which smtp relay does it use?
-
mayhem
there are not notifications for us in google apps.
-
alastairp
-
lucifer
zas: 10.2.2.45
-
ah! forgot about that container
-
zas
log is full of "SMTP connection from dockgw17 [172.17.0.1] lost"
-
reosarevok
-
zas
have a look at mainlog & rejectlog in /var/log/exim4 (inside the container)
-
reosarevok
CatQuest's suggestion finds weird broken shit again!
-
bitmap: any idea why the hell we have 74k uses of tag '' ?
-
And more importantly, how? :D
-
zas
mails are relayed apparently
-
alastairp
-
rdswift
Mine just showed up.
-
lucifer
i received an email just now
-
alastairp
so maybe it's just taking its time
-
yeah, it's going down
-
(3 lines of output per message, there aren't 9k messages waiting)
-
reosarevok
Got mine too, yeah
-
alastairp
it's like christmas came early
-
reosarevok
bitmap: tag id 80586, if you wanna take a quick look later
-
bitmap
reosarevok: looks like a validation failure on our part. they're almost all entered by the tags-lastfm user, is that alastairp?
-
alastairp
yep, that's me. sorry!
-
will find the bug and delete the tags
-
bitmap
np, I'll fix the issue on the MBS side
-
alastairp
I got many http400s on tag submission, but don't know which tags were causing the issue, so there's definitely _some_ validation going on!
-
though I don't know what tags were failing the validation
-
reosarevok
Yay
-
For it being fixed
-
alastairp
mayhem: office telegram bot just opened the door for a command I sent it at 10am
-
mayhem
Because I just restarted the bot. Got stuck on reboot
-
alastairp
ah, nice 👍
-
lucifer
mayhem: any subreddits in mind we should crosspost yim to?
-
alastairp
/r/music maybe?