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

Closed
ParadoxPacer opened this issue Apr 15, 2024 · 4 comments · Fixed by #1348
Closed

python-tekore error #1129

ParadoxPacer opened this issue Apr 15, 2024 · 4 comments · Fixed by #1348

Comments

@ParadoxPacer
Copy link

ParadoxPacer commented Apr 15, 2024

I got Tauon working on macos, as per 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.

@dmt-hub
Copy link

dmt-hub commented Nov 2, 2024

@ParadoxPacer
Thanks for your tips, i can run tauon on macos via python3 tauon.py, but i can't get the app working, when i start the app it stops before it even opens.

Any ideas how i could solve this?

Another issue when running tauon, when trying to play an M4A file it says: FFMPEG could not be found. FFMPEG is installed tho.

Thanks in advance.

@C0rn3j
Copy link
Collaborator

C0rn3j commented Dec 17, 2024

7.9.0 has large changes to the build system which should fix the dependency loading issue.

#1348 automates DMG building and fixes a handful of issues.

@dmt-hub you need to somehow extract the DMG and the APFS file from within it

EDIT: Apparently you can just double click to mount it and then it'll be under Volumes
image

Please test the #1348 DMGs if you have the time, let's get those running peachy so people don't have to build manually.

EDIT: Ffmpeg issue with M4A files is fixed there.

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

Successfully merging a pull request may close this issue.

4 participants