latin7 not valid alias for iso8859_13 (Python 2.5)

Bug #583854 reported by Geert JM Vanderkelen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Connector/Python
Fix Released
Low
Geert JM Vanderkelen

Bug Description

======================================================================
ERROR: lp:499362 Setting character set at connection fails
----------------------------------------------------------------------
Traceback (most recent call last):
  File "python2/tests/test_bugs.py", line 218, in test_charset
    res1 = c.fetchall()
  File "python2/mysql/connector/cursor.py", line 536, in fetchall
    row = self.fetchone()
  File "python2/mysql/connector/cursor.py", line 516, in fetchone
    return self._row_to_python(row)
  File "python2/mysql/connector/cursor.py", line 240, in _row_to_python
    "Failed converting row to Python types; %s" % e)
InterfaceError: Failed converting row to Python types; unknown encoding: latin7

======================================================================
ERROR: test_charset (tests.test_bugs.Bug499410)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "python2/tests/test_bugs.py", line 274, in test_charset
    res_unicode = c.fetchall()
  File "python2/mysql/connector/cursor.py", line 536, in fetchall
    row = self.fetchone()
  File "python2/mysql/connector/cursor.py", line 516, in fetchone
    return self._row_to_python(row)
  File "python2/mysql/connector/cursor.py", line 240, in _row_to_python
    "Failed converting row to Python types; %s" % e)
InterfaceError: Failed converting row to Python types; unknown encoding: latin7

Tags: tests
Revision history for this message
Geert JM Vanderkelen (geertjmvdk) wrote :

revno: 244
committer: Geert Vanderkelen <email address hidden>
branch nick: myconnpy-dev
timestamp: Sun 2010-05-23 12:34:51 +0200
message:
  Fixes test case for Python 2.5: latin7 alias is unknown

  o Python 2.5 does not have the latin7 alias. We changed the test cases using
  latin7 to use something else, i.e. latin1 and greek.

Changed in myconnpy:
status: Confirmed → Fix Committed
tags: added: tests
Changed in myconnpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.