8000 Fedex Component not working · Issue #12724 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fedex Component not working #12724

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

Closed
codymhorton opened this issue Feb 26, 2018 · 0 comments · Fixed by #12764
Closed

Fedex Component not working #12724

codymhorton opened this issue Feb 26, 2018 · 0 comments · Fixed by #12764

Comments

@codymhorton
Copy link

Home Assistant release (hass --version):
0.64

Python release (python3 --version):
3.5

Component/platform:
FedEx Sensor

Description of problem:
FedEx component no longer works. On HA startup it throws this error:

fedex: Error on device update!
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/fedexdeliverymanager/__init__.py", line 62, in wrapped
    return function(*args)
  File "/srv/homeassistant/lib/python3.5/site-packages/fedexdeliverymanager/__init__.py", line 96, 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 197, in _async_add_entity
    yield from entity.async_device_update(warning=False)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 327, 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 308, in wrapper
    result = method(*args, **kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/fedex.py", line 94, in _update
    for package in fedexdeliverymanager.get_packages(self._session):
  File "/srv/homeassistant/lib/python3.5/site-packages/fedexdeliverymanager/__init__.py", line 65, in wrapped
    return function(*args)
  File "/srv/homeassistant/lib/python3.5/site-packages/fedexdeliverymanager/__init__.py", line 96, in get_packages
    raise FedexError(err)
fedexdeliverymanager.FedexError: failed to get shipment list: Relogin

Expected:

It should work

Problem-relevant configuration.yaml entries and steps to reproduce:

sensor:
  - platform: fedex
    username: !secret fedex_username
    password: !secret fedex_password

Additional info:
Others are having this same issue: https://community.home-assistant.io/t/fedex-error-on-device-update/42974

@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0