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

Bernhard Reiter bernhard at intevation.de
Wed Mar 18 16:42:02 CET 2020


Dear Patric,

Am Mittwoch 18 März 2020 15:57:14 schrieb Sebastian Wagner:
> > Description:    Ubuntu 16.04.6 LTS
>   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

as I happen to have a comparable system here, I took a look in the file.
The code on line 96 looks different, so can you double check which version you 
have, e.g.
   dpkg -S /usr/lib/python3.5/csv.py
and then using the result to query it via dpkg -l,
for my system:
  
dpkg -l libpython3.5-stdlib | cat
ii  libpython3.5-stdlib:amd64 3.5.2-2ubuntu0~16.04.9 amd64

BTW: Which version of intelmq and how did you install it?

Best,
Bernhard

-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20200318/901cb8c1/attachment.sig>


More information about the Intelmq-users mailing list