Uploading a report with syntax error prevent access to report section and cannot delete it #8143

Closed
opened 2025-12-29 20:33:04 +01:00 by adam · 1 comment
Owner

Originally created by @kawalex on GitHub (May 31, 2023).

NetBox version

v3.5.2

Python version

3.9

Steps to Reproduce

  1. Upload a new report with inconsistent use of tabs and spaces in indentation error
  2. Try to access to report menu in customization section.

Expected Behavior

We expect to see list of report to delete the faulty one

Observed Behavior

Get a Server Error page stating:
There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'TabError'>

inconsistent use of tabs and spaces in indentation (netbox-report-test.py, line 14)

Python version: 3.10.6
NetBox version: 3.5.2

Originally created by @kawalex on GitHub (May 31, 2023). ### NetBox version v3.5.2 ### Python version 3.9 ### Steps to Reproduce 1. Upload a new report with inconsistent use of tabs and spaces in indentation error 2. Try to access to report menu in customization section. ### Expected Behavior We expect to see list of report to delete the faulty one ### Observed Behavior Get a Server Error page stating: There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'TabError'> inconsistent use of tabs and spaces in indentation (netbox-report-test.py, line 14) Python version: 3.10.6 NetBox version: 3.5.2
adam added the type: bugstatus: duplicate labels 2025-12-29 20:33:04 +01:00
adam closed this issue 2025-12-29 20:33:04 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 14, 2023):

Merging this into #12842.

@jeremystretch commented on GitHub (Jun 14, 2023): Merging this into #12842.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8143