Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-tekore error #1129

Open
ParadoxPacer opened this issue Apr 15, 2024 · 2 comments
Open

python-tekore error #1129

ParadoxPacer opened this issue Apr 15, 2024 · 2 comments

Comments

@ParadoxPacer
Copy link

ParadoxPacer commented Apr 15, 2024

I got Tauon working on macos, as per [https://github.com//issues/577](your instructions).

I even got the .app working by using the "pyinstaller mac.spec --clean --noconfirm" command.

Untitled 2

However, when logging into spotify, i run into this error:
Screenshot 2024-04-15 at 21 56 52

I already installed tekore
image

and after restarting multiple times, im still running into this issue

@Taiko2k
Copy link
Owner

Taiko2k commented Apr 16, 2024

Try run python3 tauon.py before the pyinstaller step and try it. If that works then it would be an issue with how the app is being packaged. Don't ask me how to fix it though, I kind of gave up on macOS support due to difficulties with pyinstaller.

@ParadoxPacer
Copy link
Author

ParadoxPacer commented Apr 16, 2024

This worked, thank you.

By the way, the way to get build working is by first replacing line 14 (dbus-python) in requirements.txt with dbus-next, since dbus-python is deprecated

Then i ran 'pip3 install -r requirements.txt'

Then i ran "bash compile-phazor.sh"

After that, i ran "python3 tauon.py" in the TauonMusicbox directory

I got the pyinstaller step working by first installing pyinstaller with pip3 install pyinstaller

Then i installed ffmpeg@5 with 'brew install ffmpeg@5' since ffmpeg 6 is kinda broken.

Then i changed line 12 of mac.spec from '(prefix + '/bin/ffmpeg', '.'),' to '(prefix + '/Cellar/ffmpeg@5', '.'),'

And then i ran "pyinstaller mac.spec --clean --noconfirm" and that worked fine, i now have the .app file in ~/TauonMusicbox/dist

I could upload the .dmg file if that would help.

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

No branches or pull requests

2 participants