Skip to content

Frequently Asked Questions (FAQ)

Marcus G K Williams edited this page Nov 9, 2023 · 11 revisions

Install

  • 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 or ItemNotFoundException when installing with poetry?
    Sometimes this surfaces as Cannot unlock keyring or Failed 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.

Processes

Git LFS

  • Why does my git push fail with Remote "origin" does not support the Git LFS locking API? Lava repositories are not configured to support Git LFS locking. Enable git 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
Clone this wiki locally