Exception.message was deprecated in Python 2.6 and removed in Python 3 #5186

Closed
opened 2025-12-29 19:25:15 +01:00 by adam · 2 comments
Owner

Originally created by @cclauss on GitHub (Aug 16, 2021).

NetBox version

master

Python version

3.6

Steps to Reproduce

Run the lines of code fixed in #6959

See #6956 and #6959

Expected Behavior

Program does not raise AttributeError at runtime.

Observed Behavior

Program raises AttributeError at runtime.

Originally created by @cclauss on GitHub (Aug 16, 2021). ### NetBox version master ### Python version 3.6 ### Steps to Reproduce Run the lines of code fixed in #6959 See #6956 and #6959 ### Expected Behavior Program does not raise AttributeError at runtime. ### Observed Behavior Program raises AttributeError at runtime.
adam added the type: bugstatus: revisions needed labels 2025-12-29 19:25:15 +01:00
adam closed this issue 2025-12-29 19:25:15 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 16, 2021):

Please provide steps to reproduce

@jeremystretch commented on GitHub (Aug 16, 2021): Please provide steps to reproduce
Author
Owner

@cclauss commented on GitHub (Aug 16, 2021):

The steps are in #6959

@cclauss commented on GitHub (Aug 16, 2021): The steps are in #6959
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5186