PDA

View Full Version : Disable Component Errors



danward79
December 4th, 2006, 01:05 PM
Hi,

When I try to disable mediabridge, it remains in the enabled components list and I get the following in the console


TreeScript (golua): ...les\Promixis\Girder5\luascript\Classes/Publisher.lua:103: Cannot unsubscribe a nil function
stack traceback:
[C]: in function `assert'
...les\Promixis\Girder5\luascript\Classes/Publisher.lua:103: in function `Unsubscribe'
...omixis\Girder5\luascript\Components/Classes/Base.lua:221: in function `Unsubscribe'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:266: in function `DisableComponent'
...\Girder5\/plugins/treescript/ComponentManager UI.lua:175: in function <...\Girder5\/plugins/treescript/ComponentManager UI.lua:149>

danward79
December 4th, 2006, 01:07 PM
When I try to disable the custom weather component I get this, but it does not remain in the enable components list


Error in subscriber callback
...xis\Girder5\/plugins/treescript/CustomWeather UI.lua:147: bad argument #1 to `pairs' (table expected, got nil)
stack traceback:
...les\Promixis\Girder5\luascript\Classes/Publisher.lua:28: in function <...les\Promixis\Girder5\luascript\Classes/Publisher.lua:25>
[C]: in function `pairs'
...xis\Girder5\/plugins/treescript/CustomWeather UI.lua:147: in function <...xis\Girder5\/plugins/treescript/CustomWeather UI.lua:137>
...xis\Girder5\/plugins/treescript/CustomWeather UI.lua:344: in function <...xis\Girder5\/plugins/treescript/CustomWeather UI.lua:335>
...les\Promixis\Girder5\luascript\Classes/Publisher.lua:37: in function <...les\Promixis\Girder5\luascript\Classes/Publisher.lua:36>
[C]: in function `xpcall'
...les\Promixis\Girder5\luascript\Classes/Publisher.lua:40: in function <...les\Promixis\Girder5\luascript\Classes/Publisher.lua:32>
...les\Promixis\Girder5\luascript\Classes/Publisher.lua:151: in function `SendEvent'
...les\Promixis\Girder5\luascript\Classes/Publisher.lua:138: in function `Event'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:405: in function `Event'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:264: in function `DisableComponent'
...\Girder5\/plugins/treescript/ComponentManager UI.lua:175: in function <...\Girder5\/plugins/treescript/ComponentManager UI.lua:149>

harleydude
December 4th, 2006, 03:38 PM
No errors when I disable MediaBridge, but I get the same for CustomWeather.

Rick