[Intelmq-users] MAIL ATTACHMENT FETCHER FAILS TO READ/PARSE CSV FILE.

Sebastian Wagner wagner at cert.at
Wed Mar 18 14:44:03 CET 2020


Hi,
On 3/18/20 6:15 AM, patric sungura wrote:
> 2020-03-17 16:10:42,064 - ShadowServer-Parser-2 - ERROR - Bot has
> found a problem.
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.5/dist-packages/intelmq/lib/bot.py",
> line 267, in start
>     self.process()
>   File "/usr/local/lib/python3.5/dist-packages/intelmq/lib/bot.py",
> line 941, in process
>     for line in self.parse(report):
>   File "/usr/local/lib/python3.5/dist-packages/intelmq/lib/bot.py",
> line 884, in parse_csv_dict
>     self.csv_fieldnames = csv_reader.fieldnames
>   File "/usr/lib/python3.5/csv.py", line 96, in fieldnames
>     self._fieldnames = next(self.reader, dialect=csv.excel_tab)
> NameError: name 'csv' is not defined

Which operating system are you using? The error happens inside python,
so maybe the csv module is packaged extra in your distro (which would
mean we should update the docs)

best regards,
Sebastian

-- 
// Sebastian Wagner <wagner at cert.at> - T: +43 1 5056416 7201
// CERT Austria - https://www.cert.at/
// Eine Initiative der nic.at GmbH - https://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20200318/02c204b6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20200318/02c204b6/attachment.sig>


More information about the Intelmq-users mailing list