IndexError: tuple index out of range

57 views
Skip to first unread message

chao liu

unread,
Dec 8, 2014, 3:12:33 AM12/8/14
to python-mysql...@googlegroups.com

hi all,

when I run the example dump_events.py , I enter this error IndexError: tuple index out of range

details:

  File "dump_events.py", line 32, in main


    for binlogevent in stream:


  File "build/bdist.linux-x86_64/egg/pymysqlreplication/binlogstream.py", line 248, in fetchone


  File "build/bdist.linux-x86_64/egg/pymysqlreplication/packet.py", line 96, in __init__


  File "build/bdist.linux-x86_64/egg/pymysqlreplication/row_event.py", line 533, in __init__


IndexError: tuple index out of range


and here is my version info









Installed /home/work/runtime/python/lib/python2.7/site-packages/mysql_replication-0.5-py2.7.egg


Processing dependencies for mysql-replication==0.5


Searching for six==1.8.0


Best match: six 1.8.0


Adding six 1.8.0 to easy-install.pth file




Using /home/work/runtime/python/lib/python2.7/site-packages


Searching for PyMySQL==0.6.3


Best match: PyMySQL 0.6.3


Adding PyMySQL 0.6.3 to easy-install.pth file




Using /home/work/runtime/python/lib/python2.7/site-packages


Finished processing dependencies for mysql-replication==0.5



I find this a issue #36 https://github.com/noplay/python-mysql-replication/issues/36 ,but not sure whether it's fixed.

Julien Duponchelle

unread,
Dec 10, 2014, 6:08:35 AM12/10/14
to chao liu, python-mysql...@googlegroups.com
Hi,

Which version of MySQL are you using?

Best regards

--
You received this message because you are subscribed to the Google Groups "Python MySQL replication" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-mysql-repli...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages