BUG: Trying to paste a image and it prints error
Describe the bug
I am trying to paste a image in blender and it gives out error, on the older computer it worked perfectly and now it gives out error
Step to reproduce
- copy a image in browser
- try to paste it
- it prints error
- press on the error where it´s colored red
Relevant log output
Python: Traceback (most recent call last):
File "/home/kqndy_6349/.config/blender/4.3/scripts/addons/ImagePaste-main/imagepaste/operators.py", line 188, in execute
bpy.ops.object.load_reference_image(filepath=image.filepath)
File "/home/kqndy_6349/Downloads/blender-4.3 (2).1-linux-x64/4.3/scripts/modules/bpy/ops.py", line 109, in __call__
AttributeError: Calling operator "bpy.ops.object.load_reference_image" error, could not be found
Expected behavior
Normally it should just paste image.
Platform
Linux
Platform version
41
Blender version
Other
ImagePaste Version
#53
Looks like you're using Blender 4.3
The operators are renamed so they no longer work (more details https://github.com/b-init/ImagePaste/issues/56#issuecomment-2240921526)
Try using this, it should work for 4.2+ : https://github.com/b-init/ImagePaste/releases/tag/v1.8.2b
Looks like you're using Blender 4.3
The operators are renamed so they no longer work (more details #56 (comment))
Try using this, it should work for 4.2+ : https://github.com/b-init/ImagePaste/releases/tag/v1.8.2b
Thanks for clarifying, I was running into the same issue. Any idea on when the operator names will be fixed an a new imagepaste will be released? Is it something we can fix ourselves in a few lines/rewrites of the code? Id be willing to theory craft a way of maybe using regex on the entire codebase to do in-place replacement of the code? Let me know if you are interested!
Looks like you're using Blender 4.3 The operators are renamed so they no longer work (more details #56 (comment)) Try using this, it should work for 4.2+ : https://github.com/b-init/ImagePaste/releases/tag/v1.8.2b
Thanks for clarifying, I was running into the same issue. Any idea on when the operator names will be fixed an a new imagepaste will be released? Is it something we can fix ourselves in a few lines/rewrites of the code? Id be willing to theory craft a way of maybe using regex on the entire codebase to do in-place replacement of the code? Let me know if you are interested!
The latest release / or the file linked in here: #56 should already have the renamed operators (it's just a couple lines so I renamed those manually) so it should work on 4.3:
https://github.com/user-attachments/assets/2fbb4023-c8ab-4524-9ff5-76be699fd07c
Looks like you're using Blender 4.3 The operators are renamed so they no longer work (more details #56 (comment)) Try using this, it should work for 4.2+ : https://github.com/b-init/ImagePaste/releases/tag/v1.8.2b
Thanks for clarifying, I was running into the same issue. Any idea on when the operator names will be fixed an a new imagepaste will be released? Is it something we can fix ourselves in a few lines/rewrites of the code? Id be willing to theory craft a way of maybe using regex on the entire codebase to do in-place replacement of the code? Let me know if you are interested!
The latest release / or the file linked in here: #56 should already have the renamed operators (it's just a couple lines so I renamed those manually) so it should work on 4.3: test.mp4
Thanks @williamchange, have the changes in thenew file been merged with the main branch of the ImagePaste add on?