more G-Labs products

Author Topic: TESTING RELEASE  (Read 196272 times)

December 23, 2015, 09:54:29 PM
Reply #750

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
oh-oh it was supposed to be export...

g.

December 23, 2015, 09:57:09 PM
Reply #751

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
In English it's "Save" now.

December 23, 2015, 10:25:27 PM
Reply #752

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
I see, this means that the localization file is not loaded... the error is in the html, but localization should have changed that label to 'Export' anyway. So we should find out why localization is not working for you. Do you see any JavaScript error in the dev tools console?
What is the detected language here?
http://www.localeplanet.com/support/browser.html

This is the entry in the localization file:
https://github.com/genielabs/HomeGenie/blob/2714bbbe070299d88bcdbdf26efc25f5faf3a799/BaseFiles/Common/html/locales/en.json#L134

g.
« Last Edit: December 23, 2015, 10:28:30 PM by Gene »

December 23, 2015, 10:31:33 PM
Reply #753

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
I see, this means that the localization file is not loaded... the error is in the html, but localization should have changed that label to 'Export' anyway. So we should find out why localization is not working for you. Do you see any JavaScript error in the dev tools console?
What is the detected language here?
http://www.localeplanet.com/support/browser.html

g.


The link resoult:
Quote
Your Browser Information
JavaScript Information
navigator.browserLanguage: undefined
navigator.language: hu
navigator.userAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
date: Wed Dec 23 2015 22:27:53 GMT+0100 (Central Europe Standard Time)
date.toLocaleDateString(): 2015. 12. 23.
date.toLocaleTimeString(): 22:27:53
date.toLocaleString(): 2015. 12. 23. 22:27:53
date.toUTCString(): Wed, 23 Dec 2015 21:27:53 GMT
date.getTimezoneOffset(): -60
Java request Object
request.getLocale(): hu_HU.

request.getLocales(): hu_HU, hu, en_US, en.

Raw Headers
Note: these are not that raw: they get cooked a bit by Google AppEngine, but probably not in ways that affect the locale information.

Host: www.localeplanet.com
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Upgrade-Insecure-Requests: 1
Referer: http://www.homegenie.it/forum/index.php?topic=129.750
Accept-Language: hu-HU,hu;q=0.8,en-US;q=0.6,en;q=0.4
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
X-Zoo: app-id=fflocale,domain=localeplanet.com
X-Google-Apps-Metadata: domain=localeplanet.com
X-AppEngine-Country: HU
X-AppEngine-Region: va
X-AppEngine-City: szombathely
X-AppEngine-CityLatLong: 47.230685,16.621844
X-AppEngine-Default-Namespace: localeplanet.com
LocalePlanet Settings
Locale: hu_HU

Locale code: hu-HU

Cookie: (Nincs megadva)


In dev tool, HG looking for 'HU' language.

December 23, 2015, 10:32:34 PM
Reply #754

skl77

  • *
  • Information
  • Newbie
  • Posts: 12
So now i got my first answer that bananapi and Z Stick S2 should running, so could please someone send me the detailed configuration? Which OS or Image do you use? I am totally worried because my configuration doesn't work, same on Windows OS is running !

BR
Sebastian

December 23, 2015, 10:56:16 PM
Reply #755

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Thanks Kaze for the infos.
I found out the bug in the localization. It was not falling back to default locale (english) when current locale was not found (eg. HU or any other locale that is not present in the html/locales folder).
I'm attacching the fix for you to test. It has to be copied in the html/js/api folder.
Why not translating HG to hungarian? :) It's not complicated to do.

Cheers,
g.
« Last Edit: December 23, 2015, 11:01:44 PM by Gene »

December 23, 2015, 11:14:01 PM
Reply #756

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
Thanks Kaze for the infos.
I found out the bug in the localization. It was not falling back to default locale (english) when current locale was not found (eg. HU or any other locale that is not present in the html/locales folder).
I'm attacching the fix for you to test. It has to be copied in the html/js/api folder.
Why not translating HG to hungarian? :) It's not complicated to do.

Cheers,
g.

Thx Gene. The "Save" button change back "Export". ;)

BTW I plan to create a Hungarian translation in the next month. ;) ::)
What is the easiest way to create it?
« Last Edit: December 23, 2015, 11:20:16 PM by KaZe »

December 24, 2015, 01:15:53 AM
Reply #757

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
I am also seeing high cpu with 507 and 508 as soon as HG service is started.  Is there a way to recompile all programs at one time?

December 24, 2015, 01:28:07 AM
Reply #758

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
No Kevin, there's no way to recompile all at once. Before recompiling I would suggest to try disabling one program at time to determine which one is causing the high CPU. I am not 100% sure that this is the issue, but I've seen this reported some time ago and it was solved like this.

Cheers,
g.

December 24, 2015, 06:55:12 AM
Reply #759

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
Quote
try upgrading by doing a fresh install of r508 and then restore your backup. If this is still not working, try recompiling custom automation programs.

Thanks Gene, I'll give it a try this weekend.

December 24, 2015, 03:42:05 PM
Reply #760

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
No Kevin, there's no way to recompile all at once. Before recompiling ...

I recompiled a few and that didn't help so I tried restoring 1 program at a time and that found the culprit. now 508 is running well as far as cpu.

 I'm still zwave noob looking for help getting my new zwave gear working :(

December 24, 2015, 04:16:10 PM
Reply #761

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
508... none of my zwave is working now :-(  can't even get into the setup menus for each device.  tried restarting service still can't :-(

December 26, 2015, 10:12:30 AM
Reply #762

Peter1977

  • *
  • Information
  • Newbie
  • Posts: 24
with 508 my zwave stopped working as well. Had to go back to my previous version to get it working (499 in my case).
gtrz

December 26, 2015, 05:59:18 PM
Reply #763

nolio

  • *****
  • Information
  • Global Moderator
  • Posts: 544
with 508 my zwave stopped working as well. Had to go back to my previous version to get it working (499 in my case).
gtrz
After some days, reboot ? Or immediately ?
My z-wave work fine for now in r508...

December 27, 2015, 10:07:53 AM
Reply #764

mvdarend

  • *****
  • Information
  • Hero Member
  • Posts: 431
Finally managed to upgrade to r508a, a few things I encountered that may help others:

- I had a test program that didn't have a Program.GoBackground() at the end, this caused a massive increase in processor time after upgrading to 508.

Same problem as Peter and Kevin: a clean install of 508 and an import seemed to work well, but I couldn't get my Z-wave to work after this. I tried all available COM ports, Discovery, Heal network but nothing seemed to help. (Upgrading from 506 to 508 didn't cause this problem.)