Thanks for the report Oliver, we'll be looking into this asap._______________________________________________
Best regards,
On 4/27/21 4:43 PM, Westermann, Oliver wrote:
Hey,
By coincidence I setup a local test instance of the lava docker-compose setup.
I usually use merge master regularly, so my .env file contained DC_SERVER_IMAGE=lavasoftware/lava-server:latest.
When I started this up, I get
> lava-publisher_1 | ModuleNotFoundError: No module named 'environ'
in the logs from various containers based upon lava-server.
I tested it on my production setup as well as tested fixing my revision to 2021.03.post1, which fixes this.
I checked my changes to the setup and couldn’t find anything that looks related, so maybe consider this a bug report?
Full callstack below, best regards
Oliver Westermann
Full Error Log:
lava-publisher_1 | Traceback (most recent call last):
lava-publisher_1 | File "/usr/share/lava-server/postinst.py", line 326, in <module>
lava-publisher_1 | sys.exit(main())
lava-publisher_1 | File "/usr/share/lava-server/postinst.py", line 263, in main
lava-publisher_1 | config = load_configuration()
lava-publisher_1 | File "/usr/share/lava-server/postinst.py", line 127, in load_configuration
lava-publisher_1 | module = importlib.import_module("lava_server.settings.prod")
lava-publisher_1 | File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
lava-publisher_1 | return _bootstrap._gcd_import(name[level:], package, level)
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 983, in _find_and_load
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
lava-publisher_1 | File "<frozen importlib._bootstrap_external>", line 728, in exec_module
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
lava-publisher_1 | File "/usr/lib/python3/dist-packages/lava_server/settings/prod.py", line 23, in <module>
lava-publisher_1 | import environ
lava-publisher_1 | ModuleNotFoundError: No module named 'environ'
-- Stevan Radaković | LAVA Senior Engineer Linaro.org <www.linaro.org> │ Open source software for ARM SoCs
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users