BitShares Forum

Main => Stakeholder Proposals => Topic started by: freedom on May 17, 2016, 04:45:04 am

Title: pricefeeds need help
Post by: freedom on May 17, 2016, 04:45:04 am
root@iZ284fwnbhgZ:~/python-graphenelib/scripts/pricefeeds# python3 pricefeeds.py                Traceback (most recent call last):
  File "pricefeeds.py", line 38, in <module>
    import config
  File "/root/python-graphenelib/scripts/pricefeeds/config.py", line 187, in <module>
    wallet_port=port)
  File "/root/python-graphenelib/scripts/pricefeeds/feedsources.py", line 641, in __init__
    self.dex   = GrapheneExchange(conn, safe_mode=False)
  File "/root/.local/lib/python3.4/site-packages/graphenelib-0.3.10-py3.4.egg/grapheneexchange/exchange.py", line 139, in __init__
  File "/root/.local/lib/python3.4/site-packages/graphenelib-0.3.10-py3.4.egg/grapheneapi/grapheneclient.py", line 381, in __init__
  File "/root/.local/lib/python3.4/site-packages/graphenelib-0.3.10-py3.4.egg/grapheneapi/graphenews.py", line 57, in __init__
  File "/root/.local/lib/python3.4/site-packages/graphenelib-0.3.10-py3.4.egg/grapheneapi/graphenewsrpc.py", line 41, in __init__
  File "/usr/local/lib/python3.4/dist-packages/websocket/_core.py", line 489, in create_connection
    websock.connect(url, **options)
  File "/usr/local/lib/python3.4/dist-packages/websocket/_core.py", line 216, in connect
    options.pop('socket', None))
  File "/usr/local/lib/python3.4/dist-packages/websocket/_http.py", line 67, in connect
    sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
  File "/usr/local/lib/python3.4/dist-packages/websocket/_http.py", line 109, in _open_socket
    sock.connect(address)
TimeoutError: [Errno 110] Connection timed out


@xeroc
Title: Re: pricefeeds need help
Post by: xeroc on May 17, 2016, 04:57:57 am
RTFM:
https://github.com/xeroc/python-graphenelib/blob/master/docs/scripts-pricefeed.rst