TypeError exception when editing IP address #3409

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

Originally created by @rodvand on GitHub (Feb 26, 2020).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.7.8

Steps to Reproduce

  1. Edit IP address of any device or VM

Expected Behavior

The form with option of editing the IP address to load.

Observed Behavior

Exception: int() argument must be a string, a bytes-like object or a number, not 'TenantGroup'.

This only happens when the IP address is assigned a tenant.

Originally created by @rodvand on GitHub (Feb 26, 2020). ### Environment * Python version: 3.6.8 * NetBox version: 2.7.8 ### Steps to Reproduce 1. Edit IP address of any device or VM ### Expected Behavior The form with option of editing the IP address to load. ### Observed Behavior Exception: int() argument must be a string, a bytes-like object or a number, not 'TenantGroup'. This only happens when the IP address is assigned a tenant.
adam closed this issue 2025-12-29 18:28:50 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 26, 2020):

I'm not able to replicate this. Please extend the issue to include the specific steps needed to reproduce this bug, beginning with the device/IP creation.

@jeremystretch commented on GitHub (Feb 26, 2020): I'm not able to replicate this. Please extend the issue to include the specific steps needed to reproduce this bug, beginning with the device/IP creation.
Author
Owner

@rodvand commented on GitHub (Feb 26, 2020):

Yeah, after a couple of restarts I am also unable to replicate this on my test instance. I'm closing it for now.

@rodvand commented on GitHub (Feb 26, 2020): Yeah, after a couple of restarts I am also unable to replicate this on my test instance. I'm closing it for now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3409