mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #1011] oauth2.py start_local_http_server() non-functional #602
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#602
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?
Originally created by @BryceGattis on GitHub (Aug 14, 2023).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1011
Describe the bug
six.moves.BaseHTTPServer's classHTTPServerdoes not seem to be able to accept a string for theserver_address.Your code
In-context code (requires SPOTIPY_CLIENT_ID|SPOTIPY_CLIENT_SECRET|SPOTIPY_REDIRECT_URI):
Succinct code:
Expected behavior
No exception raised.
Output
Python 3.11 traceback:
Python 3.7 traceback:
Python 2.7 traceback:
Environment:
Additional context
None.
@BryceGattis commented on GitHub (Aug 14, 2023):
Resolved the issue. The port that you pass to this method must be an integer. 🤕 This was error in the test code I was running above.
Corrected test code would be: