Page MenuHomePhabricator

Morebots doesn't log entries containing non-ASCII characters
Closed, ResolvedPublic

Description

e.g. stuff like

<logmsgbot> !log catrope synchronized php-1.5/wmf-config/InitialiseSettings.php 'bug 21100: Add Tác_gia namespace to $wgNamespacesToBeSearchedDefault on viwikisource'

Doesn't get logged, while replacing Tác_gia with Tac_gia does get it logged.


Version: unspecified
Severity: normal

Details

Reference
bz21944

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:47 PM
bzimport set Reference to bz21944.

Moving to General (since it's a General bug). The IRC component is for irc.wikimedia.org, not various irc bots.

(In reply to comment #2)

The IRC component is for irc.wikimedia.org, not various irc bots.

Sigh - I've updated the previously wrong component description accordingly.

<andrewbogott> bug is confirmed! When I asked it to log 'á' it threw an error...
<andrewbogott> (<type 'exceptions.UnicodeDecodeError'>, UnicodeDecodeError('ascii', '* 19:24 andrewbogott: letters like \xc3\xa1', 35, 36, 'ordinal not in range(128)'), <traceback object at 0x1a6a7a0>)

sumanah wrote:

Gerrit changeset is merged so I assume this is fixed.

Fixed in code but the new bot isn't deployed on wikitech yet.