Skip to content

Zino cannot run without zino.toml file #458

@johannaengland

Description

@johannaengland

When having added a secrets file, but no zino.toml file the following error occurs:

2025-09-19 12:48:16,336 - WARNING - zino (MainThread) - Secrets file secrets is world-readable. Please ensure that it is only readable by the user that runs the zino process.
Traceback (most recent call last):
  File "/home/johanna/zino/.venv/bin/zino", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/johanna/zino/src/zino/zino.py", line 67, in main
    snmp_backend = import_snmp_backend(config.snmp.backend)
                                       ^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'snmp'

It should be possible to run Zino without a zino.toml file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions