Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Mac address error #655

Closed
codingnoob233 opened this issue Oct 31, 2019 · 2 comments
Closed

Mac address error #655

codingnoob233 opened this issue Oct 31, 2019 · 2 comments

Comments

@codingnoob233
Copy link

Hi dunno where this problem came from was working fine last night then I got this

manager, Mobileclient
MusicManagerWrapper authentication failed.
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/gmusicapi_wrapper/musicmanager.py", line 54, in login
if not self.api.login(oauth_credentials=oauth_cred, uploader_id=uploader_id):
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/gmusicapi/clients/musicmanager.py", line 108, in login
self._perform_upauth(uploader_id, uploader_name))
File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/gmusicapi/clients/musicmanager.py", line 120, in _perform_upauth
raise OSError('a valid MAC could not be determined.'
OSError: a valid MAC could not be determined. Provide uploader_id (and be sure to provide the same one on future runs).

Any way I could get around this.

@simon-weber
Copy link
Owner

It could be caused by any number of things, especially if you're running on a vm. #408 has some old debugging that didn't really go anywhere.

I'd recommend generating a fake MAC and always passing that as uploader_id, There's an explanation in the docs.

@codingnoob233
Copy link
Author

I'm on android i fixed it somehow or it fixed itself. I tried it on another phone and it worked no errors, so I wiped termux
on my phone,installed gmusicapi again and now it works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants