Edit Linked Library: crash "Return to Original" button click #53176

Closed
opened 2017-10-27 09:33:21 +02:00 by Herbert van der Wegen · 17 comments

System Information
Windows 10, i7 920, 48GB, GTX1080 6GB.

Blender Version
Broken: 2.79 official version with COA Tools add-on installed.
Worked: works in 2.78c and earlier.

Opening a linked library item works fine (select linked library item, and click "Edit Library: XXXX" button.
Making a change, and returning to the original master file crashes/closes Blender. No warning messages. It just closes.
When the master file is reloaded, the changes were saved.

Exact steps for others to reproduce the error
Install and activate the COA Tools add-on.
https://github.com/ndee85/coa_tools

Create a new Blender file, and link any object/group/etc. Save the file. Click the "Edit Library" button. The object opens fine. Edit the object. Click "Return to Original". Crash/Blender closes.

Please fix this. It is quite essential for a fluid linked library workflow.

**System Information** Windows 10, i7 920, 48GB, GTX1080 6GB. **Blender Version** Broken: 2.79 official version with COA Tools add-on installed. Worked: works in 2.78c and earlier. Opening a linked library item works fine (select linked library item, and click "Edit Library: XXXX" button. Making a change, and returning to the original master file crashes/closes Blender. No warning messages. It just closes. When the master file is reloaded, the changes were saved. **Exact steps for others to reproduce the error** Install and activate the COA Tools add-on. https://github.com/ndee85/coa_tools Create a new Blender file, and link any object/group/etc. Save the file. Click the "Edit Library" button. The object opens fine. Edit the object. Click "Return to Original". Crash/Blender closes. Please fix this. It is quite essential for a fluid linked library workflow.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @herbert123

Added subscriber: @herbert123

Added subscriber: @SteffenD

Added subscriber: @SteffenD

Added subscriber: @ArtoKitula

Added subscriber: @ArtoKitula

Could not repro on macOS. Could you add crashlog?

Could not repro on macOS. Could you add crashlog?

No crash log is written. The "return to original" button does close the file correctly, but doesn't reload the original master file for some reason.

I get this error in the console:
Blender quit
Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\object_edit_linked.py", line 222, in draw
  text="Edit Library: %s" % context.active_object.dupli_group.name,

AttributeError: 'NoneType' object has no attribute 'name'

location: :-1

location: :-1

No crash log is written. The "return to original" button does close the file correctly, but doesn't reload the original master file for some reason. I get this error in the console: Blender quit Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\object_edit_linked.py", line 222, in draw text="Edit Library: %s" % context.active_object.dupli_group.name, ``` AttributeError: 'NoneType' object has no attribute 'name' location: <unknown location>:-1 location: <unknown location>:-1

I assume you're using same instance rather than checked "open new instance" option?
What does console output say? (set debugging on)

I assume you're using same instance rather than checked "open new instance" option? What does console output say? (set debugging on)

Yes, same instance. With "open new instance" the original master blend file also closes after clicking the "update..." button.

This is what I get when I click "return to original file":

Read blend: C:\Users\Red Dawn\Desktop\linked.blend
read file C:\Users\Red Dawn\Desktop\linked.blend

Version 279 sub 0 date 2017-08-18 12:53 hash 7b397cd

Info: Read library: 'C:\Users\Red Dawn\Desktop\pink.blend', '//pink.blend', parent ''
read file C:\Users\Red Dawn\Desktop\pink.blend

Version 279 sub 0 date unknown hash

ordered
OBCube
OBLamp
OBCamera
OBCube
startup coa modal operator
2017-10-27 02:30:22,391 INFO rpr.default [7800]: load_post...
2017-10-27 02:30:22,391 INFO rpr.default [7800]: File was saved by addon v1.4.0
2017-10-27 02:30:22,391 INFO rpr.default [7800]: C:\Users\Red Dawn\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\rprblender\images.py load_post
Info: Read library: 'C:\Users\Red Dawn\Desktop\pink.blend', '//pink.blend', parent ''
Error: EXCEPTION_ACCESS_VIOLATION

Yes, same instance. With "open new instance" the original master blend file also closes after clicking the "update..." button. This is what I get when I click "return to original file": Read blend: C:\Users\Red Dawn\Desktop\linked.blend read file C:\Users\Red Dawn\Desktop\linked.blend ``` Version 279 sub 0 date 2017-08-18 12:53 hash 7b397cd ``` Info: Read library: 'C:\Users\Red Dawn\Desktop\pink.blend', '//pink.blend', parent '<direct>' read file C:\Users\Red Dawn\Desktop\pink.blend ``` Version 279 sub 0 date unknown hash ``` ordered OBCube OBLamp OBCamera OBCube startup coa modal operator 2017-10-27 02:30:22,391 INFO rpr.default [7800]: load_post... 2017-10-27 02:30:22,391 INFO rpr.default [7800]: File was saved by addon v1.4.0 2017-10-27 02:30:22,391 INFO rpr.default [7800]: C:\Users\Red Dawn\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\rprblender\images.py load_post Info: Read library: 'C:\Users\Red Dawn\Desktop\pink.blend', '//pink.blend', parent '<direct>' Error: EXCEPTION_ACCESS_VIOLATION

Added subscriber: @zeauro

Added subscriber: @zeauro

Can you still open both .blend files without using the addon ?

Can you still open both .blend files without using the addon ?

Yes. And linking and reloading the library file using the outliner works as expected. It is just when I use the addon that Blender hits a snag.

Yes. And linking and reloading the library file using the outliner works as expected. It is just when I use the addon that Blender hits a snag.

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

@herbert123 judging from the last post do you run any other add-ons?
Can you attach the system-info.txt generated from the Help> Save System Info menu by dragging and dropping the whole .txt file into the comment field ( do not paste it's contents directly in the comment field it is difficult to read and breaks up the formatting).

For some further reading about how to attach files to reports check the link here:
https://wiki.blender.org/index.php/Dev:Doc/Process/Bug_Reports (under the Appending files to the report section)

It is possible that some other add-on running modal can interfere when trying to save or load blend files. The system info will give us information about the enabled add-ons.

@herbert123 judging from the last post do you run any other add-ons? Can you attach the `system-info.txt` generated from the `Help> Save System Info` menu by dragging and dropping the whole .txt file into the comment field ( **do not paste it's contents directly** in the comment field it is difficult to read and breaks up the formatting). For some further reading about how to attach files to reports check the link here: https://wiki.blender.org/index.php/Dev:Doc/Process/Bug_Reports (under the `Appending files to the report` section) It is possible that some other add-on running modal can interfere when trying to save or load blend files. The system info will give us information about the enabled add-ons.

I figured it out! COA Tools is the culprit. When that add-on is activated, Blender will crash.

https://github.com/ndee85/coa_tools

I will report this bug on COA Tool's github as well.

I figured it out! COA Tools is the culprit. When that add-on is activated, Blender will crash. https://github.com/ndee85/coa_tools I will report this bug on COA Tool's github as well.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Vuk Gardašević self-assigned this 2017-10-27 20:18:15 +02:00

Glad to hear that the source of the problem was found :)

Since the add-on issues are related to a third party one, for maintenance you'll have to contact the author, because COA tools not officially maintained / hosted by Blender - it's not in release nor contribution.

If there is some further issues with Edit Linked Library add-on, please feel free to post on this task so it can be reopened or create a new one.

Closing as archived.

Glad to hear that the source of the problem was found :) Since the add-on issues are related to a third party one, for maintenance you'll have to contact the author, because COA tools not officially maintained / hosted by Blender - it's not in release nor contribution. If there is some further issues with Edit Linked Library add-on, please feel free to post on this task so it can be reopened or create a new one. Closing as archived.

Thanks, I posted a bug on the respective Github page. Still, it is odd that it works in previous versions (2.78 and 2.75), and stopped working in 2.79.

Thanks, I posted a bug on the respective Github page. Still, it is odd that it works in previous versions (2.78 and 2.75), and stopped working in 2.79.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#53176
No description provided.