Giter VIP home page Giter VIP logo

Comments (9)

swt2c avatar swt2c commented on July 30, 2024

Unfortunately setup.myharmony.com uses Silverlight and thus you can't just trick Firefox to load it.

For the newer site, you will have to use mhgui which is essentially a front end around the setup.myharmony.com backend. It is distributed with congruity. You'll probably want to use the version from git and not the one that comes with Ubuntu as it will unfortunately be outdated.

from concordance.

foberle avatar foberle commented on July 30, 2024

Hi Scott:

Thanks for the response, but I suspect I'm in a sort of cloud here. I just downloaded a file:
congruity-18.tar.bz2 - But: the date on the archive is 29 March 2014, so I'm obviously in the wrong place or I misinterpreted your response.

Also, I notice that Ubuntu has a manpage for mhgui (which references your name) and has a link to the file mhgui.1.gz (dated 18 April of this year), which I also downloaded, but haven't attempted to extract. Is this the "version from git" you referred to?

Do I simply need to install the latter, or were you suggesting that I need to load some new version of congruity as well?

Can I have the old and new elements installed simultaneously? My Harmony One works just fine with the "original" members site, but the new 650 requires the Silverlight page. And, do you have a suggested recommendation for the OS alias I need to use with Firefox?

OR: Do you know of anyone who has written up all of this so I can quit bothering you (if you are the developer who set all this up, we all owe you a debt of gratitude for sharing it)?

Thanks for responding regardless...

from concordance.

foberle avatar foberle commented on July 30, 2024

Hi again Scott:

Of course, as soon as I sent the last message, I stumbled on to your page:
https://www.mail-archive.com/[email protected]/msg01490.html

I confirmed that I do have the python-suds version 0.7 installed on my system (although I have no idea why or what it's currently used for, although the gramps genealogy program is written in python).

So, for the heck of it, I extracted mhgui and ran ./mhgui.1, which gave me the following:
./mhgui.1: line 1: .TH: command not found
./mhgui.1: line 2: .SH: command not found
^CTraceback (most recent call last):
File "/usr/bin/mhgui", line 50, in
mhMgr = MHManager(use_local_wsdl, suds_debug)
File "/usr/share/congruity/mhmanager.py", line 156, in init
self.client = Client(url, cache=cache, plugins=[MHPlugin()])
File "/usr/lib/python2.7/dist-packages/suds/client.py", line 120, in init
self.wsdl = reader.open(url)
File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 104, in open
wsdl = self.fn(url, self.options)
File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 188, in init
self.open_imports(imported_definitions)
File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 233, in open_imports
imp.load(self, imported_definitions)
File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 354, in load
d = Definitions(url, definitions.options, imported_definitions)
File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 164, in init
d = reader.open(url)
File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 148, in open
xml = self.__fetch(url)
File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 188, in __fetch
fp = self.options.transport.open(request)
File "/usr/lib/python2.7/dist-packages/suds/transport/https.py", line 62, in open
return HttpTransport.open(self, request)
File "/usr/lib/python2.7/dist-packages/suds/transport/http.py", line 66, in open
return self.u2open(u2request)
File "/usr/lib/python2.7/dist-packages/suds/transport/http.py", line 127, in u2open
return url.open(u2request, timeout=tm)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1195, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 1057, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1097, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1053, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 897, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 859, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 836, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 566, in create_connection
sock.connect(sa)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
KeyboardInterrupt
./mhgui.1: line 4: .SH: command not found
./mhgui.1: line 5: .B: command not found
./mhgui.1: line 6: [OPTIONS]: command not found
./mhgui.1: line 7: .SH: command not found
./mhgui.1: line 8: .B: command not found
./mhgui.1: line 9: is: command not found
./mhgui.1: line 10: enable: programming: not a shell builtin
./mhgui.1: line 10: enable: of: not a shell builtin
./mhgui.1: line 10: enable: Logitech: not a shell builtin
./mhgui.1: line 10: enable: Harmony: not a shell builtin
./mhgui.1: line 10: enable: remote: not a shell builtin
./mhgui.1: line 10: enable: controls: not a shell builtin
./mhgui.1: line 10: enable: that: not a shell builtin
./mhgui.1: line 10: enable: are: not a shell builtin
./mhgui.1: line 10: enable: only: not a shell builtin
./mhgui.1: line 10: enable: supported: not a shell builtin
./mhgui.1: line 11: syntax error near unexpected token (' ./mhgui.1: line 11: through this web site (which normally requires the use of Microsoft'
... at which point, the world stopped, and I used Ctrl+C to return.

Whether or not this failure is because I wasn't on-line with Harmony isn't clear to me, since the last programming I did predates Python as far as I know (yes, I'm an old retired fart).

Again, thanks for reading my posts - if you can walk me through all this, I'd be very grateful.

Frank

from concordance.

swt2c avatar swt2c commented on July 30, 2024

Sorry this isn't documented better. :-) Wow, you found my original email for mhgui. Things have changed a bit since then.

mhgui.1 is the man page, so you can't run that.

To get the latest version from git and run it (it will go into the current directory):

git clone git://git.code.sf.net/p/congruity/code congruity
cd congruity
./mhgui

from concordance.

foberle avatar foberle commented on July 30, 2024

Thanks very much Scott.

Right after sending the last message, I decided to read through the code and only then realized it was a man page. I've been away from the world of IT for too long it seems.

Once "git-ting" the actual mhgui, things worked quite a bit better. I very much like the idea of having a dedicated app that chats with the server rather than the "old" way of having the process flip back and forth. I guess I just incorrectly assumed that the new version worked exactly the same as the previous system which is why I was concerned about Firefox: so kudos for the direct attack.

Of course, it's annoying that Logitech wants us to use one method for the Harmony One and one for the 650. For what are (in my view anyway) far and away the best handheld remotes, their creator's approach is rather non user-friendly. Now that I feel safe in acquiring a 650, I'll do so and contact you if I have further questions.

Thanks again for your prompt assistance.

from concordance.

foberle avatar foberle commented on July 30, 2024

from concordance.

swt2c avatar swt2c commented on July 30, 2024

You don't want to execute the Connectivity.EZHex file directly. Instead, you want to run it with Congruity. Does your web browser offer to open the file with Congruity when you download it? If so, do that. If not, you can save the file somewhere and then run "congruity <path_to_ezhex_file>" manually.

from concordance.

foberle avatar foberle commented on July 30, 2024

from concordance.

jaymzh avatar jaymzh commented on July 30, 2024

Thanks @swt2c for taking this one.

Closing, since I think there's no action here.

from concordance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.