{"action":"created","issue":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/1323","repository_url":"https://api.github.com/repos/balloob/home-assistant","labels_url":"https://api.github.com/repos/balloob/home-assistant/issues/1323/labels{/name}","comments_url":"https://api.github.com/repos/balloob/home-assistant/issues/1323/comments","events_url":"https://api.github.com/repos/balloob/home-assistant/issues/1323/events","html_url":"https://github.com/balloob/home-assistant/issues/1323","id":134691482,"number":1323,"title":"Fritz!Box device tracker fails to install fritzconnection","user":{"login":"matrixagent","id":309726,"avatar_url":"https://avatars.githubusercontent.com/u/309726?v=3","gravatar_id":"","url":"https://api.github.com/users/matrixagent","html_url":"https://github.com/matrixagent","followers_url":"https://api.github.com/users/matrixagent/followers","following_url":"https://api.github.com/users/matrixagent/following{/other_user}","gists_url":"https://api.github.com/users/matrixagent/gists{/gist_id}","starred_url":"https://api.github.com/users/matrixagent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrixagent/subscriptions","organizations_url":"https://api.github.com/users/matrixagent/orgs","repos_url":"https://api.github.com/users/matrixagent/repos","events_url":"https://api.github.com/users/matrixagent/events{/privacy}","received_events_url":"https://api.github.com/users/matrixagent/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/balloob/home-assistant/labels/problem_in_dependency","name":"problem_in_dependency","color":"e10d10"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-18T20:44:59Z","updated_at":"2016-02-25T06:55:27Z","closed_at":null,"body":"After adding the device tracker, this happens upon starting _hass_:\r\n\r\n```\r\nINFO:homeassistant.loader:Loaded device_tracker.fritz from homeassistant.components.device_tracker.fritz\r\nINFO:homeassistant.util.package:Attempting install of fritzconnection==0.4.6\r\nCommand \"/usr/bin/python3 -u -c \"import setuptools, tokenize;__file__='/tmp/pip-build-a75y6hpj/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-symu1gz8-record/install-record.txt --single-version-externally-managed --compile --home=/tmp/tmpjomu9sru\" failed with error code 1 in /tmp/pip-build-a75y6hpj/lxml\r\nERROR:homeassistant.bootstrap:Not initializing device_tracker.fritz because could not install dependency fritzconnection==0.4.6\r\n```\r\n\r\nIt \"hangs\" for more than a minute after **Attempting install of fritzconnection==0.4.6**, I suppose because trying to compile lxml takes a while. I'm running a headless Ubuntu server with 14.04.1 on it, python3-lxml is installed, so I'm not sure why it's even trying to compile that.\r\n\r\nInstalling fritzconnection manually (```sudo pip3 install fritzconnection```) works fine and installs 0.4.6 of it. Running _hass_ afterwards results in this error:\r\n\r\n```\r\nINFO:homeassistant.loader:Loaded device_tracker.fritz from homeassistant.components.device_tracker.fritz\r\nERROR:homeassistant.components.device_tracker:Error setting up platform fritz\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/__init__.py\", line 124, in setup_platform\r\n    scanner = platform.get_scanner(hass, {DOMAIN: p_config})\r\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/fritz.py\", line 34, in get_scanner\r\n    scanner = FritzBoxScanner(config[DOMAIN])\r\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/fritz.py\", line 61, in __init__\r\n    import fritzconnection as fc\r\n  File \"/usr/local/lib/python3.4/dist-packages/fritzconnection/__init__.py\", line 3, in <module>\r\n    from fritzconnection import (\r\nImportError: cannot import name 'FritzConnection'\r\n```\r\n\r\nIf there is any other information I need to provide please let me know. :)"},"comment":{"url":"https://api.github.com/repos/balloob/home-assistant/issues/comments/188640937","html_url":"https://github.com/balloob/home-assistant/issues/1323#issuecomment-188640937","issue_url":"https://api.github.com/repos/balloob/home-assistant/issues/1323","id":188640937,"user":{"login":"deisi","id":5436980,"avatar_url":"https://avatars.githubusercontent.com/u/5436980?v=3","gravatar_id":"","url":"https://api.github.com/users/deisi","html_url":"https://github.com/deisi","followers_url":"https://api.github.com/users/deisi/followers","following_url":"https://api.github.com/users/deisi/following{/other_user}","gists_url":"https://api.github.com/users/deisi/gists{/gist_id}","starred_url":"https://api.github.com/users/deisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deisi/subscriptions","organizations_url":"https://api.github.com/users/deisi/orgs","repos_url":"https://api.github.com/users/deisi/repos","events_url":"https://api.github.com/users/deisi/events{/privacy}","received_events_url":"https://api.github.com/users/deisi/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T06:55:27Z","updated_at":"2016-02-25T06:55:27Z","body":"Okay, I make a PR with it. Thanks for the information."}}