Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

error ValueError: time data 'ET TIMESTAMP=15' does not match format '%y%m%d %H:%M:%S' #24

@sbwfnhn

Description

@sbwfnhn

[root@localhost data]# pip install mysql-binlog-explorer
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: mysql-binlog-explorer in /usr/lib/python2.7/site-packages (0.2.4)
Requirement already satisfied: bottle==0.12.17 in /usr/lib/python2.7/site-packages (from mysql-binlog-explorer) (0.12.17)
Requirement already satisfied: simplejson==3.13.2 in /usr/lib64/python2.7/site-packages (from mysql-binlog-explorer) (3.13.2)
[root@localhost data]# mysql-binlog-explorer my-bin-log.txt
Parsing my-bin-log.txt...
Traceback (most recent call last):
File "/usr/bin/mysql-binlog-explorer", line 9, in
load_entry_point('mysql-binlog-explorer==0.2.4', 'console_scripts', 'mysql-binlog-explorer')()
File "/usr/lib/python2.7/site-packages/binlogexplorer/webui.py", line 98, in main
transactions += parser.parse(content)
File "/usr/lib/python2.7/site-packages/binlogexplorer/binlog_parser.py", line 63, in parse
transaction.end_date = datetime.strptime(last_line[1:16], '%y%m%d %H:%M:%S')
File "/usr/lib64/python2.7/_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data 'ET TIMESTAMP=15' does not match format '%y%m%d %H:%M:%S'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions