updated to 4.3.6 #20100
Unanswered
isakovalishka-svg
asked this question in
Q&A
updated to 4.3.6
#20100
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
updated from 4.2.9 to 4.3.6
Some tabs (dcim/devices/) show error "<class 'AttributeError'>
'NoneType' object has no attribute 'objects'
Python version: 3.10.12
NetBox version: 4.3.5
Plugins:
netbox_bgp: 0.16.0
netbox_diode_plugin: 0.0.0
netbox_dns: 1.3.5
netbox_floorplan: 0.7.0
netbox_inventory: 2.4.0
netbox_qrcode: 0.0.18
netbox_secrets: 2.3.0
netbox_topology_views: 4.3.0 "
and some pages work fine
installed plugins ipfabric_netbox 4.2.0 netbox_branching 5.5 gives this Traceback (most recent call last):
File "/opt/netbox-4.3.6/netbox/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/core/management/base.py", line 416, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/core/management/base.py", line 460, in execute
output = self.handle(*args, **options)
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/core/management/base.py", line 107, in wrapper
res = handle_func(*args, **kwargs)
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/core/management/commands/migrate.py", line 299, in handle
pre_migrate_apps = pre_migrate_state.apps
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in get
res = instance.dict[self.name] = self.func(instance)
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/db/migrations/state.py", line 589, in apps
return StateApps(self.real_apps, self.models)
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/db/migrations/state.py", line 650, in init
self.render_multiple([*models.values(), *self.real_models])
File "/opt/netbox-4.3.6/venv/lib/python3.10/site-packages/django/db/migrations/state.py", line 692, in render_multiple
raise InvalidBasesError(
django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'ipfabric_netbox.IPFabricBranch'>]]
This can happen if you inherit models from an app with Migrations (e.g. contrib.auth)
in an app without migrations; see https://docs.djangoproject.com/en/5.2/topics/migrations/#dependencies for more information
I followed the instructions to fix the error, it didn't help https://docs.ipfabric.io/main/integrations/netbox/01_User_Guide/FAQ/#vlan-name-too-long
I disable these plugins, the problem remains
Beta Was this translation helpful? Give feedback.
All reactions