I'm using the git master version of congruity. I'm running Linux Mint 18.1.
I'm using mhgui with a Harmony 350.
I'm having trouble with both the 'Sync Remote' and 'Download Config'.
If I press either button an exception is raised. The error log is:
DEBUG:suds.transport.http:sending:
URL: https://svcs.myharmony.com/SyncPlatform/CompileManager.svc
HEADERS: {'SOAPAction': '"http://tempuri.org/ICompileManager/StartCompileWithLocale"', 'Content-Type': 'text/xml; charset=utf-8', 'Content-type': 'text/xml; charset=utf-8', 'Soapaction': '"http://tempuri.org/ICompileManager/StartCompileWithLocale"'}
MESSAGE:
<soap-env:envelope xmlns:ns3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://tempuri.org/" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns2="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns4="http://schemas.datacontract.org/2004/07/Logitech.Harmony.Services.Common.Contracts.Data" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" soap-env:encodingstyle="http://schemas.xmlsoap.org/soap/encoding/"><ns1:body><startcompilewithlocale xmlns="http://tempuri.org/"><remoteid><ns4:ispersisted>true</ns4:ispersisted><ns4:value xsi:type="ns2:long">10342373</ns4:value></remoteid><localeid>Not Implemented</localeid></startcompilewithlocale></ns1:body></soap-env:envelope>
DEBUG:suds.transport.http:received:
CODE: 200
HEADERS: {'content-length': '318', 'x-aspnet-version': '4.0.30319', 'x-powered-by': 'ASP.NET', 'server': 'nginx/1.2.4', 'connection': 'close', 'cache-control': 'private', 'date': 'Wed, 29 Mar 2017 12:32:36 GMT', 'content-type': 'text/xml; charset=utf-8'}
MESSAGE:
<s:envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:body><s:fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">1165</faultstring><detail><guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">bc07a84b-91b5-4f2f-837e-159f19b0307f</guid></detail></s:fault></s:body></s:envelope>
WARNING:suds.client:Web service reported a SOAP processing fault using an unexpected HTTP status code 200. Reporting as an internal server error.
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(self.__args, self.__kwargs)
File "./mhgui", line 140, in ThreadFunction
result = self.backgroundFunction(self.backgroundFunctionArgs)
File "/home/mint/Downloads/harmony/congruity-code/mhmanager.py", line 389, in GetConfig
remoteId, "Not Implemented")
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 566, in __call
return client.invoke(args, kwargs)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 705, in invoke
result = self.send(soapenv)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 753, in send
return self.process_reply(reply.message, None, None)
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 814, in process_reply
raise WebFault(fault, replyroot)
WebFault: Server raised fault: '1165'
Any help would be appreciated.
Thanks
<soap-env:header></soap-env:header>
I can get the 'Download Config' and 'Sync Remote' working again by deleted the remote and then re-adding it.
However, it seems to be easily corrupted. e.g. I modified some of the commands with 'Configure Device' and that re-corrupted the remote so I couldn't download the config. Quite frustrating because you're never sure when it will corrupt.
Additionally, when I go to delete the remote I get the following exception, but the remote does delete once I relaunch mhgui:
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(self.__args, self.__kwargs)
File "./mhgui", line 140, in ThreadFunction
result = self.backgroundFunction(self.backgroundFunctionArgs)
File "./mhgui", line 390, in DeleteRemote
self.LoadData()
File "./mhgui", line 376, in LoadData
self.remotes = mhMgr.GetRemotes()
File "/home/mint/Downloads/harmony/congruity-code/mhmanager.py", line 227, in GetRemotes
for account in self.household.Accounts.Account:
AttributeError: 'Text' object has no attribute 'Account'
Yes, I have noticed the download config problem before. I always thought it was because I had made so many changes to my account over the years for testing. I'll try to figure out the problem.
In the meantime, if you can figure out an exact sequence of steps that causes a config corruption, that would be helpful. You can always create another account just for testing purposes.
Thanks. I'll try. Although, typically, I can't get it to corrupt today...
I did at least fix the problem with Delete Remote hitting an exception.
Thanks. WIll keep trying to corrupt.