schmic / ac-monitor

Assetto Corsa Server Control & Real-Time Monitoring
Other
12 stars 2 forks source link

Error: Configuration property "vr.racedb.url" is not defined #7

Closed xavicampa closed 9 years ago

xavicampa commented 9 years ago

Hi!

This happens when trying to autostart a preset:

ac-monitor-master\node_modules\config\lib\config.js:177 throw new Error('Configuration property "' + property + '" is not defined' ^ Error: Configuration property "vr.racedb.url" is not defined at Config.get (C:\Users\javi\Desktop\ac-monitor-master\node_modules\config\l ib\config.js:177:11) at Object. (C:\Users\javi\Desktop\ac-monitor-master\node_modules\ ac-server-ctrl\libs\plugins\vr-racedb-laptimes.js:2:30) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at C:\Users\javi\Desktop\ac-monitor-master\node_modules\ac-server-ctrl\libs\ server-plugins.js:6:9 at Array.forEach (native)

Do you need any other extra information? Cheers.

schmic commented 9 years ago

That's a plugin/extension to be used within our community I'm developing that app for.

There's a check missing for the property, it should not be "blindly" used. Will fix that ASAP.

xavicampa commented 9 years ago

Thanks! I also noticed that the server overview shows a hard-coded player, no matter if the server is empty or not. Is it related to this or shall I create a different issue?

schmic commented 9 years ago

@xavicampa the timing overview is currently static, only session and remaining time get updated. That's a know "issue" and the next thing I'll work on.