Sancho <sancho679@...> writes:
> > Hi Scott, > > your latest changes to mhgui provide almost exact the functionality that I > would like to have for my Harmony 300: I would lie to modify the behaviour > of the "Watch TV" activity (macro) and add a delay of 5 seconds between the > PowerToggle commands sent to the two configured devices. > > Therefore I tried our your changes, building them from a snaphot of the > harmony_link branch. I got quite far with my tests, I even could download > the currently programmed configuration to disk, which was not possible > before using pure concordance. > > But then when I tried to program teh "Watch TV" button I got an exception in > the python-suds package (after msg_six): > > DEBUG (GetIdentity): msg_six > DEBUG (debug_print_packet): ff 07 85 01 01 06 7b 00 00 00 00 00 00 00 00 00 > Traceback (most recent call last): > File "/usr/local/bin/mhgui", line 614, in OnSetupWatchTV > self.resources.page_setup_watch_tv.SetRemote(self.remote) > File "/usr/local/bin/mhgui", line 1502, in SetRemote > self.activity = mhMgr.GetActivity(self.remote.Id, "WatchTV") > File "/usr/local/share/congruity/mhmanager.py", line 542, in GetActivity > activities = self.GetActivities(remoteId) > File "/usr/local/share/congruity/mhmanager.py", line 534, in GetActivities > result = self.client.service['UserAccountDirector'].SimpleGetActivities( > File "/usr/lib/python2.7/dist-packages/suds/client.py", line 403, in > __getattr__ > return getattr(m, name) > File "/usr/lib/python2.7/dist-packages/suds/client.py", line 494, in > __getattr__ > return self[name] > File "/usr/lib/python2.7/dist-packages/suds/client.py", line 507, in > __getitem__ > raise MethodNotFound, qn > suds.MethodNotFound: Method not found: > 'UserAccountDirector.UserAccountDirectorPortType.SimpleGetActivities' > > Do you have an idea what could be wrong? > > Regards, > Sancho > > I just noticed that I forgot to call mhgui with the "--use-local-wsdl" option in my last test. Therefor I retried and got a different exception this time: > mhgui --use-local-wsdl No handlers could be found for logger "suds.umx.typed" Traceback (most recent call last): File "/usr/local/bin/mhgui", line 614, in OnSetupWatchTV self.resources.page_setup_watch_tv.SetRemote(self.remote) File "/usr/local/bin/mhgui", line 1516, in SetRemote inputNames = mhMgr.GetDeviceInputNames(device.Id) File "/usr/local/share/congruity/mhmanager.py", line 611, in GetDeviceInputNames features = self.GetUserFeatures(deviceId) File "/usr/local/share/congruity/mhmanager.py", line 628, in GetUserFeatures deviceIds) File "/usr/lib/python2.7/dist-packages/suds/client.py", line 542, in __call__ return client.invoke(args, kwargs) File "/usr/lib/python2.7/dist-packages/suds/client.py", line 602, in invoke result = self.send(soapenv) File "/usr/lib/python2.7/dist-packages/suds/client.py", line 647, in send result = self.succeeded(binding, reply.message) File "/usr/lib/python2.7/dist-packages/suds/client.py", line 684, in succeeded reply, result = binding.get_reply(self.method, reply) File "/usr/lib/python2.7/dist-packages/suds/bindings/binding.py", line 165, in get_reply result = unmarshaller.process(nodes[0], resolved) File "/usr/lib/python2.7/dist-packages/suds/umx/typed.py", line 66, in process return Core.process(self, content) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 48, in process return self.append(content) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 63, in append self.append_children(content) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 140, in append_children cval = self.append(cont) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 63, in append self.append_children(content) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 140, in append_children cval = self.append(cont) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 63, in append self.append_children(content) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 140, in append_children cval = self.append(cont) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 63, in append self.append_children(content) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 140, in append_children cval = self.append(cont) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 63, in append self.append_children(content) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 140, in append_children cval = self.append(cont) File "/usr/lib/python2.7/dist-packages/suds/umx/core.py", line 61, in append self.start(content) File "/usr/lib/python2.7/dist-packages/suds/umx/encoded.py", line 47, in start Typed.start(self, content) File "/usr/lib/python2.7/dist-packages/suds/umx/typed.py", line 80, in start raise TypeNotFound(content.node.qname()) suds.TypeNotFound: Type not found: 'b:AbstractIRAction' ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel