gpymusic icon indicating copy to clipboard operation
gpymusic copied to clipboard

a valid MAC could not be determined

Open Suncatcher opened this issue 5 years ago • 1 comments

I have the same error as here, and here, and here. What is the reason of this error?

I have it on Kali Linux LiveCD inserted into physical laptop but can successfully login on AWS EC2 instance. Sounds like nonsence because laptop has physical NIC and instance is not.

I tried to replace Mobileclient.FROM_MAC_ADDRESS with MAC literal and that didn't help, but then script proposed me to replace it with some HEX value should have been working and it worked when I replaced Mobileclient.FROM_MAC_ADDRESS with it.

But for another account this didn't work, so no consistency here.

What to do?

Suncatcher avatar Apr 05 '20 16:04 Suncatcher

Same issue:

:~$ gpymusic-oauth-login

Visit the following url:
<redacted>
Follow the prompts, then paste the auth code here and hit enter: <redacted>
Traceback (most recent call last):
  File "/home/<redacted>/.local/bin/gpymusic-oauth-login", line 13, in <module>
    if mm.login():
  File "/home/<redacted>/.local/lib/python3.8/site-packages/gmusicapi/clients/musicmanager.py", line 97, in login
    self._perform_upauth(uploader_id, uploader_name))
  File "/home/<redacted>/.local/lib/python3.8/site-packages/gmusicapi/clients/musicmanager.py", line 109, 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).

eVen-gits avatar Jun 30 '20 11:06 eVen-gits