julien-duponchelle / julien-duponchelle/python-mysql-replication
error with pymysql 0.10.0
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 690
- PR merge metrics
- No merged PRs in 30d
Description
```
......
/usr/local/lib/python3.6/site-packages/pymysqlreplication/__init__.py:23: in
from .binlogstream import BinLogStreamReader
/usr/local/lib/python3.6/site-packages/pymysqlreplication/binlogstream.py:10: in
from .packet import BinLogPacketWrapper
/usr/local/lib/python3.6/site-packages/pymysqlreplication/packet.py:7: in
from pymysqlreplication import constants, event, row_event
/usr/local/lib/python3.6/site-packages/pymysqlreplication/row_event.py:9: in
from pymysql.charset import charset_to_encoding
E ImportError: cannot import name 'charset_to_encoding'
```
seems that pymysql0.10.0 has no charset_to_encoding in charset
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with pymysqlreplication/row_event.py and inspect its import of charset_to_encoding against the PyMySQL 0.10.0 API. Confirm the package imports successfully with that dependency version and verify the reported ImportError no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100