-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not add image to device type #13845
Comments
Can confirm. Python version: 3.9.2 |
@arthanson can you look into this please? Seems we need to update the logic for deleting the old front/rear images under
|
Confirmed. <class 'AttributeError'> 'str' object has no attribute 'delete' Python version: 3.8.10 |
Definitely not a solution but i tried commenting lines 335 to 338 in /opt/netbox/netbox/dcim/models/devices.py and was able to upload the image.
|
I see there is a PR to fix this, thank you. In case its helpful I can reproduce this bug on my docker install, the exception message is 'str' object has no attribute 'delete' Python version: 3.11.4 |
NetBox version
v3.6.2
Python version
3.8
Steps to Reproduce
Expected Behavior
save image to device-type
Observed Behavior
<class 'AttributeError'>
'str' object has no attribute 'delete'
Python version: 3.8.10
NetBox version: 3.6.2
Plugins:
netbox_demo: 0.3.1
The text was updated successfully, but these errors were encountered: