Skip to content

Prevent iCloud exceptions in logfile#9179

Merged
balloob merged 2 commits into
home-assistant:devfrom
mjj4791:patch-2
Aug 28, 2017
Merged

Prevent iCloud exceptions in logfile#9179
balloob merged 2 commits into
home-assistant:devfrom
mjj4791:patch-2

Conversation

@mjj4791
Copy link
Copy Markdown
Contributor

@mjj4791 mjj4791 commented Aug 27, 2017

With this change ValueError exceptions in the logfile caused by this component will disappear.
These errors are caused by the iCloud API returning an HTTP 450 error and the external lib throwing a ValueError because of it.

A PR has been raised against the external library, but that fix did not yet make it into a new version of the library. This will catch the exception in the mean time.... picklepete/pyicloud#138

With this change ValueError exceptions in the logfile caused by this component will disappear.
These errors are caused by the iCloud API returning an HTTP 450 error and the external lib throwing a ValueError because of it.

A PR has been raised against the external library, but that fix did not yet make it into a new version of the library. This will catch the exception in the mean time.... picklepete/pyicloud#138
@mention-bot
Copy link
Copy Markdown

@mjj4791, thanks for your PR! By analyzing the history of the files in this pull request, we identified @Bart274, @fabaff and @reedriley to be potential reviewers.

@balloob balloob added this to the 0.52.1 milestone Aug 28, 2017
@balloob balloob merged commit cc18b5a into home-assistant:dev Aug 28, 2017
@balloob
Copy link
Copy Markdown
Member

balloob commented Aug 28, 2017

Thanks! 🐬

balloob pushed a commit that referenced this pull request Aug 28, 2017
* Prevent iCloud exceptions in logfile

With this change ValueError exceptions in the logfile caused by this component will disappear.
These errors are caused by the iCloud API returning an HTTP 450 error and the external lib throwing a ValueError because of it.

A PR has been raised against the external library, but that fix did not yet make it into a new version of the library. This will catch the exception in the mean time.... picklepete/pyicloud#138

* Align log messages
@balloob balloob mentioned this pull request Aug 28, 2017
matemaciek added a commit to matemaciek/home-assistant that referenced this pull request Aug 30, 2017
* upstream/dev: (113 commits)
  Fix fitbit error when trying to access token after upgrade. (home-assistant#9183)
  Upgrade sendgrid to 5.0.1 (home-assistant#9215)
  Upgrade pyasn1 to 0.3.3 and pyasn1-modules to 0.1.1 (home-assistant#9216)
  directv: extended discovery via REST api, bug fix  (home-assistant#8800)
  Bayesian Binary Sensor (home-assistant#8810)
  Add cloud auth support (home-assistant#9208)
  Abode push events and lock, cover, and switch components (home-assistant#9095)
  Lint Sonarr tests
  Upgrade pymysensors to 0.11.1 (home-assistant#9212)
  Refactor rfxtrx (home-assistant#9117)
  Issue home-assistant#6893 in rfxtrx (home-assistant#9130)
  Support for season sensor (home-assistant#8958)
  Add counter component (home-assistant#9146)
  Fix and optimize digitalloggers platform (home-assistant#9203)
  Prevent error when no forecast data was available (home-assistant#9176)
  Add "status" to Sonarr sensor (home-assistant#9204)
  fix worldtidesinfo home-assistant#9184 (home-assistant#9201)
  Update pushbullet.py (home-assistant#9200)
  Fix dht22 when no data was read initially home-assistant#8976 (home-assistant#9198)
  Prevent iCloud exceptions in logfile (home-assistant#9179)
  ...
@home-assistant home-assistant locked and limited conversation to collaborators Dec 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants