erijo / tellive-py

Python wrapper for Telldus Live
GNU General Public License v3.0
12 stars 8 forks source link

Communication error on mac os #1

Closed pkempe closed 10 years ago

pkempe commented 10 years ago

On Mac OS X 10.9 Mavericks, I get the following after installing:

$ tellive_core_connector -d testconfig 
2014-02-25 10:14:28,697 DEBUG: Fetching server list from api.telldus.com:443
2014-02-25 10:14:29,035 DEBUG: Found 10 available servers
2014-02-25 10:14:29,036 DEBUG: Connecting to ebba.telldus.com:45000
2014-02-25 10:14:29,151 INFO: Connected to ebba.telldus.com:45000
2014-02-25 10:14:29,151 ERROR: Communication error: [Errno 57] Socket is not connected
Traceback (most recent call last):
  File "/usr/local/bin/tellive_core_connector", line 277, in <module>
    main(config[section])
  File "/usr/local/bin/tellive_core_connector", line 146, in main
    callback_dispatcher = SelectableCallbackDispatcher()
  File "/usr/local/bin/tellive_core_connector", line 91, in __init__
    csock.shutdown(socket.SHUT_RD)
OSError: [Errno 57] Socket is not connected
2014-02-25 10:14:29,152 INFO: Reconnecting in 51 seconds

The testconfig file contains the following after the above run:

[settings]
uuid = 
debug = False

Also, I do not get a prompt to visit a URL when launching.

Please note that Python 3 is not installed as standard on Mac OS X 10.9, I installed manually it alongside python 2.7. I'm not entirely sure that python 3 is being used, don't know how to check that.

erijo commented 10 years ago

This should be fixed now. Please retest with the latest version from git if possible.

Your python 3 installation should work, otherwise the program wouldn't start.

erijo commented 10 years ago

Released version 0.4.2 with this fix on pypi just now as well.

pkempe commented 10 years ago

Now it works, both from github and through pypi. Great work!

BTW, this is a terrific app which I have missed for quite some time. I really disliked having to have TelldusCenter running visibly just to enable comms with telldus live for my tellstick duo.

25 feb 2014 kl. 20:03 skrev Erik Johansson notifications@github.com:

Released version 0.4.2 with this fix on pypi just now as well.

— Reply to this email directly or view it on GitHub.