circuits / circuitsframework.com

circuits Website sources
http://circuitsframework.com
0 stars 0 forks source link

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

Open arollieibm opened 4 years ago

arollieibm commented 4 years ago

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 commented 1 year ago

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 commented 1 year ago

https://groups.google.com/g/circuits-users/c/a3RogJNFiyQ