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

CLOSED #160

Open
SurFicE opened this issue Nov 19, 2023 · 2 comments
Open

CLOSED #160

SurFicE opened this issue Nov 19, 2023 · 2 comments
Assignees
Labels
bug Further discussion is needed to determine this issue's scope and/or implementation under review Further discussion is needed to determine this issue's scope and/or implementation

Comments

@SurFicE
Copy link

SurFicE commented Nov 19, 2023

Good day
When I try to run the command "python3 manage.py migrate", I get an error:
**(venv) root@netbox:/opt/netbox/netbox# python3 manage.py migrate** Traceback (most recent call last): File "/opt/netbox-3.6.5/netbox/manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 382, in execute settings.INSTALLED_APPS File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/django/conf/__init__.py", line 102, in __getattr__ self._setup(name) File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/django/conf/__init__.py", line 89, in _setup self._wrapped = Settings(settings_module) File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/django/conf/__init__.py", line 217, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/opt/netbox-3.6.5/netbox/netbox/settings.py", line 737, in <module> plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/netbox_proxbox/__init__.py", line 40, in <module> from . import proxbox_api File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/netbox_proxbox/proxbox_api/__init__.py", line 1, in <module> from . import ( File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/netbox_proxbox/proxbox_api/update.py", line 2, in <module> from .plugins_config import ( File "/opt/netbox-3.6.5/venv/lib/python3.9/site-packages/netbox_proxbox/proxbox_api/plugins_config.py", line 73, in <module> PROXMOX = PROXMOX_SETTING.get("domain", DEFAULT_PROXMOX) AttributeError: 'list' object has no attribute 'get'
OS version Debian 11

I would be extremely grateful for your help

@SurFicE SurFicE changed the title python3 manage.py migrate error CLOSED Nov 22, 2023
@bsirayne
Copy link

Running into the same issue, did you find a solution?

@k3snoob
Copy link

k3snoob commented Apr 21, 2024

Running into the same issue, did you find a solution?

See issue #146, you need to remove the square brackets that surround the multi-cluster config so that it's no longer looking for a list.

@emersonfelipesp emersonfelipesp added bug Further discussion is needed to determine this issue's scope and/or implementation under review Further discussion is needed to determine this issue's scope and/or implementation labels Oct 24, 2024
@emersonfelipesp emersonfelipesp self-assigned this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Further discussion is needed to determine this issue's scope and/or implementation under review Further discussion is needed to determine this issue's scope and/or implementation
Projects
None yet
Development

No branches or pull requests

4 participants