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

AttributeError: module 'confparser' has no attribute 'Dissector' #9

Closed
mymodemsux2 opened this issue Jun 4, 2023 · 1 comment
Closed

Comments

@mymodemsux2
Copy link
Contributor

mymodemsux2 commented Jun 4, 2023

maybe a noob question?
i get this:

AttributeError: module 'confparser' has no attribute 'Dissector'
Traceback:
File "/root/.local/share/virtualenvs/streamlit-pCsZlEh6/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
    exec(code, module.__dict__)
File "/var/streamlit/pages/Config_conversion.py", line 16, in <module>
    dissector = confparser.Dissector.from_file("iosxr.yaml")

for this code:

sys.path.append('/var/streamlit/pages/confparser/')
import confparser
import multiprocessing
import glob
import json

dissector = confparser.Dissector.from_file("iosxr.yaml")
@mymodemsux2
Copy link
Contributor Author

streamlit issue (web service). please ignore

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