Last modified: 2014-07-04 16:20:15 UTC
When running tests, test_add_new_tag_utf8 returns an error: OperationalError: (OperationalError) (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='") 'SELECT tag.id AS tag_id, tag.name AS tag_name \nFROM tag \nWHERE tag.name = %s \n LIMIT %s' (u'18\u043d\u0430\u0442\u0430\u043b\u044c', 1)
What might be happening is that you need to rebuild your database. Try: mysql> drop wikimetrics_testing; drop wikimetrics and outside vagrant just run > vagrant provision That should start the database fresh.
I couldn't replicate this, and I may have been a bit confused when it was first reported, because of another bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=66671. Either way, I think this can be solved with nuria's instructions. The other bug has a patch for review now.