{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1323","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1323/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1323/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1323/events","html_url":"https://github.com/home-assistant/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":[{"id":214631394,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/problem%20in%20dependency","name":"problem in dependency","color":"e10d10","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-02-18T20:44:59Z","updated_at":"2016-11-10T08:49:14Z","closed_at":"2016-04-17T19:32:04Z","body":"After adding the device tracker, this happens upon starting _hass_:\n\n```\nINFO:homeassistant.loader:Loaded device_tracker.fritz from homeassistant.components.device_tracker.fritz\nINFO:homeassistant.util.package:Attempting install of fritzconnection==0.4.6\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\nERROR:homeassistant.bootstrap:Not initializing device_tracker.fritz because could not install dependency fritzconnection==0.4.6\n```\n\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.\n\nInstalling fritzconnection manually (`sudo pip3 install fritzconnection`) works fine and installs 0.4.6 of it. Running _hass_ afterwards results in this error:\n\n```\nINFO:homeassistant.loader:Loaded device_tracker.fritz from homeassistant.components.device_tracker.fritz\nERROR:homeassistant.components.device_tracker:Error setting up platform fritz\nTraceback (most recent call last):\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/__init__.py\", line 124, in setup_platform\n    scanner = platform.get_scanner(hass, {DOMAIN: p_config})\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/fritz.py\", line 34, in get_scanner\n    scanner = FritzBoxScanner(config[DOMAIN])\n  File \"/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/fritz.py\", line 61, in __init__\n    import fritzconnection as fc\n  File \"/usr/local/lib/python3.4/dist-packages/fritzconnection/__init__.py\", line 3, in <module>\n    from fritzconnection import (\nImportError: cannot import name 'FritzConnection'\n```\n\nIf there is any other information I need to provide please let me know. :)\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/259633802","html_url":"https://github.com/home-assistant/home-assistant/issues/1323#issuecomment-259633802","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1323","id":259633802,"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-11-10T08:49:14Z","updated_at":"2016-11-10T08:49:14Z","body":"Hmmmm, why is ist not installing. Cant tell right away. I have to check.\n\n\nOn 09.11.2016 23:34, domlen wrote:\n>\n> Hi,\n>\n> sorry that I have to pick this thread up again. I've checked and done \n> everything described here (installed python3-lxm, installed \n> fritzconnection manually, fixed the library) but on hass startup I \n> still keep getting the following error:\n>\n> |16-11-09 23:17:37 homeassistant.bootstrap: Not initializing \n> device_tracker.fritz because could not install dependency \n> https://github.com/deisi/fritzconnection/archive/b5c14515e1c8e2652b06b6316a7f3913df942841.zip#fritzconnection==0.4.6|\n>\n> I'm running hass 0.32.2 installed on a pi2 using the Raspberry Pi \n> All-In-One Installer.\n>\n> Any ideas?\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub \n> <https://github.com/home-assistant/home-assistant/issues/1323#issuecomment-259546441>, \n> or mute the thread \n> <https://github.com/notifications/unsubscribe-auth/AFL2NPoH700tVwaVOAGA-vG9W84fBlwCks5q8kplgaJpZM4HdbzY>.\n>\n\n"}}
{"actor":{"display_login":"deisi"}}