You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!] Failed to load module RedHatInfo:
[!] -> <unknown>:11830:12: no element found
Traceback (most recent call last):
File "/usr/lib/python3.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
xml.parsers.expat.ExpatError: no element found: line 11830, column 12
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/iroot/Bureau/Project/VIA4CVE-master/lib/PluginManager.py", line 25, in loadPlugins
self.plugins.append(getattr(i, x.split("/")[-1])())
File "/home/iroot/Bureau/Project/VIA4CVE-master/sources/RedHatInfo.py", line 131, in init
parser.parse(_file)
File "/usr/lib/python3.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python3.4/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/usr/lib/python3.4/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/usr/lib/python3.4/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python3.4/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:11830:12: no element found
The text was updated successfully, but these errors were encountered:
It seems like the file is normal again now. From the via4cve point of view, there was an error, but it didn't prevent the program to query the other security advisories.
Hi @DamienMolina,
Yes, the RedHat rpm file has been corrected and via4cve is running successfully.
About the rpm error, preventing only the RedHat plugin from running.
This makes me thing we should integrate a "last known good" into the VIA4 generation. When a source fails, it can pull the last-known-good. The date could be part of the metadata then
Hi,
The source of the "RedHat" rpm file is truncated in line 11830, column 12
XML Parsing Error: no element found
Location: https://www.redhat.com/security/data/metrics/rpm-to-cve.xml
Line Number 11830, Column 13: CVE
------------^
When you run via4cve.py, you get errors:
The text was updated successfully, but these errors were encountered: