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

patric sungura patsung87 at yahoo.com
Thu Mar 19 16:43:31 CET 2020


 Team,May you please assist to share inputs to fix this,I have created new one collector bot and below are errors;
Accessible SMB Service Report:\\r\\n 2020-03-17\", \"feed.provider\": \"SHADOWSERVER\", \"extra.email_message_id\": \"<20200318131314.MluRQ9xWN%autoreports at shadowserver.org>\", \"feed.name\": \"via IMAP\", \"feed.accuracy\": 100.0}",        "source_queue": "ShadowServer-Parser-3-queue",        "traceback": [            "Traceback (most recent call last):\n",            "  File \"/usr/local/lib/python3.5/dist-packages/intelmq/lib/bot.py\", line 267, in start\n    self.process()\n",            "  File \"/usr/local/lib/python3.5/dist-packages/intelmq/lib/bot.py\", line 941, in process\n    for line in self.parse(report):\n",            "  File \"/usr/local/lib/python3.5/dist-packages/intelmq/lib/bot.py\", line 884, in parse_csv_dict\n    self.csv_fieldnames = csv_reader.fieldnames\n",            "  File \"/usr/lib/python3.5/csv.py\", line 96, in fieldnames\n    self._fieldnames = next(self.reader)\n",            "_csv.Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?\n"        ]    }

2020-03-19 18:34:27,164 - ShadowServer-Parser-3 - 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 886, in parse_csv_dict    for line in csv_reader:  File "/usr/lib/python3.5/csv.py", line 110, in __next__    row = next(self.reader)_csv.Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?2020-03-19 18:34:27,165 - ShadowServer-Parser-3 - INFO - Dumping message to dump file.

kr,Patrick    On Thursday, March 19, 2020, 05:19:36 PM GMT+3, patric sungura <patsung87 at yahoo.com> wrote:  
 
  Hi Team,Find below;
LANG=en_US.UTF-8LANGUAGE=LC_CTYPE="en_US.UTF-8"LC_NUMERIC="en_US.UTF-8"LC_TIME="en_US.UTF-8"LC_COLLATE="en_US.UTF-8"LC_MONETARY="en_US.UTF-8"LC_MESSAGES="en_US.UTF-8"LC_PAPER="en_US.UTF-8"LC_NAME="en_US.UTF-8"LC_ADDRESS="en_US.UTF-8"LC_TELEPHONE="en_US.UTF-8"LC_MEASUREMENT="en_US.UTF-8"LC_IDENTIFICATION="en_US.UTF-8"LC_ALL=

kr,Patrick
    On Thursday, March 19, 2020, 05:06:56 PM GMT+3, patric sungura <patsung87 at yahoo.com> wrote:  
 
  Hi Made this time conversion to GMT for understanding.I belong to GMT+3.
Let me know if i replied it correctly.
kr,Patrick    On Thursday, March 19, 2020, 04:56:10 PM GMT+3, Bernhard Reiter <bernhard at intevation.de> wrote:  
 
 Patric,

what is your locale?
(Test with entering `locale`)

Bernhard
-- 
Listen-Einstellungen:
 https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-users
      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20200319/83eca5e6/attachment.html>


More information about the Intelmq-users mailing list