Actions
Bug #5269
closedFatal error when an enable-source is removed from the index.
Affected Versions:
Effort:
Difficulty:
Label:
Description
To reproduce, enable a source that comes from the index. Then remove that source from the index and update.
Traceback (most recent call last):
File "/home/jason/oisf/code/suricata-update/master/./bin/suricata-update", line 33, in <module>
sys.exit(main.main())
File "/home/jason/oisf/code/suricata-update/master/suricata/update/main.py", line 1363, in main
sys.exit(_main())
File "/home/jason/oisf/code/suricata-update/master/suricata/update/main.py", line 1191, in _main
files = load_sources(suricata_version)
File "/home/jason/oisf/code/suricata-update/master/suricata/update/main.py", line 943, in load_sources
url = (index.resolve_url(name, params), http_header,
File "/home/jason/oisf/code/suricata-update/master/suricata/update/sources.py", line 127, in resolve_url
raise Exception("Source name not in index: %s" % (name))
Actions