Skip to content

Episode reload causes "AttributeError: 'NoneType' object has no attribute '_checkAttrs'" #654

Description

@gabriel-stackhouse

Describe the issue
This problem was introduced in #590, as the commit before it did not produce the error. When running reload() on an episode, an "AttributeError: 'NoneType' object has no attribute '_checkAttrs'" exception is thrown in the method _isChildOf:

Code snipppets
image

Expected behavior
Running episode.reload() should not throw any exceptions.

Enviroment (please complete the following information):

  • OS: Windows
  • Plex version: 1.21.2.3943
  • Python Version: 3.9.1
  • PlexAPI version: 4.3.1

Additional context
If you're having issues reproducing, the error happens consistently in my project: https://github.com/gstacks13/plex_set_tracks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions