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

bug: populate() isn't reentrant #1229

Open
1 task done
TheGuardianLight opened this issue Apr 15, 2024 · 1 comment
Open
1 task done

bug: populate() isn't reentrant #1229

TheGuardianLight opened this issue Apr 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@TheGuardianLight
Copy link

TheGuardianLight commented Apr 15, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I get this error when I run the command python3 manage.py migrate :

root@test:~/rengine/web# python3 manage.py migrate
           _   _       _
          | \ | |     (_)
  _ __ ___|  \| | __ _ _ _ __   ___
 | '__/ _ \ . ` |/ _` | | '_ \ / _ \
 | | |  __/ |\  | (_| | | | | |  __/
 |_|  \___|_| \_|\__, |_|_| |_|\___| v2.0.2-jasper
                  __/ |
                 |___/

Traceback (most recent call last):
  File "/root/rengine/web/manage.py", line 26, in <module>
    main()
  File "/root/rengine/web/manage.py", line 22, in main
    execute_from_command_line(sys.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 395, in execute
    django.setup()
  File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 83, in populate
    raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant

Expected Behavior

To do not have error

Steps To Reproduce

  1. Copy the "secret" file where located into /rengine/web/ to /usr/src/app/.
    2 run python3 manage.py migrate into the /rengine/web/ directory (where is located manage.py)

Environment

- reNgine: 2.0.2
- OS: Ubuntu 22.04.4 LTS
- Python: 3.10.12
- Docker Engine: 26.0.1
- Docker Compose: 1.29.2
- Browser: Not related

Anything else?

No response

@TheGuardianLight TheGuardianLight added the bug Something isn't working label Apr 15, 2024
Copy link

👋 Hi @TheGuardianLight,
Issues is only for reporting a bug/feature request. Please read documentation before raising an issue https://rengine.wiki
For very limited support, questions, and discussions, please join reNgine Discord channel: https://discord.gg/azv6fzhNCE
Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

@TheGuardianLight TheGuardianLight changed the title bug: <title> bug: populate() isn't reentrant Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant