← Back to team overview

openupgrade-drivers team mailing list archive

Re: [Question #240731]: Using migrate.py and debugging messages [6.1-7.0]

 

Question #240731 on OpenUpgrade Server changed:
https://answers.launchpad.net/openupgrade-server/+question/240731

Stefan Rijnhart (Therp) proposed the following answer:
  File "base/migrations/7.0.1.3/pre-migration.py", line 155, in create_users_partner
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)

So more encoding woes. Not sure which revision you're on, but that
method only contains database cursor interactions. As OpenERP sets
psycopg2.extensions.UNICODE, this should not happen on a system with
correctly configured encodings. You should check all of that.

-- 
You received this question notification because you are a member of
OpenUpgrade Drivers, which is an answer contact for OpenUpgrade Server.