Page MenuHome

[ctests] Failing tests get marked as passed.
Closed, InvalidPublic

Description

System Information
Windows x64 (didn't test x86)

Blender Version
Broken: latest master
Worked: (optional)

Short description of error
Test that are failing are marked as passed anyhow

Exact steps for others to reproduce the error
archipack on addons hash 2ec5205be7ff9b49c4613a8747fc738181ed43df has issues with module reloading , test on windows happily let this pass, but @Bastien Montagne (mont29) caught it on linux.

@Campbell Barton (campbellbarton) you recently looked at a similar ticket (which i can't for the life of me seem to be able to find) would you mind terribly talking a look here cause i have no idea what's going on.

k:\BlenderGit\build_windows_Lite_x64_vc12_Debug>ctest -C Debug -R module -V -V
UpdateCTestConfiguration  from :K:/BlenderGit/build_windows_Lite_x64_vc12_Debug/DartConfiguration.tcl
UpdateCTestConfiguration  from :K:/BlenderGit/build_windows_Lite_x64_vc12_Debug/DartConfiguration.tcl
Test project K:/BlenderGit/build_windows_Lite_x64_vc12_Debug
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 3
    Start 3: script_load_modules

3: Test command: K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\blender.exe "--background" "-noaudio" "--factory-startup" "--env-system-scripts" "K:/BlenderGit/blender/release/scripts" "--p
ython" "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py"
3: Test timeout computed to be: 9.99988e+006
3: RNA_def_property_ui_text: 'Effect depth - number of frequencies.' description from 'fx_depth' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Percentage scale for terrain model resolution. 100\% loads the model at full resolution (i.e. one vertex for each post in the original terrain model) and is *MEMORY INTEN
SIVE*. Downsampling uses Nearest Neighbors. The downsampling algorithm may need to alter the resolution you specify here to ensure it results in a whole number of vertices. If it needs to alter the va
lue you specify, you are guaranteed that it will shrink it (i.e. decrease the DTM resolution.' description from 'dtm_resolution' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Percentage scale for terrain model resolution. 100\% loads the model at full resolution (i.e. one vertex for each post in the original terrain model) and is *MEMORY INTEN
SIVE*. Downsampling uses Nearest Neighbors. The downsampling algorithm may need to alter the resolution you specify here to ensure it results in a whole number of vertices. If it needs to alter the va
lue you specify, you are guaranteed that it will shrink it (i.e. decrease the DTM resolution.' description from 'dtm_resolution' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Percentage scale for terrain model resolution. 100\% loads the model at full resolution (i.e. one vertex for each post in the original terrain model) and is *MEMORY INTEN
SIVE*. Downsampling uses Nearest Neighbors. You will be able to increase the resolution of your mesh later, and still maintain all textures, transformations, modifiers, etc., so best practice is to st
art small. The downsampling algorithm may need to alter the resolution you specify here to ensure it results in a whole number of vertices. If it needs to alter the value you specify, you are guarante
ed that it will shrink it (i.e. decrease the DTM resolution.' description from 'dtm_resolution' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Set up the Blender screen to try and avoid clipping the DTM and to make the grid floor larger. *WARNING* This will change clipping distances and the Blender grid floor, a
nd will fit the DTM in the viewport.' description from 'should_setup_viewport' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Set the Blender scene to use meters as its unit.' description from 'should_setup_units' '' ends with a '.' !
3: RNA_def_struct_ui_text: 'Button for reloading the terrain mesh at a new resolution.' description from 'TERRAIN_OT_reload' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Percentage scale for terrain model resolution. 100\% loads the model at full resolution (i.e. one vertex for each post in the original terrain model) and is *MEMORY INTEN
SIVE*. Downsampling uses Nearest Neighbors. You will be able to increase the resolution of your mesh later, and still maintain all textures, transformations, modifiers, etc., so best practice is to st
art small. The downsampling algorithm may need to alter the resolution you specify here to ensure it results in a whole number of vertices. If it needs to alter the value you specify, you are guarante
ed that it will shrink it (i.e. decrease the DTM resolution.' description from 'dtm_resolution' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Set up the Blender screen to try and avoid clipping the DTM and to make the grid floor larger. *WARNING* This will change clipping distances and the Blender grid floor, a
nd will fit the DTM in the viewport.' description from 'should_setup_viewport' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Set the Blender scene to use meters as its unit.' description from 'should_setup_units' '' ends with a '.' !
3: RNA_def_struct_ui_text: 'Button for reloading the terrain mesh at a new resolution.' description from 'TERRAIN_OT_reload' '' ends with a '.' !
3: RNA_def_struct_ui_text: 'Reloads all bitmaps in the scene.' description from 'IMAGE_OT_reload_images_osc' '' ends with a '.' !
3: RNA_def_struct_ui_text: 'Saves incremental version of the blend file Ex: ΓÇ£_v01ΓÇ¥ "_v02".' description from 'FILE_OT_save_incremental_osc' '' ends with a '.' !
3: RNA_def_struct_ui_Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_door\160x200_dual.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_door[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_door\400x240_garage.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_door[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_door\80x200.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_door[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_fence\glass_panels.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_fence[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_fence\inox_glass_concrete.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_fence[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_fence\metal.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_fence[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_fence\metal_glass.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_fence[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_fence\wood.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_fence[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\boards_200x20.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\herringbone_50x10.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\herringbone_p_50x10.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\hexagon_10.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\hopscotch_30x30.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\parquet_15x3.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\stepping_stone_30x30.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\tile_30x60.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_floor\windmill_30x30.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_floor[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\braas_1.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\braas_2.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\eternit.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\lauze.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\metal.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\ondule.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\roman.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\round.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_roof\square.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_roof[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_stair\i_wood_over_concrete.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_stair[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_stair\l_wood_over_concrete.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_stair[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_stair\o_wood_over_concrete.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_stair[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_stair\u_wood_over_concrete.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_stair[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\120x110_flat_2.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\120x110_flat_2_elliptic.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\120x110_flat_2_oblique.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\120x110_flat_2_round.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\180x110_flat_3.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\180x210_flat_3.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\180x210_rail_2.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\240x210_rail_3.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\80x80_flat_1.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: Traceback (most recent call last):
3:   File "K:/BlenderGit/blender/tests/python/bl_load_py_modules.py", line 182, in load_modules
3:     __import__(mod_name_full)
3:   File "K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\addons\archipack\presets\archipack_window\80x80_flat_1_circle.py", line 2, in <module>
3:     d = bpy.context.active_object.data.archipack_window[0]
3: IndexError: bpy_prop_collection[index]: index 0 out of range, size 0
3: addon not found: 'cycles'
3: fake_module: addon missing 'bl_info' gives bad performance!: 'C:\\Users\\Ray\\AppData\\Roaming\\Blender Foundation\\Blender\\2.78\\scripts\\addons\\NodeGroupWriter.py'
3: fake_module: addon missing 'bl_info' gives bad performance!: 'C:\\Users\\Ray\\AppData\\Roaming\\Blender Foundation\\Blender\\2.78\\scripts\\addons\\pyTest1.py'
3: addon_utils.disable: cycles not disabled.
3: archimesh: Imported multifiles
3: archipack: ready
3: path not found
3: measureit: Imported multifiles
3: Paths:
3:      'K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts\modules'
3:      'K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\scripts'
3:      'C:\Users\Ray\AppData\Roaming\Blender Foundation\Blender\2.78\scripts'
3: loaded 706 modules
3: Color management: using fallback mode for management
3: found bundled python: K:\BlenderGit\build_windows_Lite_x64_vc12_Debug\bin\Debug\2.78\python
3: Error: Not freed memory blocks: 124, total unfreed memory 0.030273 MB
3:
3: Blender quit
3: text: 'Search on the libraries of the linked source and relink groups and link newones if there are. Usefull to use with the mesh cache tools.' description from 'FILE_OT_sync_missing_groups' '' end
s with a '.' !
3: RNA_def_struct_ui_text: 'Collect all images in the blend file and put them in IMAGES folder.' description from 'FILE_OT_collect_all_images' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Defines which rig to overwrite. If unset, a new one called 'rig' will be created.' description from 'rigify_target_rig' '' ends with a '.' !
3: RNA_def_property_ui_text: 'Texture Transparency.' description from 'muv_texproj_tex_transparency' '' ends with a '.' !
1/1 Test #3: script_load_modules ..............   Passed    5.19 sec

The following tests passed:
        script_load_modules

100% tests passed, 0 tests failed out of 1

Total Test time (real) =   5.30 sec

Details

Type
Bug

Event Timeline

Sergey Sharybin (sergey) lowered the priority of this task from Needs Triage by Developer to Normal.

Wouldn't really call it a bug: error happens in preset which is supposed to be ignored. The issue here is that script first imports everything possible and only then checks that script was a preset and to be ignored. Perhaps we should suppress import error tracebacks for ignored files unless we pass something like VERBOSE=1.

@Campbell Barton (campbellbarton), what do you think here?

little context, I was testing with artok (mac) and someone on linux, they had the same problem (presets being tested) but the test failed for them , passed on windows.

That is interesting, tests are passing nice for me on Linux. The stacktraces are mainly harmless, but would be nice to hide them so we can see actual problems.

LazyDodo (LazyDodo) closed this task as Invalid.Aug 8 2017, 7:39 PM

yeah with latest master and the broken addon from the mentioned addon hash, it now properly fails , they have been messing with these tests a lot, guess it's fixed....