question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Life360 Startup problems in HA 0.94.0b3 and 0.94.0b4

See original GitHub issue
arch x86_64
dev false
docker true
hassio true
os_name Linux
python_version 3.7.3
timezone Europe/Madrid
version 0.94.0b4
virtualenv false
- platform: life360
  username: !secret life360_un
  password: !secret life360_pw
  prefix: life360
  show_as_state: driving, moving, places
  home_place: Casa
  driving_speed: 18
  max_gps_accuracy: 100
  time_as: device_or_local
  max_update_wait:
    minutes: 45
  interval_seconds: 12
  consider_home: 180
  new_device_defaults:
    track_new_devices: true
    hide_if_away: false



2019-06-02 19:37:56 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/setup.py", line 76, in async_setup_legacy
    tracker.see, discovery_info)
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/life360/device_tracker.py", line 311, in setup_scanner
    Life360Scanner(hass, config, see, interval, home_place_name, api)
  File "/config/custom_components/life360/device_tracker.py", line 342, in __init__
    from timezonefinderL import TimezoneFinder
  File "/config/deps/lib/python3.7/site-packages/timezonefinderL/__init__.py", line 3, in <module>
    from .timezonefinderL import TimezoneFinder
  File "/config/deps/lib/python3.7/site-packages/timezonefinderL/timezonefinderL.py", line 9, in <module>
    from numpy import array, empty, float64, fromfile
ModuleNotFoundError: No module named 'numpy'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ccorderodcommented, Jun 15, 2019

@pnbruckner My apologies, I should have close this one. 0.94.b6 fixed the issue. Thank you for your support.

0reactions
pnbrucknercommented, Jun 14, 2019

FWIW, I just did a test with 0.94.3. Seems to work fine:

(homeassistant) $ pip list | grep -e numpy -e timezonefinderL -e life360
life360                 3.0.0
numpy                   1.16.4
timezonefinderL         2.0.1
(homeassistant) $ pip uninstall numpy timezonefinderL life360
...
(homeassistant) $ pip list | grep -e numpy -e timezonefinderL -e life360
(homeassistant) $ hass
...
(homeassistant) $ grep Attempting ~/.homeassistant/home-assistant.log
2019-06-14 08:56:27 INFO (SyncWorker_34) [homeassistant.util.package] Attempting install of life360==3.0.0
2019-06-14 08:56:28 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of timezonefinderL==2.0.1
(homeassistant) $ pip list | grep -e numpy -e timezonefinderL -e life360
life360                 3.0.0
numpy                   1.16.4
timezonefinderL         2.0.1

Not sure why this didn’t work for you. Maybe there was a bug in the beta release. Anyway, since it seems to work, and since life360 will become a standard component in 0.95, I’ll close this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found