Dear Majid,
In version 2.1.0 we added the `extra` field to the *report* message type. But as the harmonization is based on user-modifyable a fully automated upgrade is not possible. If you did not adapt the harmonization manually, you can just copy the `intelmq/etc/harmonization.conf` from the source to `/opt/intelmq/etc/harmonization.conf` or `/etc/intelmq/harmonization.conf`.
However, I am now working on making this a bit smoother and adding some code which compares the files and makes minimal upgrades if automatically possible.
best regards, Sebastian
On 31/10/2019 12.33, Salehi Ghamsari, Majid wrote:
Dear community,
After updating to version 2.1.0 the file collector raise exceptions.InvalidKey(key). How can I find out what the problem is, this bot has worked very well under 1.1.1?
Please help Regards Majid
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/bots/collectors/file/collector_file.py", line 66, in process template.add("extra.file_name", f) File "/usr/local/lib/python3.5/dist-packages/intelmq/lib/message.py", line 234, in add raise exceptions.InvalidKey(key) intelmq.lib.exceptions.InvalidKey: invalid key 'extra.file_name'
Majid Salehi Ghamsari Wiss. Mitarbeiter Digital Public Services Tel: +49 30 3463-7118 Fax: +49 30 3463-99-7118 E-Mail: majid.salehi.ghamsari@fokus.fraunhofer.de
Fraunhofer-Institut für Offene Kommunikationssysteme FOKUS Kaiserin-Augusta-Allee 31 10589 Berlin http://www.fokus.fraunhofer.de
Intelmq-dev mailing list Intelmq-dev@lists.cert.at https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev