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

MemoryError: Cannot allocate write+execute memory for ffi.callback(). #109

Open
frbitten opened this issue Sep 23, 2023 · 0 comments
Open

Comments

@frbitten
Copy link

I'm having this error when trying to use nostr in a core-lightning plugin.

Any suggestions as to what it could be?

Sep 23 03:01:13 lightningd[277366]: Traceback (most recent call last):
Sep 23 03:01:13 lightningd[277366]: File "/hdd/cln/.lightning/plugins/managerByNostr.py", line 10, in
Sep 23 03:01:13 lightningd[277366]: from nostr.key import PublicKey, PrivateKey
Sep 23 03:01:13 lightningd[277366]: File "/home/bitten/.local/lib/python3.10/site-packages/nostr/key.py", line 151, in
Sep 23 03:01:13 lightningd[277366]: def copy_x(output, x32, y32, data):
Sep 23 03:01:13 lightningd[277366]: File "/usr/local/lib/python3.10/dist-packages/cffi/api.py", line 396, in callback_decorator_wrap
Sep 23 03:01:13 lightningd[277366]: return self._backend.callback(cdecl, python_callable,
Sep 23 03:01:13 lightningd[277366]: MemoryError: Cannot allocate write+execute memory for ffi.callback().

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

1 participant