more G-Labs products

Author Topic: UPDATE GONE WRONG  (Read 2661 times)

November 23, 2015, 09:47:21 PM
Read 2661 times

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
I there...

Today i do a stupid thing :/ i update the homegenie without verified if i have the backup of latest programs i create... and yep... i don't have them!

I do a update with dpkg -i package... and i loose everything... anyway to recover the old settings/programs?

Thanks a lot

November 23, 2015, 11:11:06 PM
Reply #1

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
If you didn't create a backkup or make a copy the HG directory prior to installation, I don't know of any way to restore your files.  When you install from the command line, it overwrites all files.  Ive done this before so I can sympathize.  At this point, I keep a backup for pretty much any change I make to the system.

November 23, 2015, 11:44:11 PM
Reply #2

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
Bad vibes :(

And th latest version appear to have very bugs... at least the program.notify don't show up in the pop up... anything changed?

I have popup appear "HomeGenie Event Stream CONNECTED" and "HomeGenie Event Stream DISCONNECTED"
« Last Edit: November 23, 2015, 11:46:28 PM by codedmind »

November 25, 2015, 08:07:23 PM
Reply #3

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
There is a thread about the notifications.  I thought they were working on mine but can't remember the last time I saw one actually display so maybe they aren't.

I just wrote a test script and it did generate a popup.

November 26, 2015, 09:02:37 AM
Reply #4

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
I wil try it...

However i'm having a lot issues with versions 1.1 503, don't know if is because i'm running it on a rpi, but i always running it and don't have any issue.

Now wunderground isn't updating, i always have a popup about the event strem connect/disconnect don't have another popups etc...

November 26, 2015, 10:13:36 AM
Reply #5

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
you need at least mono 3.2 installed.

g.

November 26, 2015, 10:17:18 AM
Reply #6

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
I have mono 3.2.8, the "default" of raspbian jessie

yesterday i try a repo with mono 4 to try and see if the problem is mono and a loose all the homegenie install again, because mono4 don't have corlib2 (i guess is that) so i return to default mono install

November 26, 2015, 10:27:35 AM
Reply #7

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Yesterday I downloaded latest raspbian wheezy, installed it with HG on my second RPi. The result is HG running with mono 3.2.8 and there's no such issue. Go figure out why.
Which locale have you set?
Type the "locale" command and paste the output here.

Code: [Select]
$ mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. [url=http://www.mono-project.com]www.mono-project.com[/url]
TLS:           __thread
SIGSEGV:       normal
Notifications: epoll
Architecture:  armel,vfp+hard
Disabled:      none
Misc:          softdebug
LLVM:          supported, not enabled.
GC:            sgen
$ locale
LANG=it_IT.UTF-8
LANGUAGE=
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY=it_IT.UTF-8
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_ADDRESS=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_ALL=

it would be also useful if you'd post the HG log. Always useful.....

g.
« Last Edit: November 26, 2015, 10:29:56 AM by Gene »

November 26, 2015, 10:33:28 AM
Reply #8

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
I will put it in a few hours.

But i'm running jessie not wheezy

November 26, 2015, 10:36:26 AM
Reply #9

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
oh-oh... I then suppose that you need a wheezy install. But I wonder why dani (see the TESTING RELEASE thread) that is running jessie, is not having the "disconnected" issue.

g.

November 26, 2015, 02:28:55 PM
Reply #10

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
Code: [Select]
pi@raspberrypi ~ $ mono -V
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. [url=http://www.mono-project.com]www.mono-project.com[/url]
TLS:           __thread
SIGSEGV:       normal
Notifications: epoll
Architecture:  armel,vfp+hard
Disabled:      none
Misc:          softdebug
LLVM:          supported, not enabled.
GC:            sgen
pi@raspberrypi ~ $ locale
LANG=pt_PT.UTF-8
LANGUAGE=
LC_CTYPE="pt_PT.UTF-8"
LC_NUMERIC="pt_PT.UTF-8"
LC_TIME="pt_PT.UTF-8"
LC_COLLATE="pt_PT.UTF-8"
LC_MONETARY="pt_PT.UTF-8"
LC_MESSAGES="pt_PT.UTF-8"
LC_PAPER="pt_PT.UTF-8"
LC_NAME="pt_PT.UTF-8"
LC_ADDRESS="pt_PT.UTF-8"
LC_TELEPHONE="pt_PT.UTF-8"
LC_MEASUREMENT="pt_PT.UTF-8"
LC_IDENTIFICATION="pt_PT.UTF-8"
LC_ALL=
pi@raspberrypi ~ $ uname -a
Linux raspberrypi 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l GNU/Linux
pi@raspberrypi ~ $

other error i'm getting is witg weather modulr

Code: [Select]
2015-11-26 13:32:55.0917 Info HomeAutomation.HomeGenie.Automation 34 Automation Program Program.Notification {"Title":"Weather Underground ERROR!","Message":"Unable to get data from service. `string' does not contain a definition for `moon_phase'"}
« Last Edit: November 26, 2015, 02:35:19 PM by codedmind »

November 26, 2015, 02:42:38 PM
Reply #11

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
hi codemind,

I'm trying to find a work-around for the "connect/disconnect" error that will work on all platforms.
For the weather undergound, that error moslty indicates that the location name is not found by the weather service.
Try to put "auto" as the location.

g.

November 26, 2015, 02:43:54 PM
Reply #12

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
I change to paris, etc and always the same problem, something the result is ok, but the widget don't update itself...

November 26, 2015, 03:07:51 PM
Reply #13

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
I've the fix for the connect/disconnect issue.
You can replace the attached file in the homegenie folder (stop hg, replace file and restart hg), or if you prefer just wait for next hg update (in a couple of days perhaps).

g.

November 26, 2015, 04:17:46 PM
Reply #14

codedmind

  • ***
  • Information
  • Full Member
  • Posts: 92
This file solve the notification problem.
Thanks