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

KeyError: (<weakref at 0x7fbf4a8f5d68; to 'function' at 0x7fbf43b9dd90 (go)>,) #475

Open
helios4281 opened this issue Mar 30, 2020 · 4 comments

Comments

@helios4281
Copy link

Cannot run cuckoo for the first time and having this issue:

Exception ignored in: <bound method Database.del of <lib.cuckoo.core.database.Database object at 0x7fbefcf22828>>
Traceback (most recent call last):
File "/opt/CAPEv2/lib/cuckoo/core/database.py", line 447, in del
File "/{redacted}/.local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2039, in dispose
File "/{redacted}/.local/lib/python3.6/site-packages/sqlalchemy/pool/impl.py", line 251, in recreate
File "", line 2, in init
File "/{redacted}/.local/lib/python3.6/site-packages/sqlalchemy/util/deprecations.py", line 128, in warned
File "/{redacted}/.local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 221, in init
File "/{redacted}/.local/lib/python3.6/site-packages/sqlalchemy/event/base.py", line 150, in _update
File "/{redacted}/.local/lib/python3.6/site-packages/sqlalchemy/event/attr.py", line 392, in _update
File "/{redacted}/.local/lib/python3.6/site-packages/sqlalchemy/event/registry.py", line 115, in _stored_in_collection_multi
KeyError: (<weakref at 0x7fbf4a8f5d68; to 'function' at 0x7fbf43b9dd90 (go)>,)

hopefully someone can help.

thanks.

@doomedraven
Copy link
Contributor

  1. wrong repo, read readme
  2. there is cape2 on py3

@niuhuluzhihao
Copy link

hello ,how do you deal with it?I recently encountered this problem。

@Laurelea
Copy link

Having same issue
KeyError: (<weakref at 0x7fdeb2e4c110; to 'function' at 0x7fdea1eaedd0 (on_connect)>,)

@kevoreilly
Copy link
Contributor

Guys! Did you read doomedraven's reply?

  1. If you are actually using this repo/version on Python 2 then you are using a project that died 2 years ago and is totally unsupported.
  2. If you are in fact using CAPEv2 on Python3 then you have created an issue in the wrong repository.
  3. You have supplied almost no information whatsoever - because of issues lacking info like this we had to create an issue template - to force people to supply enough information for us to be able to help. So please use the template and supply a decent amount of background info on your setup.

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

No branches or pull requests

5 participants