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

python3.12 configparse issues #43

Open
pixitha opened this issue Apr 1, 2024 · 1 comment
Open

python3.12 configparse issues #43

pixitha opened this issue Apr 1, 2024 · 1 comment

Comments

@pixitha
Copy link

pixitha commented Apr 1, 2024

FYI, with the changes in configparse as seen here

python3 ./CertStreamMonitor.py -c conf/example.conf
Downloads/CertStreamMonitor/utils/sqlite.py:30: SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
  if fres is not 0:
ERROR:root: ConfParser Error: (<class 'AttributeError'>, AttributeError("'ConfigParser' object has no attribute 'readfp'"), <traceback object at 0x1050c0f00>)
ERROR:root: ConfParser Error: (<class 'AttributeError'>, AttributeError("'ConfParser' object has no attribute 'DBFile'"), <traceback object at 0x104c30680>)
ERROR:root: Main error (<class 'NameError'>, NameError("name 'DBFile' is not defined"), <traceback object at 0x104a86fc0>)

I dropped back to 3.10 and it works fine.

@t4d
Copy link
Contributor

t4d commented Apr 3, 2024

Indeed, I gonna check that.

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

2 participants