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

Fail to load libslub on python 3.12 due to SareConfigParser renamed to ConfigParser #10

Open
tesuji opened this issue Jan 15, 2025 · 1 comment · May be fixed by #11
Open

Fail to load libslub on python 3.12 due to SareConfigParser renamed to ConfigParser #10

tesuji opened this issue Jan 15, 2025 · 1 comment · May be fixed by #11

Comments

@tesuji
Copy link

tesuji commented Jan 15, 2025

This is because of api changed in configparser module in python 3.12.

(remote) gef➤  source /opt/libslub/libslub.py
Python Exception <class 'AttributeError'>: module 'configparser' has no attribute 'SafeConfigParser'
Error occurred in Python: module 'configparser' has no attribute 'SafeConfigParser'
(remote) gef➤  version
GEF: (Standalone)
Blob Hash(/home/hacker/.gef.py): 166aa230260671bd29b675c99cc9a467cbeb678d
SHA256(/home/hacker/.gef.py): cde0ca3ff9aa51c2346cb515cadcde205c761cac77e088738c78e19bba80df03
GDB: 15.2
GDB-Python: 3.12

Relate issues on other projects: jdidion/atropos#135

@tesuji
Copy link
Author

tesuji commented Jan 15, 2025

Tested locally, simply renaming is enough to fix the issue.

@tesuji tesuji linked a pull request Jan 24, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant