licenses = ["CC0", "CC BY", "CC BY-SA"]
if re_match.group('license'):
print(re_match.group('license'))
for license in licenses:
print(license)
if not any(license in re_match.group('license') for license in licenses):
return
The string to be matched:
"Testing" by Tester (CC BY SA)
The Prints:
CC BY SA
CC0
CC BY
CC BY-SA
ddnet-server.sqlite
is corrupted, delete in from your config directory. regex = re.compile(r"^\"(?P<skin_name>.+)\" by (?P<user_name>.+) (\((?P<license>.{3,8})\))$", re.IGNORECASE)
re_match = regex.match(message.content)
if not re_match:
return (False,
(f'- Your message isn\'t properly formatted. Follow the message structure written in <#986941590780149780>. '
'Also keep in mind licenses are now required for every submission.'), 'Bad message structure')
(CC0|CC BY(?:-(?:SA))?)
any
seems to be the problem here then==9903==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 88 byte(s) in 1 object(s) allocated from:
#0 0x55ea5041c18e in __interceptor_malloc (.../ddnet/build/DDNet+0x107618e) (BuildId: 68a1aa8b342dbb0592f46e98fcf44391f1d8222d)
#1 0x7f8725307956 in pa_xmalloc (/lib/x86_64-linux-gnu/libpulse.so.0+0x3a956) (BuildId: 22ebe53366cdd39b5a991194ed263cdb99430478)
SUMMARY: AddressSanitizer: 88 byte(s) leaked in 1 allocation(s).
#[derive(Debug, Serialize)]
pub enum MasterEvent {
ClientJoined(Client, Arc<Server>),
ClientLeft(Client, Arc<Server>),
ServerWentOnline(Arc<Server>),
ServerWentOffline(Arc<Server>),
}
2023-09-18 15:48:48 I mutes: mute array is full
enum
{
MAX_MUTES = 32,
MAX_VOTE_MUTES = 32,
};
Looks like that's the limit right now.std::vector
would be if it's possible to allocate all the memory that wayhttps://crates.io/api/v1/crates/byteorder/1.4.3/download
(108.138.246.41), got 503
debug headers:
x-cache: Error from cloudfront
x-amz-cf-pop: SFO5-P1CARGO_HTTP_MULTIPLEXING: false
to hopefully fix the spurious network errors.
See #7173.
$ for x in chn rus eur bra chl usa kor tur twn irn arg per sau zaf sgp ind aus; do host "$x.ddnet.org"; done
Host chn.ddnet.org not found: 3(NXDOMAIN)
Host rus.ddnet.org not found: 3(NXDOMAIN)
Host eur.ddnet.org not found: 3(NXDOMAIN)
bra.ddnet.org has address 38.60.209.184
Host chl.ddnet.org not found: 3(NXDOMAIN)
Host usa.ddnet.org not found: 3(NXDOMAIN)
kor.ddnet.org has address 141.164.53.192
tur.ddnet.org has address 38.60.208.245
twn.ddnet.org has address 38.54.107.54
irn.ddnet.org has address 185.126.10.244
arg.ddnet.org has address 31.40.212.179
per.ddnet.org has address 185.47.252.237
sau.ddnet.org has address 38.54.38.236
Host zaf.ddnet.org not found: 3(NXDOMAIN)
Host sgp.ddnet.org not found: 3(NXDOMAIN)
ind.ddnet.org has address 45.79.121.140
aus.ddnet.org has address 139.99.134.214
$ for x in chn rus eur bra chl usa kor tur twn irn arg per sau zaf sgp ind aus; do host "${x}1.ddnet.org"; done
Host chn1.ddnet.org not found: 3(NXDOMAIN)
Host rus1.ddnet.org not found: 3(NXDOMAIN)
Host eur1.ddnet.org not found: 3(NXDOMAIN)
Host bra1.ddnet.org not found: 3(NXDOMAIN)
Host chl1.ddnet.org not found: 3(NXDOMAIN)
usa1.ddnet.org has address 192.223.30.85
Host kor1.ddnet.org not found: 3(NXDOMAIN)
Host tur1.ddnet.org not found: 3(NXDOMAIN)
Host twn1.ddnet.org not found: 3(NXDOMAIN)
Host irn1.ddnet.org not found: 3(NXDOMAIN)
Host arg1.ddnet.org not found: 3(NXDOMAIN)
Host per1.ddnet.org not found: 3(NXDOMAIN)
Host sau1.ddnet.org not found: 3(NXDOMAIN)
zaf1.ddnet.org has address 197.81.132.35
Host sgp1.ddnet.org not found: 3(NXDOMAIN)
Host ind1.ddnet.org not found: 3(NXDOMAIN)
Host aus1.ddnet.org not found: 3(NXDOMAIN)
$ for x in chn rus eur bra chl usa kor tur twn irn arg per sau zaf sgp ind aus; do host "${x}2.ddnet.org"; done
chn2.ddnet.org has address 121.22.5.130
Host rus2.ddnet.org not found: 3(NXDOMAIN)
Host eur2.ddnet.org not found: 3(NXDOMAIN)
Host bra2.ddnet.org not found: 3(NXDOMAIN)
chl2.ddnet.org has address 177.221.141.100
usa2.ddnet.org has address 5.78.73.17
Host kor2.ddnet.org not found: 3(NXDOMAIN)
Host tur2.ddnet.org not found: 3(NXDOMAIN)
Host twn2.ddnet.org not found: 3(NXDOMAIN)
irn2.ddnet.org has address 45.81.17.24
Host arg2.ddnet.org not found: 3(NXDOMAIN)
Host per2.ddnet.org not found: 3(NXDOMAIN)
Host sau2.ddnet.org not found: 3(NXDOMAIN)
zaf2.ddnet.org has address 41.76.111.184
sgp2.ddnet.org has address 172.104.61.198
Host ind2.ddnet.org not found: 3(NXDOMAIN)
Host aus2.ddnet.org not found: 3(NXDOMAIN)
$ for x in chn rus eur bra chl usa kor tur twn irn arg per sau zaf sgp ind aus; do host "$x.ddnet.org"; done
Host chn.ddnet.org not found: 3(NXDOMAIN)
Host rus.ddnet.org not found: 3(NXDOMAIN)
Host eur.ddnet.org not found: 3(NXDOMAIN)
bra.ddnet.org has address 38.60.209.184
Host chl.ddnet.org not found: 3(NXDOMAIN)
Host usa.ddnet.org not found: 3(NXDOMAIN)
kor.ddnet.org has address 141.164.53.192
tur.ddnet.org has address 38.60.208.245
twn.ddnet.org has address 38.54.107.54
irn.ddnet.org has address 185.126.10.244
arg.ddnet.org has address 31.40.212.179
per.ddnet.org has address 185.47.252.237
sau.ddnet.org has address 38.54.38.236
Host zaf.ddnet.org not found: 3(NXDOMAIN)
Host sgp.ddnet.org not found: 3(NXDOMAIN)
ind.ddnet.org has address 45.79.121.140
aus.ddnet.org has address 139.99.134.214
dig
shows no entry for rus.ddnet.org or rus1.ddnet.org