Project

General

Profile

Actions

Bug #5269

closed

Fatal error when an enable-source is removed from the index.

Added by Jason Ish almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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 #1

Updated by Jason Ish almost 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF