Device information not available #8305

Closed
opened 2025-12-29 20:35:09 +01:00 by adam · 6 comments
Owner

Originally created by @deku-m on GitHub (Jul 7, 2023).

NetBox version

v3.5.5

Python version

3.10

Steps to Reproduce

  1. Go to devices
  2. Click on a created device
  3. Error pops up

Expected Behavior

When clicking the device you should see the device information.

Observed Behavior

Server Error

<class 'AttributeError'>

'ImageDraw' object has no attribute 'text-size'

Python version: 3.10.6
Netbox version: 3.5.5
Originally created by @deku-m on GitHub (Jul 7, 2023). ### NetBox version v3.5.5 ### Python version 3.10 ### Steps to Reproduce 1. Go to devices 2. Click on a created device 3. Error pops up ### Expected Behavior When clicking the device you should see the device information. ### Observed Behavior Server Error ``` <class 'AttributeError'> 'ImageDraw' object has no attribute 'text-size' Python version: 3.10.6 Netbox version: 3.5.5 ```
adam closed this issue 2025-12-29 20:35:09 +01:00
Author
Owner

@abhi1693 commented on GitHub (Jul 7, 2023):

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

@abhi1693 commented on GitHub (Jul 7, 2023): Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.
Author
Owner

@deku-m commented on GitHub (Jul 7, 2023):

Where can i get the extended log for this. I cant use my existing data for seeing device overview.
Tried to go to demo site to check its also unavailable with Internal Server Error.

@deku-m commented on GitHub (Jul 7, 2023): Where can i get the extended log for this. I cant use my existing data for seeing device overview. Tried to go to demo site to check its also unavailable with Internal Server Error.
Author
Owner

@kkthxbye-code commented on GitHub (Jul 7, 2023):

ImageDraw from the PIL library is not used in netbox as far as I can tell. Seems like the most likely cause is the plugin netbox_qr. If you are using that plugin, disable it.

@kkthxbye-code commented on GitHub (Jul 7, 2023): ImageDraw from the PIL library is not used in netbox as far as I can tell. Seems like the most likely cause is the plugin netbox_qr. If you are using that plugin, disable it.
Author
Owner

@deku-m commented on GitHub (Jul 7, 2023):

That was the case, sorry for the mistake.

@deku-m commented on GitHub (Jul 7, 2023): That was the case, sorry for the mistake.
Author
Owner

@sebim2022 commented on GitHub (Jul 18, 2023):

hi, since upgrading netbox to 3.5.5 we cannot use qr code plugin any more. any chance to fix this?
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.8.10
NetBox version: 3.5.6

kind regards, sebastian

@sebim2022 commented on GitHub (Jul 18, 2023): hi, since upgrading netbox to 3.5.5 we cannot use qr code plugin any more. any chance to fix this? 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.8.10 NetBox version: 3.5.6 kind regards, sebastian
Author
Owner

@abhi1693 commented on GitHub (Jul 18, 2023):

@sebim2022 This issue is not due to core NetBox but a bug in the plugin as textsize is removed from Pillow in v10. You should ask the developer of the plugin to update the code instead.

@abhi1693 commented on GitHub (Jul 18, 2023): @sebim2022 This issue is not due to core NetBox but a bug in the plugin as `textsize` is removed from Pillow in v10. You should ask the developer of the plugin to update the code instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8305