0
$\begingroup$

I have linked a collection of a blend file in another blend file (Main Comp). I have activated the "Linked Library Add-on" in Preferences. I can switch from the Main Comp to the linked blend file via the button "Edit Library: Collection". This works without any problems. But strangely I can't get back from there. In the add-on the option "Return to Original File" is not offered. Did I miss something? Thanks for your help!

Screenshot

ToggleSystemConsole

-----------------
Read prefs: C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.93\config\userpref.blend
cmolcore imported with success! v1.12
Read blend: F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\ST_Roh\ST_Roh11.blend
Info: Saved "ST_Roh11.blend"

Info: Saved "ST_Roh11.blend"
Read blend: F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\ST_Roh\..\Material\Links\Blaetter+Sockel\Blaetter.blend
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Info: Saved "Blaetter.blend"

Read blend: F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\ST_Roh\ST_Roh11.blend
Info: Read library:  'F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\Material\Links\Blaetter+Sockel\Blaetter.blend', '//..\Material\Links\Blaetter+Sockel\Blaetter.blend', parent '<direct>'
Info: Read library:  'F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\Material\Links\Blaetter+Sockel\Blaetter.blend', '//..\Material\Links\Blaetter+Sockel\Blaetter.blend', parent '<direct>'

Info: Saved "ST_Roh11.blend"

Info: Saved "ST_Roh11.blend"

Info: Saved "ST_Roh11.blend"

Info: Saved "ST_Roh11.blend"

Info: Saved "ST_Roh11.blend"
Read blend: F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\ST_Roh\..\Material\Links\Blaetter+Sockel\Blaetter.blend
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Info: Saved "Blaetter.blend"

Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
Info: Saved "Blaetter.blend"

Read blend: F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\ST_Roh\ST_Roh11.blend
Info: Read library:  'F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\Material\Links\Blaetter+Sockel\Blaetter.blend', '//..\Material\Links\Blaetter+Sockel\Blaetter.blend', parent '<direct>'
Info: Read library:  'F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\Material\Links\Blaetter+Sockel\Blaetter.blend', '//..\Material\Links\Blaetter+Sockel\Blaetter.blend', parent '<direct>'

Info: Saved "ST_Roh11.blend"

Info: Saved "ST_Roh11.blend"
Read blend: F:\Unsere_Daten_Chri\Kreation\Bundesforste\Sieben Thesen\Filme\ST_Blender\ST_Roh\..\Material\Links\Blaetter+Sockel\Blaetter.blend
Python: Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\addons\object_edit_linked.py", line 183, in draw
    icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

location: <unknown location>:-1
$\endgroup$
8
  • 1
    $\begingroup$ This looks like something bugged out. Could you go to Window > toggle System Console and copy paste errors in your question (if any) ? $\endgroup$
    – Gorgious
    Commented Dec 8, 2021 at 19:22
  • $\begingroup$ @Gorgious Thank you for the hint! I edited the question and put a link to the text document! Cheers $\endgroup$
    – user123511
    Commented Dec 8, 2021 at 19:29
  • 1
    $\begingroup$ Erm sorry but I'm not so keen on downloading a random txt file from the internet ^^ could you just copy/paste the contents into you question ? $\endgroup$
    – Gorgious
    Commented Dec 8, 2021 at 19:31
  • 1
    $\begingroup$ This is a far cry but try to unhide the light object and then select it in the viewport ? $\endgroup$
    – Gorgious
    Commented Dec 8, 2021 at 19:37
  • 1
    $\begingroup$ Or select any other object for that matter $\endgroup$
    – Gorgious
    Commented Dec 8, 2021 at 19:43

1 Answer 1

1
$\begingroup$

Judging by the error that's being repetitively printed out in the system console :

icon = "OUTLINER_DATA_" + context.active_object.type.replace("LIGHT_PROBE", "LIGHTPROBE")
AttributeError: 'NoneType' object has no attribute 'type'

The add-on functionality assumes that you have an active object in the code, apparently in order to draw something in the panel interface. Normally the developper would safeguard the code so this doesn't happen, but this edge case hasn't been taken into consideration.

You would need to select an object in the interface so context.active_object doesn't return a non existant object and the interface draws correctly.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .