runtests failed Test_issue_36 and 38

35 views
Skip to first unread message

Pax Kat

unread,
Jan 9, 2015, 5:10:58 PM1/9/15
to pymysq...@googlegroups.com
I just installed Django and PythonMySQL (Python 3.3, Windows 8.1).  Things seems to go smoothly. But when I ran test I got InternalError (see below snippets)

Any help explain these two error would be much appreciated.
Thank you 
pax






C:\Users\pax\Pictures\Orchids    C:\Projects\Orchids\Web
................Set max_allowed_packet to bigger than 17MB
....F......................sE.Ex......s.........................................................x.......
======================================================================
ERROR: test_issue_36 (pymysql.tests.test_issues.TestNewIssues)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python33\lib\site-packages\pymysql\tests\test_issues.py", line 200, in test_issue_36
    conn.kill(kill_id)
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 739, in kill
    return self._read_ok_packet()
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 658, in _read_ok_packet
    pkt = self._read_packet()
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 826, in _read_packet
    packet.check_error()
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 370, in check_error
    raise_mysql_exception(self._data)
  File "C:\Python33\lib\site-packages\pymysql\err.py", line 116, in raise_mysql_exception
    _check_mysql_exception(errinfo)
  File "C:\Python33\lib\site-packages\pymysql\err.py", line 112, in _check_mysql_exception
    raise InternalError(errno, errorvalue)
pymysql.err.InternalError: (1317, 'Query execution was interrupted')

======================================================================
ERROR: test_issue_38 (pymysql.tests.test_issues.TestNewIssues)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python33\lib\site-packages\pymysql\tests\test_issues.py", line 232, in test_issue_38
    c.execute("insert into issue38 values (1, %s)", (datum,))
  File "C:\Python33\lib\site-packages\pymysql\cursors.py", line 132, in execute
    result = self._query(query)
  File "C:\Python33\lib\site-packages\pymysql\cursors.py", line 271, in _query
    conn.query(q)
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 726, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 861, in _read_query_result
    result.read()
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 1064, in read
    first_packet = self.connection._read_packet()
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 826, in _read_packet
    packet.check_error()
  File "C:\Python33\lib\site-packages\pymysql\connections.py", line 370, in check_error
    raise_mysql_exception(self._data)
  File "C:\Python33\lib\site-packages\pymysql\err.py", line 116, in raise_mysql_exception
    _check_mysql_exception(errinfo)
  File "C:\Python33\lib\site-packages\pymysql\err.py", line 112, in _check_mysql_exception
    raise InternalError(errno, errorvalue)
pymysql.err.InternalError: (1118, 'Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRE
SSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.')

======================================================================
FAIL: test_datatypes (pymysql.tests.test_basic.TestConversion)
test every data type
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python33\lib\site-packages\pymysql\tests\test_basic.py", line 29, in test_datatypes
    self.assertEqual(datetime.datetime(*v[8].timetuple()[:6]), r[8])
AssertionError: datetime.datetime(2015, 1, 9, 16, 20, 41) != datetime.datetime(2015, 1, 9, 16, 20, 42)

----------------------------------------------------------------------
Ran 120 tests in 43.039s

FAILED (failures=1, errors=2, skipped=2, expected failures=2)



Pax Kat

unread,
Jan 9, 2015, 6:10:39 PM1/9/15
to pymysq...@googlegroups.com


On Friday, January 9, 2015 at 5:10:58 PM UTC-5, Pax Kat wrote:
I just installed Django and PythonMySQL (Python 3.3, Windows 8.1).  Things seems to go smoothly. But when I ran test I got InternalError (see below snippets)


PyMySQL version installed is 0.6.2
 
Reply all
Reply to author
Forward
0 new messages