Skip to content

Auth.py missing; wrong import for SpotifyOAuth #163

@Wattseheck

Description

@Wattseheck

Describe the bug
Auth.py does not install when installing mycroft-spotify. When running Auth.py SpotifyOAuth is loaded from the wrong package and thus fails.

To Reproduce
Steps to reproduce the behavior:

  1. Try to run Auth.py
  2. It will fail because it cannot "from spotipy import SpotifyOAuth"

Expected behavior
Importing SpotifyOAuth

Solution

  1. SCP Auth.py manually into /opt/mycroft/skills/mycroft-spotify.forslund/
  2. Change "from spotipy import SpotifyOAuth" to "from spotipy.oauth2 import SpotifyOAuth"

Environment (please complete the following information):

  • Device type: Ras Pi 3
  • OS: Picroft
  • Mycroft-core version: Don't know

Additional context
I am sorry. This is literally my first time on GitHub and I am no developer or have any experience. Bear with me if anything is unconventional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions