mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[PR #173] [MERGED] Fix execution on headless systems where webbrowser module may not be available #801
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#801
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/spotipy-dev/spotipy/pull/173
Author: @shantanugoel
Created: 3/21/2017
Status: ✅ Merged
Merged: 9/17/2017
Merged by: @plamere
Base:
master← Head:fix_headless_execution📝 Commits (1)
ab2f52eFix execution on headless systems where webbrowser module may not be present📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
spotipy/util.py(+1 -1)📄 Description
On several headless systems (including but not limited to optware, entware packages for NASs, routers, etc), python builds do not include webbrowser module to save space since there's no browser on these systems.
As mentioned in #170, currently spotipy does not run on these systems because it fails in the import statement. This fix will allow spotipy to run well on headless systems as well.
I've tested it to work on my linux PC as well as on my Asus routers (optware and entware) and Synology NAS (entware and synology python).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.