by jymis » 17 Jan 2013, 18:45
As often hapens when we code, a correction leads up to another…
Traceback (most recent call last):
File "/usr/share/blender/2.65/scripts/addons/stk_panel.py", line 886, in createPreviewTexture
bpy.ops.texture.new()
File "/usr/share/blender/2.65/scripts/modules/bpy/ops.py", line 182, in __call__
BPyOpsSubModOp._scene_update(context)
File "/usr/share/blender/2.65/scripts/modules/bpy/ops.py", line 148, in _scene_update
scene = context.scene
AttributeError: '_RestrictContext' object has no attribute 'scene'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/blender/2.65/scripts/modules/addon_utils.py", line 269, in enable
mod = __import__(module_name)
File "/usr/share/blender/2.65/scripts/addons/stk_panel.py", line 894, in <module>
createPreviewTexture()
File "/usr/share/blender/2.65/scripts/addons/stk_panel.py", line 892, in createPreviewTexture
traceback.print_exc(file=sys.stdout)
NameError: global name 'traceback' is not defined
edit :
'looked better, I would say that a second appeared instead of losing the first. :/