Issue with any object that touches device #8428

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

Originally created by @DamienUKCEH on GitHub (Aug 7, 2023).

NetBox version

V3.5.7

Python version

3.10

Steps to Reproduce

create a text field object on device
I added
Screenshot 2023-08-07 122854

then open devices

Server Error
There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'AttributeError'>

'ImageDraw' object has no attribute 'textsize'

Python version: 3.10.6
NetBox version: 3.5.7

When removing the text object this hasn't fix the issue.

Expected Behavior

Expected is the device page opens as normal.

Observed Behavior

Server Error
There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'AttributeError'>

'ImageDraw' object has no attribute 'textsize'

Python version: 3.10.6
NetBox version: 3.5.7

Screenshot 2023-08-07 122813

Originally created by @DamienUKCEH on GitHub (Aug 7, 2023). ### NetBox version V3.5.7 ### Python version 3.10 ### Steps to Reproduce create a text field object on device I added ![Screenshot 2023-08-07 122854](https://github.com/netbox-community/netbox/assets/98539593/66053dc8-5b90-40c3-b6aa-b6df70995a76) then open devices Server Error There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'AttributeError'> 'ImageDraw' object has no attribute 'textsize' Python version: 3.10.6 NetBox version: 3.5.7 When removing the text object this hasn't fix the issue. ### Expected Behavior Expected is the device page opens as normal. ### Observed Behavior Server Error There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'AttributeError'> 'ImageDraw' object has no attribute 'textsize' Python version: 3.10.6 NetBox version: 3.5.7 ![Screenshot 2023-08-07 122813](https://github.com/netbox-community/netbox/assets/98539593/71ddcf35-8863-40ab-8a1b-14922127e9bb)
adam added the status: duplicate label 2025-12-29 20:36:37 +01:00
adam closed this issue 2025-12-29 20:36:37 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 7, 2023):

This is not a NetBox bug and has already been raised several times. Please remember to search existing issues before creating a new one.

@jeremystretch commented on GitHub (Aug 7, 2023): This is not a NetBox bug and has already been raised several times. Please remember to search existing issues before creating a new one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8428