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

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

Open
arollieibm opened this issue May 8, 2020 · 2 comments
Open

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

arollieibm opened this issue May 8, 2020 · 2 comments

Comments

@arollieibm
Copy link

arollieibm commented May 8, 2020

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.

@spaceone
Copy link
Contributor

spaceone commented Jan 4, 2023

This repository is only about the circuits website. Is the issue still relevant? If yes, please create a issue at https://github.com/circuits/circuits.

@spaceone
Copy link
Contributor

spaceone commented Jan 4, 2023

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants