Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fedex sensor startup error #17089

Closed
bmf7777 opened this issue Oct 3, 2018 · 1 comment
Closed

fedex sensor startup error #17089

bmf7777 opened this issue Oct 3, 2018 · 1 comment

Comments

@bmf7777
Copy link

bmf7777 commented Oct 3, 2018

Home Assistant release with the issue:

79.3

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

venv, python 3.5.3

Component/platform:

https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/sensor/fedex.py

Description of problem:
looking at the fedexdeliverymanager [1.0.6] the login path
LOGIN_URL = 'https://www.fedex.com/etc/services/fedexlogin'
is not longer valid
can login in manually to fedex delivery manager ... at
https://www.fedex.com/apps/fedextracking

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

# Fedex
  - platform: fedex
    username: !secret fedex_userid
    password: !secret fedex_password

Traceback (if applicable):

Wed Oct 03 2018 03:12:12 GMT-0700 (Pacific Daylight Time)

fedex: Error on device update!
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/fedexdeliverymanager/__init__.py", line 64, in wrapped
    return function(*args)
  File "/srv/homeassistant/lib/python3.5/site-packages/fedexdeliverymanager/__init__.py", line 103, in get_packages
    raise FedexError(err)
fedexdeliverymanager.FedexError: failed to get shipment list: Relogin

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 352, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 324, in wrapper
    result = method(*args, **kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/fedex.py", line 93, in _update
    for package in fedexdeliverymanager.get_packages(self._session):
  File "/srv/homeassistant/lib/python3.5/site-packages/fedexdeliverymanager/__init__.py", line 66, in wrapped
    _login(*args)
  File "/srv/homeassistant/lib/python3.5/site-packages/fedexdeliverymanager/__init__.py", line 82, in _login
    raise FedexError('could not login')
fedexdeliverymanager.FedexError: could not login

Additional information:

@dshokouhi
Copy link
Member

Duplicate of #13131

@cgarwood cgarwood closed this as completed Nov 5, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants