PDA

View Full Version : lighting in component manager



jonrigg68
January 1st, 2008, 02:47 AM
I have been using girder 5 for a while, then all of a sudden the lighting option in component manager has vanished! The X10 interface still registers commands from light switches etc but will not let me add any devices!

I have reinstalled Girder but still the same problem. I have it running on another mc up stairs and can clearly see how it should look in the Component manager?

PC is Vista home premium and as said all was working fine until this morning.

Rob H
January 1st, 2008, 04:48 AM
Are any errors shown on startup or Girder reset in the Lua console?

jonrigg68
January 1st, 2008, 08:52 AM
it is really weird sometimes the lighting option is there in CM, most of the time not, I did omit to mention in my last post I had to rebuild the pc yesterday so it is a clean build, I also checked after my post and there was a licence compromise which I fixed following the on screen instruction, so I am not sure if that is connected. Any way I am including the console log as I am not entirely sure where or what to look for.

** here goes ** ps I checked following this reset and the lighting option is not there in CM

ScriptReset Start
Component Manager Shutdown Time 368.8896214463
ScriptReset Done Calling ScriptReset Callbacks, Time: 368.98069447374
LOG: Component Manager : 5 - Error running component file (1) C:\Program Files\Promixis\Girder5\luascript\components\Custom Weather.lua
...\Program Files\Promixis\Girder5\luascript\pickle.lua:69: attempt to call a nil value
stack traceback:
...\Program Files\Promixis\Girder5\luascript\pickle.lua:69: in function `unpickle'
...ogram Files\Promixis\Girder5\luascript\girconfig.lua:149 : in function `ReadConfigTable'
...s\Promixis\Girder5\luascript\DeviceManager/Local.lua:297: in function `ReadDeviceInfo'
...s\Promixis\Girder5\luascript\DeviceManager/Local.lua:74: in function `Initialize'
...s\Promixis\Girder5\luascript\DeviceManager/Local.lua:57: in function `New'
...s\Promixis\Girder5\luascript\DeviceManager/Local.lua:416: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...m Files\Promixis\Girder5\luascript\DeviceManager.lua :741: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...\luascript\DeviceManager/Providers/CustomWeather.lua:11: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...mixis\Girder5\luascript\components\CustomWeathe r.lua:52: in main chunk
[C]: in function `xpcall'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:543: in function `ReadComponentFile'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:490: in function `LoadComponents'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:221: in function `Initialize'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:810: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...gram Files\Promixis\Girder5\\luascript\Additions.lua:63 0: in main chunk
LOG: Component Manager : 5 - Error running component file (1) C:\Program Files\Promixis\Girder5\luascript\components\Global Cache.lua
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: loop or previous error loading module 'DeviceManager'
stack traceback:
[C]: in function `error'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: in function `require'
...r5\luascript\DeviceManager/Providers/GlobalCache.lua:7: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...romixis\Girder5\luascript\components\GlobalCach e.lua:44: in main chunk
[C]: in function `xpcall'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:543: in function `ReadComponentFile'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:490: in function `LoadComponents'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:221: in function `Initialize'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:810: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...gram Files\Promixis\Girder5\\luascript\Additions.lua:63 0: in main chunk
Loaded LGTV Class
Loaded LGTV component
LOG: Component Manager : 5 - Error running component file (1) C:\Program Files\Promixis\Girder5\luascript\components\RSS.lu a
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: loop or previous error loading module 'DeviceManager'
stack traceback:
[C]: in function `error'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: in function `require'
...is\Girder5\luascript\DeviceManager/Providers/RSS.lua:13: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
... Files\Promixis\Girder5\luascript\components\RSS.lu a:62: in main chunk
[C]: in function `xpcall'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:543: in function `ReadComponentFile'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:490: in function `LoadComponents'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:221: in function `Initialize'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:810: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...gram Files\Promixis\Girder5\\luascript\Additions.lua:63 0: in main chunk
LOG: Component Manager : 5 - Error running component file (1) C:\Program Files\Promixis\Girder5\luascript\components\SunClo ck.lua
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: loop or previous error loading module 'DeviceManager'
stack traceback:
[C]: in function `error'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: in function `require'
...rder5\luascript\DeviceManager/Providers/SunClock.lua:8: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...s\Promixis\Girder5\luascript\components\SunCloc k.lua:32: in main chunk
[C]: in function `xpcall'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:543: in function `ReadComponentFile'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:490: in function `LoadComponents'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:221: in function `Initialize'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:810: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...gram Files\Promixis\Girder5\\luascript\Additions.lua:63 0: in main chunk
LOG: Component Manager : 5 - Error running component file (1) C:\Program Files\Promixis\Girder5\luascript\components\WMI.lu a
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: loop or previous error loading module 'DeviceManager'
stack traceback:
[C]: in function `error'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: in function `require'
...is\Girder5\luascript\DeviceManager/Providers/WMI.lua:9: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
... Files\Promixis\Girder5\luascript\components\WMI.lu a:19: in main chunk
[C]: in function `xpcall'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:543: in function `ReadComponentFile'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:490: in function `LoadComponents'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:221: in function `Initialize'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:810: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...gram Files\Promixis\Girder5\\luascript\Additions.lua:63 0: in main chunk
LOG: Component Manager : 5 - Error running component file (1) C:\Program Files\Promixis\Girder5\luascript\components\ZWave. lua
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: loop or previous error loading module 'DeviceManager'
stack traceback:
[C]: in function `error'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: in function `require'
...\Girder5\luascript\DeviceManager/Providers/ZWave.lua:7: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...iles\Promixis\Girder5\luascript\components\ZWav e.lua:20: in main chunk
[C]: in function `xpcall'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:543: in function `ReadComponentFile'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:490: in function `LoadComponents'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:221: in function `Initialize'
...iles\Promixis\Girder5\luascript\ComponentManage r.lua:810: in function `init'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:195: in function `require'
...gram Files\Promixis\Girder5\\luascript\Additions.lua:63 0: in main chunk
Aux lib Open: ...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: loop or previous error loading module 'DeviceManager'
stack traceback:
[C]: in function `error'
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:187: in function `require'
...gram Files\Promixis\Girder5\\luascript\Additions.lua:63 1: in main chunk
NEC Data: 0
Serial Error: ...romixis\Girder5\/plugins/serial/NEC 42MP3 Serial.lua:40: attempt to index field `Providers' (a nil value)
stack traceback:
...romixis\Girder5\/plugins/serial/NEC 42MP3 Serial.lua:40: in function <...romixis\Girder5\/plugins/serial/NEC 42MP3 Serial.lua:32>
(tail call): ?
...gram Files\Promixis\Girder5\/plugins/serial/init.lua:1654: in function `DeviceInitialize'
...gram Files\Promixis\Girder5\/plugins/serial/init.lua:1515: in function <...gram Files\Promixis\Girder5\/plugins/serial/init.lua:1511>
x10manager (2): .\scripts\x10.lua:271: attempt to index field `Providers' (a nil value)
Welcome to Promixis Girder 5.0.0 build 523

Rob H
January 1st, 2008, 09:08 AM
Okay it looks as though you have a problem with the config file for CustomWeather which is throwing everything else off.

Can you try File|Settings|General and select the Configuration files tab. Press "Explore Directory" and delete all the CustomWeather.* files then clear the Lua console, reset Girder and post any errors.

jonrigg68
January 1st, 2008, 09:38 AM
I dont have any customweather.* files! could they called something else or stored somewhere else?

Rob H
January 1st, 2008, 09:59 AM
None at all?

That's weird, I wonder why it's complaining about CustomWeather then. If the files don't exist then it should just return cleanly.

Can you try this version of girconfig.lua (goes in the girder5 luascript folder)

jonrigg68
January 1st, 2008, 10:10 AM
A quick trial seems that has fixed it. ANy ideas what caused this? I dont use weather at all and had never enabled any weather.

See new log! still seems to have errors in it!

ScriptReset Start
Component Manager Shutdown Time 422.95934259801
ScriptReset Done Calling ScriptReset Callbacks, Time: 537.35628410871
Loaded LGTV Class
Loaded LGTV component
NEC Data: 0
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:169: module `DeviceManager.Providers.NEC42MP3' not found
[C]: in function `error'
Locals
name : DeviceManager.Providers.NEC42MP3
loaders : table: 080D2208
Upvalues
type : function: 0193E208
format : function: 07F57008
assert : function: 0193E220
error : function: 0193E0D0
ipairs : function: 0193E178
C:\Program Files\Promixis\Girder5\\luascript\compat-5.1.lua:169 in function <C:\Program Files\Promixis\Girder5\\luascript\compat-5.1.lua:160>
Locals
modname : DeviceManager.Providers.NEC42MP3
Upvalues
type : function: 0193E208
pairs : function: 0193E190
_LOADED : table: 0193EC00
assert : function: 0193E220
_LOADERS : table: 080D2208
sentinel : function: 080D2238
format : function: 07F57008
error : function: 0193E0D0
load : function: 08079518
C:\Program Files\Promixis\Girder5\\luascript\compat-5.1.lua:191 in function <C:\Program Files\Promixis\Girder5\\luascript\compat-5.1.lua:178>
(tail call): ?
[C]: in function `xpcall'
Locals
pfunc : function: 0815C1F8
pargs : table: 0807C3E8
arg : table: 0807C3E8
func : function: 08092C80
Upvalues
clearLines : function: 08140520
errorHandler : function: 080CCA38
C:\Program Files\Promixis\Girder5\luascript\DeviceManager/Providers.lua:97 in function <C:\Program Files\Promixis\Girder5\luascript\DeviceManager/Providers.lua:95>
Locals
self : table: 0807B9F8
Upvalues
Super : table: 0809AB10
C:\Program Files\Promixis\Girder5\/plugins/serial/NEC 42MP3 Serial.lua:40 in function <C:\Program Files\Promixis\Girder5\/plugins/serial/NEC 42MP3 Serial.lua:32>
(tail call): ?
Locals
comport : 3
v : table: 0809BFE0
C:\Program Files\Promixis\Girder5\/plugins/serial/init.lua:1654 in function <C:\Program Files\Promixis\Girder5\/plugins/serial/init.lua:1650>
Locals
comport : 3
(for state) : table: 0809BF20
_ : table: 0809BFE0
(for generator) : function: 0193E178
start : 770.57084070741
C:\Program Files\Promixis\Girder5\/plugins/serial/init.lua:1515 in function <C:\Program Files\Promixis\Girder5\/plugins/serial/init.lua:1511>
Provider NEC42MP3 didn't load because
...ram Files\Promixis\Girder5\\luascript\compat-5.1.lua:169: module `DeviceManager.Providers.NEC42MP3' not found
[C]: in function `error'
Locals
name : DeviceManager.Providers.NEC42MP3
loaders : table: 080D2208
Upvalues
type : function: 0193E208
format : function: 07F57008
assert : function: 0193E220
error : function: 0193E0D0
ipairs : function: 0193E178
C:\Program Files\Promixis\Girder5\\luascript\compat-5.1.lua:169 in function <C:\Program Files\Promixis\Girder5\\luascript\compat-5.1.lua:160>
Locals
modname : DeviceManager.Providers.NEC42MP3
Upvalues
type : function: 0193E208
pairs : function: 0193E190
_LOADED : table: 0193EC00
assert : function: 0193E220
_LOADERS : table: 080D2208
sentinel : function: 080D2238
format : function: 07F57008
error : function: 0193E0D0
load : function: 08079518
C:\Program Files\Promixis\Girder5\\luascript\compat-5.1.lua:191 in function <C:\Program Files\Promixis\Girder5\\luascript\compat-5.1.lua:178>
(tail call): ?
[C]: in function `xpcall'
Locals
pfunc : function: 0815C1F8
pargs : table: 0807C3E8
arg : table: 0807C3E8
func : function: 08092C80
Upvalues
clearLines : function: 08140520
errorHandler : function: 080CCA38
C:\Program Files\Promixis\Girder5\luascript\DeviceManager/Providers.lua:97 in function <C:\Program Files\Promixis\Girder5\luascript\DeviceManager/Providers.lua:95>
Locals
self : table: 0807B9F8
Upvalues
Super : table: 0809AB10
C:\Program Files\Promixis\Girder5\/plugins/serial/NEC 42MP3 Serial.lua:40 in function <C:\Program Files\Promixis\Girder5\/plugins/serial/NEC 42MP3 Serial.lua:32>
(tail call): ?
Locals
comport : 3
v : table: 0809BFE0
C:\Program Files\Promixis\Girder5\/plugins/serial/init.lua:1654 in function <C:\Program Files\Promixis\Girder5\/plugins/serial/init.lua:1650>
Locals
comport : 3
(for state) : table: 0809BF20
_ : table: 0809BFE0
(for generator) : function: 0193E178
start : 770.57084070741
C:\Program Files\Promixis\Girder5\/plugins/serial/init.lua:1515 in function <C:\Program Files\Promixis\Girder5\/plugins/serial/init.lua:1511>
Welcome to Promixis Girder 5.0.0 build 523

Rob H
January 1st, 2008, 10:20 AM
I'm still not entirely clear why it was doing that - I've effectively applied a bandaid that just ensures that if it does attempt to load a bad config file then it won't prevent DeviceManager from loading successfully.

Presumably you've installed and enabled a serial plugin called NEC 42MP3 Serial.lua - as far as I can tell this isn't included with Girder 5 - there should be a corresponding provider file which should be installed in luascript\DeviceManager\Providers.

jonrigg68
January 1st, 2008, 10:30 AM
thanks... the nec serial plugin is for my plasma it was a script I found some months ago and it works. the provider you refer to will this cause issues without it? as I am not sure where I would find the original post that had this included? alternatively how could I write it myself (what does it do?)

p.s is this what all the errors on the console log I sent were?

Rob H
January 1st, 2008, 10:45 AM
If you take a look at line 40 in the serial plugin you should see where it is trying to start the provider - if you comment that line out then that should stop the errors.

jonrigg68
January 1st, 2008, 11:14 AM
thanks.. excuse the stupid but how do I "comment out"?

quixote
January 1st, 2008, 11:29 PM
Just put two hyphens in front of the line:

--here is the rest of the line