wm.link_append() never appends despite link=False #38924
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#38924
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 7
Blender Version
Broken: 2.69 (and at least 2.67, 2.65, 2.57)
Short description of error
bpy.ops.wm.link_append()
called from script ignores the link-argument and always links. If you try it with a scene, you can't even make it local in UI afterwards. It works fine via File / Link/AppendExact steps for others to reproduce the error
Example code:
Changed status to: 'Open'
Added subscriber: @CodeManX
This was actually reported earlier, but closed as invalid:
https://developer.blender.org/T30172
It might be platform-specific.
Added subscriber: @ideasman42
I tried this and
link
option is respect as it is from running the operator directly.Could you upload sample blend files which fail?
Also possible (but unlikely) a bug for ms-windows, tested on 64bit Linux.
Not being able to make local looks like a real bug though, checking on that
correction - its not implemented.
id_make_local
Note that using
bpy.ops.wm.link_append
from python is quite limited, we have an API for linking which lets you inspect data in the blend file.http://www.blender.org/documentation/blender_python_api_2_69_release/bpy.types.BlendDataLibraries.html
It is indeed a Windows problem, it occurs if a Blender path with slashes is used:
A standard Windows path with backslashes works.
This should be made to work (or at least give some error on invalid args),
but since theres already a python api for this and it only fails when called with incorrect args, Id postpone any changes here until after 2.70
Added subscriber: @Sergey
@ideasman42, mind looking into the fix?
This issue was referenced by blender/blender-addons-contrib@1eb1351976
This issue was referenced by blender/blender@1eb1351976
Changed status from 'Open' to: 'Resolved'
Closed by commit blender/blender@1eb1351976.