ImportError when viewing a report #1903

Closed
opened 2025-12-29 17:20:15 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 7, 2018).

Environment

  • Python version: 3.5.6
  • NetBox version: 2.4.1

Steps to Reproduce

  1. Navigate to Organization > Reports and verify that the desired report exists.
  2. Click on the report to view it.

Expected Behavior

The report should be displayed, along with its most recent result (if one exists).

Observed Behavior

An ImportError is raised indicating that the report cannot be found. For example, a report within a file named devices.py will raise the following:

<class 'ImportError'>

No module named 'devices'
Originally created by @jeremystretch on GitHub (Aug 7, 2018). ### Environment * Python version: 3.5.6 * NetBox version: 2.4.1 ### Steps to Reproduce 1. Navigate to Organization > Reports and verify that the desired report exists. 2. Click on the report to view it. ### Expected Behavior The report should be displayed, along with its most recent result (if one exists). ### Observed Behavior An ImportError is raised indicating that the report cannot be found. For example, a report within a file named `devices.py` will raise the following: ``` <class 'ImportError'> No module named 'devices' ```
adam added the type: bugstatus: accepted labels 2025-12-29 17:20:15 +01:00
adam closed this issue 2025-12-29 17:20:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1903