openhab / openhab-pebble

Pebble client for openHAB
Apache License 2.0
11 stars 20 forks source link

The app stuck at openhab logo #39

Open phuonglm opened 7 years ago

phuonglm commented 7 years ago

When i open app on watch. App stuck at it's logo. here is the log.

12-27 16:40:22.890 19731 19731 I chromium: Warning: `fullscreen` has been deprecated by `status` which allows settings
12-27 16:40:22.890 19731 19731 I chromium:          its color and separator in a similar manner to the `action` property.
12-27 16:40:22.890 19731 19731 I chromium:          Remove usages of `fullscreen` to enable usage of `status`.
12-27 16:40:22.890 19731 19731 I chromium:     at Object.loader (splashwindow.js:19:32)
12-27 16:40:22.890 19731 19731 I chromium:     at Object.loader.require (loader.js:44:10)
12-27 16:40:22.890 19731 19731 I chromium:     at require (loader.js:41:48)
12-27 16:40:22.890 19731 19731 I chromium:     at Object.loader (windowmgr.js:17:20)
12-27 16:40:22.890 19731 19731 I chromium:     at Object.loader.require (loader.js:44:10)
12-27 16:40:22.890 19731 19731 I chromium:     at require (loader.js:41:48)
12-27 16:40:22.890 19731 19731 I chromium:     at Object.loader (app.js:17:17)", source: file:///data/user/0/com.getpebble.android.basalt/app_js_app_files/73ad05b2-2f62-4f57-934a-0f820530f401/pebble-js-app.js (1806)
12-27 16:40:22.984 19731 19731 I chromium: [INFO:CONSOLE(1806)] "JavaScript Error:
12-27 16:40:22.984 19731 19731 I chromium: RangeError: Unsupported time zone specified undefined
12-27 16:40:22.984 19731 19731 I chromium:     at new DateTimeFormat (native)
12-27 16:40:22.984 19731 19731 I chromium:     at Date.toLocaleString (native)
12-27 16:40:22.984 19731 19731 I chromium:     at Object.exports.now (util.js:24:21)
12-27 16:40:22.984 19731 19731 I chromium:     at Object.exports.log (util.js:35:23)
12-27 16:40:22.984 19731 19731 I chromium:     at Object.loader (app.js:22:6)
12-27 16:40:22.984 19731 19731 I chromium:     at Object.loader.require (loader.js:44:10)
12-27 16:40:22.984 19731 19731 I chromium:     at require (loader.js:41:48)
12-27 16:40:22.984 19731 19731 I chromium:     at Array.<anonymous> (main.js:41:3)
12-27 16:40:22.984 19731 19731 I chromium:     at Object.dispatchEvent (webview_startup.js:143:50)", source: file:///data/user/0/com.getpebble.android.basalt/app_js_app_files/73ad05b2-2f62-4f57-934a-0f820530f401/pebble-js-app.js (1806)

https://github.com/openhab/openhab.pebble/blob/master/src/util.js#L24

Not sure why this line give error.