argument of type 'NoneType' is not iterable #11357

Closed
opened 2025-12-29 21:44:08 +01:00 by adam · 3 comments
Owner

Originally created by @adavis-sdx on GitHub (Jul 8, 2025).

Deployment Type

Self-hosted

NetBox Version

v4.3.3

Python Version

3.12

Steps to Reproduce

upgrade from Docker image v4.1.4 to v4.3.3
results in home page showing

<class 'TypeError'>

argument of type 'NoneType' is not iterable

Python version: 3.12.3
NetBox version: 4.3.3-Docker-3.3.0
Plugins: None installed

Expected Behavior

For the home page to work

Observed Behavior

in debug i get

argument of type 'NoneType' is not iterable

Request Method: GET
https://netbox.REMOVED/
5.2.3
TypeError
argument of type 'NoneType' is not iterable
/opt/netbox/netbox/utilities/proxy.py, line 34, in route
netbox.views.misc.HomeView
/opt/netbox/venv/bin/python
3.12.3
['/opt/netbox/netbox/', '/usr/lib/python312.zip', '/usr/lib/python3.12', '/usr/lib/python3.12/lib-dynload', '/opt/netbox/venv/lib/python3.12/site-packages']
Tue, 08 Jul 2025 14:34:32 +0000

Error during template rendering
In template /opt/netbox/netbox/templates/extras/dashboard/widget.html, error at line 43

42


43 {% render_widget widget %}

Originally created by @adavis-sdx on GitHub (Jul 8, 2025). ### Deployment Type Self-hosted ### NetBox Version v4.3.3 ### Python Version 3.12 ### Steps to Reproduce upgrade from Docker image v4.1.4 to v4.3.3 results in home page showing <class 'TypeError'> argument of type 'NoneType' is not iterable Python version: 3.12.3 NetBox version: 4.3.3-Docker-3.3.0 Plugins: None installed ### Expected Behavior For the home page to work ### Observed Behavior in debug i get argument of type 'NoneType' is not iterable Request Method: | GET -- | -- https://netbox.REMOVED/ 5.2.3 TypeError argument of type 'NoneType' is not iterable /opt/netbox/netbox/utilities/proxy.py, line 34, in route netbox.views.misc.HomeView /opt/netbox/venv/bin/python 3.12.3 ['/opt/netbox/netbox/', '/usr/lib/python312.zip', '/usr/lib/python3.12', '/usr/lib/python3.12/lib-dynload', '/opt/netbox/venv/lib/python3.12/site-packages'] Tue, 08 Jul 2025 14:34:32 +0000 Error during template rendering In template /opt/netbox/netbox/templates/extras/dashboard/widget.html, error at line 43 42 <div class="card-body p-2 pt-1 overflow-auto"> 43 {% render_widget widget %}
adam added the type: bug label 2025-12-29 21:44:08 +01:00
adam closed this issue 2025-12-29 21:44:08 +01:00
Author
Owner

@adavis-sdx commented on GitHub (Jul 8, 2025):

netbox-upgrade.html.zip

@adavis-sdx commented on GitHub (Jul 8, 2025): [netbox-upgrade.html.zip](https://github.com/user-attachments/files/21124243/netbox-upgrade.html.zip)
Author
Owner

@arthanson commented on GitHub (Jul 8, 2025):

@adavis-sdx It looks like one of your dashboard widgets is causing an issue, to test try going to another URL like dcim/racks/ and see if that works. If that does you can reset the dashboard by going to extras/dashboard/reset/ do note that this will reset any custom dashboard widgets you have set up.

@arthanson commented on GitHub (Jul 8, 2025): @adavis-sdx It looks like one of your dashboard widgets is causing an issue, to test try going to another URL like `dcim/racks/` and see if that works. If that does you can reset the dashboard by going to `extras/dashboard/reset/` do note that this will reset any custom dashboard widgets you have set up.
Author
Owner

@adavis-sdx commented on GitHub (Jul 8, 2025):

Thank you all the left hand downdowns work if i go to dcim/racks/ and navigate from there
everything works apart from the home page by the looks of it.
I tried that dashboard reset but unfortunately it does not resolve the issue.
Thanks though for the suggestion.

@adavis-sdx commented on GitHub (Jul 8, 2025): Thank you all the left hand downdowns work if i go to dcim/racks/ and navigate from there everything works apart from the home page by the looks of it. I tried that dashboard reset but unfortunately it does not resolve the issue. Thanks though for the suggestion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11357