Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Circuits v3.2 Manager.py **events.effects** Issue #1

@arollieibm

Description

@arollieibm

Original Query taken from the Stack Overflow post: https://stackoverflow.com/questions/61667977/circuits-v3-2-manager-py-events-effects-issue

I attempted to install and start an Integration onto a local machine, but when I start the service I see the message concerning event.effects -= 1 within my logs. This message seems to be coming from circuits. Specially line 738 of the the Manager.py script.

Apr 15 03:48:04 ** resilient-circuits[11462]: 2020-04-15 03:48:04,786 INFO [threat_webservice] helper: <system.user.name[threat_lookup_helper] (**)>, cts_search.threatstream
Apr 15 03:48:04 ** resilient-circuits[11462]: <system.user.name[cts_search.threatstream] (32463dcf-8c22-5dd7-bde6-372226643453)>Unhandled ERROR: 'ThreatServiceLookupEvent' object has no attribute 'effects'
Apr 15 03:48:04 ** resilient-circuits[11462]: Traceback (most recent call last):
Apr 15 03:48:04 ** resilient-circuits[11462]: File "/usr/local/lib/python2.7/site-packages/circuits/core/manager.py", line 957, in run
Apr 15 03:48:04 ** resilient-circuits[11462]: self.tick()
Apr 15 03:48:04 ** resilient-circuits[11462]: File "/usr/local/lib/python2.7/site-packages/circuits/core/manager.py", line 917, in tick
Apr 15 03:48:04 ** resilient-circuits[11462]: self._queue and self.flush()
Apr 15 03:48:04 ** resilient-circuits[11462]: File "/usr/local/lib/python2.7/site-packages/circuits/core/manager.py", line 593, in flushEvents
Apr 15 03:48:04 ** resilient-circuits[11462]: self.root._flush()
Apr 15 03:48:04 ** resilient-circuits[11462]: File "/usr/local/lib/python2.7/site-packages/circuits/core/manager.py", line 582, in _flush
Apr 15 03:48:04 ** resilient-circuits[11462]: self._dispatcher(event, channels, self._flush_batch)
Apr 15 03:48:04 ** resilient-circuits[11462]: File "/usr/local/lib/python2.7/site-packages/circuits/core/manager.py", line 695, in _dispatcher
Apr 15 03:48:04 ** resilient-circuits[11462]: self._eventDone(event, err)
Apr 15 03:48:04 ** resilient-circuits[11462]: File "/usr/local/lib/python2.7/site-packages/circuits/core/manager.py", line 720, in _eventDone
Apr 15 03:48:04 ** resilient-circuits[11462]: event.effects -= 1
Apr 15 03:48:04 ** resilient-circuits[11462]: AttributeError: 'ThreatServiceLookupEvent' object has no attribute 'effects'

I was brought over from Stack Overflow and told this behavior could possibly be a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions