"Exception: load_apps already has been called." occurred in building hue-release-4.11.0 #3354
Unanswered
beckhuang1226
asked this question in
Questions
Replies: 2 comments 3 replies
-
Hey @Streamlethy, can you give latest master branch a try? |
Beta Was this translation helpful? Give feedback.
3 replies
-
@Streamlethy Sometimes, leftover build artifacts can cause issues. Try cleaning the build environment and rebuilding: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I compiled with Python 3.8 on CentOS 8.4, and then the following error occurred. I searched the internet for a long time but couldn't find a solution. Can anyone help me?
The command executed is:
make apps
Traceback (most recent call last): File "./build/env/bin/hue", line 33, in <module> sys.exit(load_entry_point('desktop', 'console_scripts', 'hue')()) File "/home/loongson/chandao/1034/hue-release-4.11.0/desktop/core/src/desktop/manage_entry.py", line 233, in entry execute_from_command_line(sys.argv) File "/home/loongson/chandao/1034/hue-release-4.11.0/build/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/home/loongson/chandao/1034/hue-release-4.11.0/build/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/loongson/chandao/1034/hue-release-4.11.0/build/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 262, in fetch_command settings.INSTALLED_APPS File "/home/loongson/chandao/1034/hue-release-4.11.0/build/env/lib/python3.8/site-packages/django/conf/__init__.py", line 102, in __getattr__ self._setup(name) File "/home/loongson/chandao/1034/hue-release-4.11.0/build/env/lib/python3.8/site-packages/django/conf/__init__.py", line 89, in _setup self._wrapped = Settings(settings_module) File "/home/loongson/chandao/1034/hue-release-4.11.0/build/env/lib/python3.8/site-packages/django/conf/__init__.py", line 217, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 783, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/loongson/chandao/1034/hue-release-4.11.0/desktop/core/src/desktop/settings.py", line 286, in <module> appmanager.load_libs() File "/home/loongson/chandao/1034/hue-release-4.11.0/desktop/core/src/desktop/appmanager.py", line 236, in load_libs raise Exception("load_apps already has been called.") Exception: load_apps already has been called. make[1]: *** [Makefile:270:create-static] 错误 1
Beta Was this translation helpful? Give feedback.
All reactions