Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decimal.InvalidOperation #379

Open
david2chandra opened this issue Apr 30, 2022 · 0 comments
Open

decimal.InvalidOperation #379

david2chandra opened this issue Apr 30, 2022 · 0 comments

Comments

@david2chandra
Copy link

david2chandra commented Apr 30, 2022

Environment:
MySQL: 8.0.27
mysql-replication: 0.24

Traceback (most recent call last):
  File "extract.py", line 57, in <module>
    routine()
  File "extract.py", line 46, in routine
    binlog2sql.process_binlog(gv.conf.Target)
  File "/root/mysql2db/binlog2sql.py", line 155, in process_binlog
    for row in binlog_event.rows:
  File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/row_event.py", line 432, in rows
    self._fetch_rows()
  File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/row_event.py", line 427, in _fetch_rows
    self.__rows.append(self._fetch_one_row())
  File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/row_event.py", line 480, in _fetch_one_row
    row["values"] = self._read_column_data(self.columns_present_bitmap)
  File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/row_event.py", line 133, in _read_column_data
    values[name] = self.__read_new_decimal(column)
  File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/row_event.py", line 400, in __read_new_decimal
    return decimal.Decimal(res)
decimal.InvalidOperation: [<class 'decimal.ConversionSyntax'>]

Anyone can help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant