Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CleanMX Fix #1163

Merged
1 commit merged into from
Jan 19, 2018
Merged

CleanMX Fix #1163

1 commit merged into from
Jan 19, 2018

Conversation

SYNchroACK
Copy link
Contributor

@SYNchroACK SYNchroACK commented Jan 18, 2018

I added self.logger.info to check the content of events variable and found this:

2018-01-18 17:32:58,916 - cleanmx-phishing-parser - INFO - Bot is starting.
2018-01-18 17:32:58,918 - cleanmx-phishing-parser - INFO - Pipeline ready.
2018-01-18 17:33:05,354 - cleanmx-phishing-parser - INFO - ['source.abuse_contact', 'extra', 'raw', 'feed.url', 'time.observation', 'source.url', 'source.geolocation.cc', 'source.registry', 'source.ip', 'source.fqdn', 'classification.type', 'feed.provider', 'status', 'feed.name', 'feed.accuracy']
2018-01-18 17:33:05,581 - cleanmx-phishing-parser - ERROR - Bot has found a problem.
Traceback (most recent call last):
  File "/intelmq/intelmq/lib/bot.py", line 144, in start
    self.process()
  File "/intelmq/intelmq/lib/bot.py", line 622, in process
    self.send_message(*events)
  File "/intelmq/intelmq/lib/bot.py", line 343, in send_message
    raw_message = libmessage.MessageFactory.serialize(message)
  File "/intelmq/intelmq/lib/message.py", line 82, in serialize
    raw_message = Message.serialize(message)
  File "/intelmq/intelmq/lib/message.py", line 243, in serialize
    self['__type'] = self.__class__.__name__
TypeError: 'str' object does not support item assignment
2018-01-18 17:33:05,602 - cleanmx-phishing-parser - INFO - Bot will continue in 3 seconds.

my bad.

@SYNchroACK SYNchroACK added bug Indicates an unexpected problem or unintended behavior component: bots labels Jan 18, 2018
@SYNchroACK SYNchroACK added this to the 1.0.3 milestone Jan 18, 2018
@SYNchroACK SYNchroACK assigned ghost Jan 18, 2018
@SYNchroACK SYNchroACK requested a review from a user January 18, 2018 17:46
@ghost ghost merged commit 7a43d30 into certtools:maintenance Jan 19, 2018
@ghost
Copy link

ghost commented Jan 19, 2018

Works in develop because of 572d61f

@SYNchroACK SYNchroACK deleted the cleanmx_fix branch August 30, 2018 22:47
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: bots
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant