Can not load modules.json from userModules
Posted: 04 Mar 2015 16:41
I am in the process of adapting my experimental weather module for multilingual texts. I closely modeled it after the latest OpenWeather example. I do get the following error message in the log:
Notification: error (core): Can not load modules.json from userModules/Wunderground/module.json: SyntaxError: Unexpected token }
More log
I have looked at the code of both OpenWeather and my Wunderground side by side several times, but fail to spot the differences that would explain my problem. JS code passed online Lint test. So far I have only prepared the language/en.json file.
Notification: error (core): Can not load modules.json from userModules/Wunderground/module.json: SyntaxError: Unexpected token }
More log
Code: Select all
[2015-03-04 14:22:39.589] [I] [core] Executing script: /*** Main Automation webserver module ***************************************** ...
[2015-03-04 14:22:39.591] [I] [core] Executing script: // Make this testable by pulling in underscore from the parent module ...
[2015-03-04 14:22:39.595] [I] [core] Executing script: /*** Main Automation storage module ***************************************** ...
[2015-03-04 14:22:39.608] [I] [core] --- Loading ZAutomation classes
[2015-03-04 14:22:39.684] [I] [core] Notification: error (core): Can not load modules.json from userModules/Wunderground/module.json: SyntaxError: Unexpected token }
[2015-03-04 14:22:39.710] [I] [core] SyntaxError: Unexpected token }
at AutomationController.loadModuleFromFolder (automation/classes/AutomationController.js:225:29)
at automation/classes/AutomationController.js:196:14
at Array.forEach (native)
at AutomationController.loadModules (automation/classes/AutomationController.js:195:37)
at AutomationController.init (automation/classes/AutomationController.js:69:10)
at automation/main.js:304:16
[2015-03-04 14:22:39.712] [I] [core] Starting ZWay Automation webserver
[2015-03-04 14:22:39.718] [I] [core] Loading modules...
[2015-03-04 14:22:39.724] [I] [core] Loading module SensorValueLogging from modules/SensorValueLogging
[2015-03-04 14:22:39.726] [I] [core] Executing script: /*** SensorValueLogging Z-Way Home Automation module ************************************* ...
[2015-03-04 14:22:39.729] [I] [core] Loading module OpenRemoteHelpers from modules/OpenRemoteHelpers
[2015-03-04 14:22:39.731] [I] [core] Executing script: /* RaZOR ...