User talk:A930913/Archives/2019/Mar

BracketBot crash
FYI, putting in the title of 0.999... into the BracketBot find.py, which goes to [https://tools.wmflabs.org/bracketbot/cgi-bin/find.py?page=0.999... this URL], gave me this crash:

Traceback (most recent call last): File "/data/project/bracketbot/public_html//cgi-bin/find.py", line 36, in    """.format(out,form.getvalue("text",""))) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2264' in position 232: ordinal not in range(128)

I guess this just needs to expect UTF-8 instead of ASCII? -- Beland (talk) 20:54, 2 March 2019 (UTC)


 * Ah, and it looks like ABB which goes here causes a different crash because it's a redirect. pywikibot might have a flag to set to cause it to follow redirects? -- Beland (talk) 20:57, 2 March 2019 (UTC)