-
Notifications
You must be signed in to change notification settings - Fork 144
Frequently Asked Questions (FAQ)
Marcus G K Williams edited this page Nov 9, 2023
·
11 revisions
-
Why are unit tests failing with the error
OSError: [Errno 24] Too many open files
?
Lava multiprocessing is trying to open too many file handles and linux is configured to allow less than the file handles lava is trying to open. This can be worked around by setting the number of open file limits or 'ulimit' higher:ulimit -n 4096
-
Why are unit tests failing with the error
"ModuleNotFoundError: No module named 'lava.magma'"
?
Please check that lava is installed, or python paths are setup correctly. One way of installing Lava is using pip:pip install .
-
Why does my poetry install fail with
DBusErrorResponse
orItemNotFoundException
when installing with poetry?
Sometimes this surfaces asCannot unlock keyring
orFailed to create the collection: Prompt dismissed..
. Please try (in order of least to most heavy handed):PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring" poetry <command>
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
keyring --disable
- Removing keyring from ENV
pip uninstall keyring
and attempting to install again.
-
Why does my code deadlock/ hang/ wait indefinitely?
You could be using a system of processes containing one process that is waiting for a signal at its input port. While this process waits for a signal, it blocks downstream activity. This is a common issue while designing recurrent processes. For further understanding/clarification on this problem please refer to https://github.com/lava-nc/lava/issues/32 and https://github.com/lava-nc/lava/issues/100
-
Why does my
git push
fail withRemote "origin" does not support the Git LFS locking API
? Lava repositories are not configured to support Git LFS locking. Enablegit push
by setting Git LFS locking verify to false and try again.git config lfs.https://github.com/lava-nc/lava.git/info/lfs.locksverify false
See more lava docs at Lava Project