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

SystemError: returned NULL without setting an error #29

Closed
amotl opened this issue Mar 19, 2022 · 0 comments · Fixed by #30
Closed

SystemError: returned NULL without setting an error #29

amotl opened this issue Mar 19, 2022 · 0 comments · Fixed by #30

Comments

@amotl
Copy link
Contributor

amotl commented Mar 19, 2022

Hi again,

with the refactoring coming from #4/#19, we might need to adjust some bits on certain error conditions.

We spotted this outcome yesterday night and wanted to share it here in order to get back to it within one of the next development iterations.

While we haven't investigated into the details about the root cause of this condition yet, I imagine it could be related to network timeouts (see also #17).

Traceback (most recent call last):
  File "/opt/check_synology_easysnmp/check_synology.py", line 186, in <module>
    for item in snmpwalk('1.3.6.1.2.1.25.2.3.1.3'):
  File "/opt/check_synology_easysnmp/check_synology.py", line 61, in snmpwalk 
    res = session.walk(oid) 
  File "/opt/check_synology/.venv/lib/python3.9/site-packages/easysnmp/session.py", line 467, in walk 
    interface.walk(self, varlist)
SystemError: <built-in function walk> returned NULL without setting an error

With kind regards,
Andreas.

image

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