-
Notifications
You must be signed in to change notification settings - Fork 23
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
V3 support out of the box, identifier 3? #117
Comments
"Namespace 'puresnmp_plugins.mpm' did not contain a plugin with identifier 0. Known identifiers: []. See the 'puresnmp' documentation on plugins."
I'm having the above error after converting python file to .exe file using pyinstaller. But python program is executing through IDE" . Please suggest |
Having the same issue here. When building with PyInstaller I need to manually include puresnmp by adding
But even if I include puresnmp manually, I get the following error when running built executable: Perhaps there's something else I'd have to include manually? |
I'm using Python 3.12 and I Installed puresnmp w/ puresnmp-crypto package. I already have V2 implementation and puresnmp is working as expected.
This is what I get when I try to run a get command on my SNMP v3 agent:
Got an exception: Namespace 'puresnmp_plugins.security' did not contain a plugin with identifier 3. Known identifiers: [0, 1, 2]. See the 'puresnmp' documentation on plugins.
I tried snmpwalk/snmpget from CLI, and it works. I am not sure if there is something else I have to configure in order to use V3? How do I include this identifier and where?
UPDATE:
I solved it. I had to install typing-extensions package.
In puresnmp/plugins/pluginbase.py discover_plugins function 'puresnmp_plugins.security' module couldn't be found, ImportError was caught telling me I'm missing this package.
UPDATE 2:
Now I got like 10 new errors like
puresnmp_plugins.security.usm.EncryptionError: Unable to encrypt message (string argument without an encoding)
not sure if this is related, but I guess it has something to do with python/packages version/dependencies...
The text was updated successfully, but these errors were encountered: