Skip to content

Image attachment not working after upgrade to 4.0.5 #16579

Answered by candlerb
deku-m asked this question in Help Wanted!
Discussion options

You must be logged in to vote

Does anyone know how to reapply the migration table as as content isnt changed to streaming content?

That's not it. The error refers to a python object attribute (in python code), not any value in the database.

    content = str(response.content)
                          ^^^^^^^^

Furthermore, the error occurs here:

  File "/opt/netbox-4.0.5/venv/lib/python3.10/site-packages/netbox_contextmenus/middleware.py", line 26, in __call__

The error is occuring within a third-party package called netbox_contextmenus which appears to be broken (many plugins have not been updated to work with Netbox 4.0)

Disable this plugin, and I suspect your problem will go away.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@deku-m
Comment options

Comment options

You must be logged in to vote
2 replies
@candlerb
Comment options

Answer selected by deku-m
@deku-m
Comment options

Comment options

You must be logged in to vote
1 reply
@PieterL75
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants