more G-Labs products

Author Topic: TESTING RELEASE  (Read 196297 times)

September 10, 2015, 12:23:06 PM
Reply #570

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
System programs cannot be replaced, otherwise you would loose updates when these are changed.
What you can do is create and use a copy of it and disable the system program. So you can have your own copy of the program running.

g.

September 10, 2015, 12:23:43 PM
Reply #571

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
btw... update the code from github... I just pushed some updates.

g.

September 10, 2015, 03:14:35 PM
Reply #572

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
The 493-p4 version work fine in visual studio 2015 (windows 10)
1. Build/clean solution
2. Build/build solution
then start debug...HG works fine. No error.

But with new 494 version with this steps HG start too, but in HG settings menu empty.

In log, HG cant find them, and HG start has errors.

Quote
2015-09-10 15:05:54.9782 Debug Stopping MigService
2015-09-10 15:05:54.9962 Debug Stopped MigService
2015-09-10 15:05:55.2242 Debug Adding Gateway WebServiceGateway
2015-09-10 15:05:55.2242 Debug Setting Gateway options
2015-09-10 15:05:55.2242 Debug WebServiceGateway: BaseUrl=/hg/html
2015-09-10 15:05:55.2302 Debug WebServiceGateway: HomePath=html
2015-09-10 15:05:55.2302 Debug WebServiceGateway: Host=*
2015-09-10 15:05:55.2302 Debug WebServiceGateway: Port=80
2015-09-10 15:05:55.2302 Debug WebServiceGateway: Username=admin
2015-09-10 15:05:55.2302 Debug WebServiceGateway: Password=
2015-09-10 15:05:55.2302 Debug WebServiceGateway: HttpCacheIgnore.1=^.*\/pages\/control\/widgets\/.*\.(js|html)$
2015-09-10 15:05:55.2302 Debug WebServiceGateway: HttpCacheIgnore.2=^.*\/html\/index.html
2015-09-10 15:05:55.2302 Debug WebServiceGateway: UrlAlias.1=api/HomeAutomation.HomeGenie/Logging/RealTime.EventStream:events
2015-09-10 15:05:55.2302 Debug WebServiceGateway: EnableFileCaching=false
2015-09-10 15:05:55.2302 Error System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at MIG.MigService.TypeLookup(String typeName, String assemblyName)
   at MIG.MigService.AddInterface(String domain, String assemblyName)
2015-09-10 15:05:55.2302 Error System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at MIG.MigService.TypeLookup(String typeName, String assemblyName)
   at MIG.MigService.AddInterface(String domain, String assemblyName)
2015-09-10 15:05:55.2492 Error System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at MIG.MigService.TypeLookup(String typeName, String assemblyName)
   at MIG.MigService.AddInterface(String domain, String assemblyName)
2015-09-10 15:05:55.2632 Error System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at MIG.MigService.TypeLookup(String typeName, String assemblyName)
   at MIG.MigService.AddInterface(String domain, String assemblyName)
2015-09-10 15:05:55.2632 Error System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at MIG.MigService.TypeLookup(String typeName, String assemblyName)
   at MIG.MigService.AddInterface(String domain, String assemblyName)
2015-09-10 15:05:55.2882 Error System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at MIG.MigService.TypeLookup(String typeName, String assemblyName)
   at MIG.MigService.AddInterface(String domain, String assemblyName)
2015-09-10 15:05:55.3012 Error System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName)
   at MIG.MigService.TypeLookup(String typeName, String assemblyName)
   at MIG.MigService.AddInterface(String domain, String assemblyName)
2015-09-10 15:05:57.7093 Info HomeAutomation.HomeGenie.Automation       6       Automation Program  Program.Status
Idle
2015-09-10 15:05:57.7223 Info HomeAutomation.HomeGenie.Automation       7       Automation Program  Program.Status
Idle
2015-09-10 15:05:57.7483 Info HomeAutomation.HomeGenie.Automation       16      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.7483 Info HomeAutomation.HomeGenie.Automation       26      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.7723 Info HomeAutomation.HomeGenie.Automation       34      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.7993 Info HomeAutomation.HomeGenie.Automation       35      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.8183 Info HomeAutomation.HomeGenie.Automation       37      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.8433 Info HomeAutomation.HomeGenie.Automation       70      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.8803 Info HomeAutomation.HomeGenie.Automation       72      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.8803 Info HomeAutomation.HomeGenie.Automation       73      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.9083 Info HomeAutomation.HomeGenie.Automation       74      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.9263 Info HomeAutomation.HomeGenie.Automation       75      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.9263 Info HomeAutomation.HomeGenie.Automation       82      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.9373 Info HomeAutomation.HomeGenie.Automation       84      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.9583 Info HomeAutomation.HomeGenie.Automation       90      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.9583 Info HomeAutomation.HomeGenie.Automation       91      Automation Program  Program.Status
Idle
2015-09-10 15:05:57.9683 Info HomeAutomation.HomeGenie.Automation       112     Automation Program  Program.Status
Idle
2015-09-10 15:05:57.9893 Info HomeAutomation.HomeGenie.Automation       142     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.0114 Info HomeAutomation.HomeGenie.Automation       144     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.0114 Info HomeAutomation.HomeGenie.Automation       154     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.0114 Info HomeAutomation.HomeGenie.Automation       180     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.0114 Info HomeAutomation.HomeGenie.Automation       200     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.0453 Info HomeAutomation.HomeGenie.Automation       81      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.0453 Info HomeAutomation.HomeGenie.Automation       93      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.0703 Info HomeAutomation.HomeGenie.Automation       76      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.0923 Info HomeAutomation.HomeGenie.Automation       145     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.1173 Info HomeAutomation.HomeGenie.Automation       100     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.1363 Info HomeAutomation.HomeGenie.Automation       201     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.3727 Info HomeAutomation.HomeGenie.Automation       77      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.3948 Info HomeAutomation.HomeGenie.Automation       8       Automation Program  Program.Status
Idle
2015-09-10 15:05:58.4538 Info HomeAutomation.HomeGenie.Automation       62      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.4747 Info HomeAutomation.HomeGenie.Automation       38      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.5137 Info HomeAutomation.HomeGenie.Automation       133     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.5137 Info HomeAutomation.HomeGenie.Automation       63      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.5477 Info HomeAutomation.HomeGenie.Automation       28      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.5928 Info HomeAutomation.HomeGenie.Automation       150     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.8427 Info HomeAutomation.HomeGenie.Automation       41      Automation Program  Program.Status
Idle
2015-09-10 15:05:58.8627 Info HomeAutomation.HomeGenie.Automation       505     Automation Program  Program.Status
Idle
2015-09-10 15:05:58.9467 Debug Starting Gateway WebServiceGateway
2015-09-10 15:05:58.9587 Debug Interface not found HomeAutomation.ZWave
2015-09-10 15:05:58.9587 Debug Interface not found HomeAutomation.Insteon
2015-09-10 15:05:58.9587 Debug Interface not found HomeAutomation.X10
2015-09-10 15:05:58.9587 Debug Interface not found HomeAutomation.W800RF
2015-09-10 15:05:58.9587 Debug Interface not found Controllers.LircRemote
2015-09-10 15:05:58.9587 Debug Interface not found Media.CameraInput
2015-09-10 15:05:58.9657 Debug Interface not found Protocols.UPnP
2015-09-10 15:05:58.9657 Info HomeAutomation.HomeGenie  0       HomeGenie service ready SystemInfo.HttpAddress  *:80
2015-09-10 15:05:59.7458 Info HomeAutomation.HomeGenie.Automation       6       Automation Program  Program.Status
Setup
2015-09-10 15:05:59.7458 Info HomeAutomation.HomeGenie.Automation       7       Automation Program  Program.Status
Setup
2015-09-10 15:05:59.7458 Info HomeAutomation.HomeGenie.Automation       84      Automation Program  Program.Status
Setup
2015-09-10 15:05:59.7308 Error System.Runtime.Serialization.SerializationException: Type 'System.DelegateSerializationHolder+DelegateEntry' with data contract name 'DelegateSerializationHolder.DelegateEntry:http://schemas.datacontract.org/2004/07/System' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteSerializationInfo(XmlWriterDelegator xmlWriter, Type objType, SerializationInfo serInfo)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteISerializable(XmlWriterDelegator xmlWriter, ISerializable obj)
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteSystemConfigurationToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(XmlDictionaryWriter writer, Object graph)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObject(Stream stream, Object graph)
   at HomeGenie.Service.Extensions.DeepClone[T](T a) in C:\Users\kaze\Downloads\HomeGenie-master494\HomeGenie\Service\Utility.cs:line 50
   at HomeGenie.Data.SystemConfiguration.Update() in C:\Users\kaze\Downloads\HomeGenie-master494\HomeGenie\Data\SystemConfiguration.cs:line 63
2015-09-10 15:05:59.7708 Info HomeAutomation.HomeGenie.Automation       6       Automation Program  Program.Status
Idle
2015-09-10 15:05:59.7708 Info HomeAutomation.HomeGenie.Automation       7       Automation Program  Program.Status
Idle
2015-09-10 15:05:59.7768 Info HomeAutomation.HomeGenie.Automation       26      Automation Program  Program.Status
Setup
2015-09-10 15:05:59.7768 Info HomeAutomation.HomeGenie.Automation       16      Automation Program  Program.Status
Setup
2015-09-10 15:05:59.7768 Info HomeAutomation.HomeGenie.Automation       84      Automation Program  Program.Status
Idle
2015-09-10 15:05:59.7768 Info HomeAutomation.HomeGenie.Automation       34      Automation Program  Program.Status
Setup
2015-09-10 15:05:59.8048 Info HomeAutomation.HomeGenie.Automation       35      Automation Program  Program.Status
Setup
2015-09-10 15:05:59.8238 Info HomeAutomation.HomeGenie.Automation       16      Automation Program  Program.Status
Idle
2015-09-10 15:05:59.8238 Info HomeAutomation.HomeGenie.Automation       16      Automation Program  Program.Status
Running
2015-09-10 15:05:59.8238 Info HomeAutomation.HomeGenie.Automation       26      Automation Program  Program.Status
Idle
2015-09-10 15:05:59.8238 Info HomeAutomation.HomeGenie.Automation       26      Automation Program  Program.Status
Running
2015-09-10 15:05:59.8238 Info HomeAutomation.HomeGenie.Automation       84      Automation Program  Program.Status
Running
2015-09-10 15:05:59.8438 Info HomeAutomation.HomeGenie.Automation       34      Automation Program  Program.Status
Idle
2015-09-10 15:05:59.8438 Info HomeAutomation.HomeGenie.Automation       34      Automation Program  Program.Status
Running
2015-09-10 15:05:59.8438 Info HomeAutomation.HomeGenie.Automation       35      Automation Program  Program.Status
Idle
2015-09-10 15:05:59.8438 Info HomeAutomation.HomeGenie.Automation       35      Automation Program  Program.Status
Running
2015-09-10 15:05:59.9398 Info HomeAutomation.HomeGenie.Automation       82      Automation Program  Program.Status
Setup
2015-09-10 15:05:59.9398 Info HomeAutomation.HomeGenie.Automation       82      Automation Program  Program.Status
Idle
2015-09-10 15:05:59.9398 Info HomeAutomation.HomeGenie.Automation       82      Automation Program  Program.Status
« Last Edit: September 10, 2015, 03:16:13 PM by KaZe »

September 10, 2015, 10:33:22 PM
Reply #573

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Hi Gene,

Just compile r494 under Linux Monodevelop, after a fresh git pull from Homegene/master . But now HG doesn't want to start. In the folder bin/debug, some interface dll missing, as ZWaveLib.dll XTenLib.dll.

Cheers
Dani

September 10, 2015, 10:40:19 PM
Reply #574

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Hi Gene,

Just compile r494 under Linux Monodevelop, after a fresh git pull from Homegene/master . But now HG doesn't want to start.

Cheers
Dani

I got that error when I start HG, even if i cpy old dll in the folder
daniel@PCDM-2007:~$ cd /usr/local/bin/homegenie
daniel@PCDM-2007:/usr/local/bin/homegenie$ sudo /usr/bin/mono HomeGenie.exe
[sudo] password for daniel:
2015-09-10 22:34:50.0448 Debug Stopping MigService
2015-09-10 22:34:50.0544 Debug Stopped MigService
2015-09-10 22:34:50.1500 Debug Adding Gateway WebServiceGateway
2015-09-10 22:34:50.1511 Debug Setting Gateway options
2015-09-10 22:34:50.1516 Debug WebServiceGateway: BaseUrl=/hg/html
2015-09-10 22:34:50.1525 Debug WebServiceGateway: HomePath=html
2015-09-10 22:34:50.1525 Debug WebServiceGateway: Host=*
2015-09-10 22:34:50.1525 Debug WebServiceGateway: Port=80
2015-09-10 22:34:50.1525 Debug WebServiceGateway: Username=admin
2015-09-10 22:34:50.1525 Debug WebServiceGateway: Password=
2015-09-10 22:34:50.1525 Debug WebServiceGateway: HttpCacheIgnore.1=^.*\/pages\/control\/widgets\/.*\.(js|html)$
2015-09-10 22:34:50.1525 Debug WebServiceGateway: HttpCacheIgnore.2=^.*\/html\/index.html
2015-09-10 22:34:50.1525 Debug WebServiceGateway: UrlAlias.1=api/HomeAutomation.HomeGenie/Logging/RealTime.EventStream:events
2015-09-10 22:34:50.1532 Debug WebServiceGateway: EnableFileCaching=false
2015-09-10 22:34:50.1603 Debug Adding Interface HomeAutomation.ZWave
2015-09-10 22:34:50.1613 Debug Setting Interface options
2015-09-10 22:34:50.1613 Trace HomeAutomation.ZWave: Port=
2015-09-10 22:34:50.1629 Debug Adding Interface HomeAutomation.Insteon
2015-09-10 22:34:50.1632 Debug Setting Interface options
2015-09-10 22:34:50.1632 Trace HomeAutomation.Insteon: Port=
2015-09-10 22:34:50.1632 Trace HomeAutomation.Insteon: HouseCodes=
2015-09-10 22:34:50.1740 Debug Adding Interface HomeAutomation.X10
2015-09-10 22:34:50.1744 Debug Setting Interface options
2015-09-10 22:34:50.1772 Trace HomeAutomation.X10: Port=
2015-09-10 22:34:50.1772 Trace HomeAutomation.X10: HouseCodes=A
TypeRef ResolutionScope not yet handled (7) for .X10CommandReceivedEventHandler in image /usr/local/bin/homegenie/lib/mig/MIG.HomeAutomation.dll
* Assertion at class.c:5753, condition `!mono_loader_get_last_error ()' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) <0xffffffff>
* Assertion at class.c:5753, condition `!mono_loader_get_last_error ()' not met

daniel@PCDM-2007:/usr/local/bin/homegenie$
« Last Edit: September 10, 2015, 10:56:43 PM by dani »

September 11, 2015, 01:24:24 AM
Reply #575

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
@Kaze, this was not yet tested under VS/Windows. Anyway I fixed the issues in Windows. I'm using VS2013, so can't tell about 2015.

@dani, dunno what this can be, perhaps it depends on mono runtime you're using.

g.


September 11, 2015, 07:24:04 AM
Reply #576

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
All right Gene. Thanks.
 I can help Windows / VS2015 testing if you need it.

September 11, 2015, 07:47:55 AM
Reply #577

KaZe

  • ****
  • Information
  • Sr. Member
  • Posts: 219
The new windows version works for me. It has only 1 error at startup.

Quote
2015-09-11 07:43:52.1064 Debug Adding Interface Controllers.LircRemote
2015-09-11 07:43:52.1220 Debug Setting Interface options
2015-09-11 07:43:52.1220 Error System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at MIG.MigService.ShellCommand(String command, String args)
2015-09-11 07:43:52.1377 Debug Adding Interface Media.CameraInput
2015-09-11 07:43:52.1377 Debug Setting Interface options

September 11, 2015, 07:49:16 AM
Reply #578

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
yes KaZe, any help is very appreciated :)

September 11, 2015, 07:53:50 AM
Reply #579

Gene

  • *****
  • Information
  • Administrator
  • Posts: 1472
  • Tangible is the future!
    • Yet Another Programmer
Quote
2015-09-11 07:43:52.1064 Debug Adding Interface Controllers.LircRemote
2015-09-11 07:43:52.1220 Debug Setting Interface options
2015-09-11 07:43:52.1220 Error System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at MIG.MigService.ShellCommand(String command, String args)

this is expected as the lirc driver is looking for some shell commands that do not exist in Windows. In the future I was thinking of adding a "SupportedPlatform" field to MigInterface, so to avoid loading of plugins that cannot work on some platforms.

g.


September 11, 2015, 05:09:53 PM
Reply #580

emerich

  • ***
  • Information
  • Full Member
  • Posts: 73
Hi All,

can someone give me an advice how to build this releases on a Raspberry Pi?

Would like to do some testing with x10 and zwave devices!

Thanks for help. :)

September 11, 2015, 07:58:51 PM
Reply #581

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Hi emerich,

I had the same question, too. (See Help Forum)

I now compile it on windows and copy the debug folder into the homegenie folder on the raspberry, that works. I was not successful with monodevelop on the raspberry itself.

regards
Jens

September 11, 2015, 10:55:08 PM
Reply #582

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
The compiled code is the same for RPi and Windows AFAIK (that's the point of mono to have a single complied code base run on multiple platforms).  If you compile on Windows, you just need to copy it to the RPi and it should work.

September 12, 2015, 09:49:40 AM
Reply #583

emerich

  • ***
  • Information
  • Full Member
  • Posts: 73
Thanks for help! :)

September 12, 2015, 02:19:51 PM
Reply #584

Gene

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

did you solve your issue with hg?
Try deleting/renaming the NLog.config file.

g.