Update error page to include local_requirements.txt #4028

Closed
opened 2025-12-29 18:32:41 +01:00 by adam · 2 comments
Owner

Originally created by @mmahacek on GitHub (Aug 26, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: 3.7.7
  • NetBox version: 2.9.1

Proposed Functionality

Update the error text for Missing required packages to include a note referencing local_requirements.txt. As this is the location for including custom packages now, it would be helpful to users to include this reference.

Specifically: https://github.com/netbox-community/netbox/blob/master/netbox/templates/exceptions/import_error.html

Use Case

As someone working on debugging reports/scripts, this brings the error message in line with the new way of specifying custom packages to be installed in the venv.

Database Changes

None (that I am aware of)

External Dependencies

None (that I am aware of)

Originally created by @mmahacek on GitHub (Aug 26, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: 3.7.7 * NetBox version: 2.9.1 ### Proposed Functionality Update the error text for **Missing required packages** to include a note referencing `local_requirements.txt`. As this is the location for including custom packages now, it would be helpful to users to include this reference. Specifically: https://github.com/netbox-community/netbox/blob/master/netbox/templates/exceptions/import_error.html ### Use Case As someone working on debugging reports/scripts, this brings the error message in line with the new way of specifying custom packages to be installed in the venv. ### Database Changes None (that I am aware of) ### External Dependencies None (that I am aware of)
adam added the status: acceptedtype: housekeeping labels 2025-12-29 18:32:41 +01:00
adam closed this issue 2025-12-29 18:32:41 +01:00
Author
Owner

@DanSheps commented on GitHub (Aug 27, 2020):

I can see this being useful for someone and it is going to be fairly easy to implement it looks like (just a simple wording change)

@DanSheps commented on GitHub (Aug 27, 2020): I can see this being useful for someone and it is going to be fairly easy to implement it looks like (just a simple wording change)
Author
Owner

@mmahacek commented on GitHub (Aug 29, 2020):

As far as I can tell, it's just editing the one file I linked. Just wasn't sure if it should reference both requirements and local_requirements, or just the local.

@mmahacek commented on GitHub (Aug 29, 2020): As far as I can tell, it's just editing the one file I linked. Just wasn't sure if it should reference both requirements and local_requirements, or just the local.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4028