ChrisTheCoolHut / Firmware_Slap

Discovering vulnerabilities in firmware through concolic analysis and function clustering.
GNU General Public License v3.0
468 stars 79 forks source link

Celery error when running Discover and dump #9

Closed nstarke closed 5 years ago

nstarke commented 5 years ago

when i run Discover and dump against a firmware binary, i receive the following error in the celery process:

KeyError: 'firmware_slap.celery_tasks.async_trace_func'
[2019-08-13 13:56:43,760: ERROR/MainProcess] Received unregistered task of type 'firmware_slap.celery_tasks.async_trace_func'.
The message has been ignored and discarded.

Did you remember to import the module containing this task?
Or maybe you're using relative imports?

Please see
http://docs.celeryq.org/en/latest/internals/protocol.html
for more information.

Any ideas on why this might be happening? Thanks for your help!

ChrisTheCoolHut commented 5 years ago

Are you running celery -A firmware_slap.celery_tasks worker --loglevel=info out of the main Firmware_Slap folder?

When you first run celery it should tell you which tasks are registered, which functions does it show?

nstarke commented 5 years ago

I was running the celery command out of the build dir. That seems to be my problem. I will submit a PR with README.md updates in a few hours. Thanks!

nstarke commented 5 years ago

With that last merge, I think we can close this issue.