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

AUR: Tauon won't start, manual intervention required #985

Open
Taiko2k opened this issue May 4, 2023 · 16 comments
Open

AUR: Tauon won't start, manual intervention required #985

Taiko2k opened this issue May 4, 2023 · 16 comments

Comments

@Taiko2k
Copy link
Owner

Taiko2k commented May 4, 2023

With the release of Python 3.11, 3.12 etc, you need to rebuild AUR python dependencies.

For Tauon, run:

# Replace trizen with your AUR helper of choice, or build the packages manually

# Clear cache to not accidentally use an old build
trizen -Scc

# Rebuild the package(s)
trizen -S python-pysdl2 # python-isounidecode - isounidecode is no longer used by current Tauon
@Taiko2k Taiko2k pinned this issue May 4, 2023
@rstrube
Copy link

rstrube commented May 5, 2023

Thank you, I was just about to create an issue for this!

@Qwerty-Space
Copy link

Even after manually installing these packages, tauon still thinks isounidecode isn't installed

@kamu106
Copy link

kamu106 commented Jan 3, 2024

Even after manually installing these packages, tauon still thinks isounidecode isn't installed and still returns the same Error

Tauon Music Box v7.7.0
Copyright 2015-2023 Taiko2k [email protected]

No window state file
Window size: [1120, 600]

(tauon.py:24550): Gtk-WARNING **: 07:17:03.666: Theme parsing error: gtk.css:6616:68: Invalid name of pseudo-class
Running from installed location
User files location: /root/.local/share/TauonMusicBox
Install directory: /opt/tauon-music-box
Input config file is missing... copying template from program files
Traceback (most recent call last):
  File "/opt/tauon-music-box/tauon.py", line 359, in <module>
    exec(main)
  File "/opt/tauon-music-box/t_modules/t_main.py", line 579, in <module>
    from isounidecode import unidecode
ModuleNotFoundError: No module named 'isounidecode'

@Taiko2k
Copy link
Owner Author

Taiko2k commented Jan 3, 2024

@kamu106

What does the command pacman -Ql python-isounidecode output for you?

@kamu106
Copy link

kamu106 commented Jan 3, 2024

Thanks for the quick reply,

python-isounidecode /usr/
python-isounidecode /usr/lib/
python-isounidecode /usr/lib/python3.10/
python-isounidecode /usr/lib/python3.10/site-packages/
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode-0.3-py3.10.egg-info
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__init__.py
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/__init__.cpython-310.opt-1.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/__init__.cpython-310.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/__init__.cpython-35.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/codes.cpython-310.opt-1.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/codes.cpython-310.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/codes.cpython-35.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/unidecode.cpython-310.opt-1.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/unidecode.cpython-310.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/__pycache__/unidecode.cpython-35.pyc
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/codes.py
python-isounidecode /usr/lib/python3.10/site-packages/isounidecode/unidecode.py

@Taiko2k
Copy link
Owner Author

Taiko2k commented Jan 3, 2024

@kamu106 Yep looks like its not installed for 3.11. you need to rebuild and reinstall the isounidecode package. If you already tried that you probably need to wipe your AUR helpers cache or build it manually. To build manually:

git clone https://aur.archlinux.org/python-isounidecode.git
cd python-isounidecode
makepkg -si

@kamu106
Copy link

kamu106 commented Jan 4, 2024

cd python-isounidecode

Thanks that fixed it, thanks for all your hard work

@TheFlomax
Copy link

Hey, I installed the missing dependencies and reinstalled Tauon, but at home the problem persists.
image

@C0rn3j
Copy link
Collaborator

C0rn3j commented Jan 2, 2025

I installed the missing dependencies

You need to rebuild and reinstall your current packages instead (in this case pysdl2).

The 3.11 dependency (isounidecode) is no longer used in current Tauon.

@TheFlomax
Copy link

You need to rebuild and reinstall your current packages instead (in this case pysdl2).

And how can I do that with paru or pacman?
Sorry, I'm not used to this kind of manipulation.

@C0rn3j
Copy link
Collaborator

C0rn3j commented Jan 2, 2025

As per the example in the OP - #985 (comment) - minus the isounidecode package.

@TheFlomax
Copy link

As per the example in the OP - #985 (comment) - minus the isounidecode package.

Okay so I have try with paru -S tauon-music-box python-pysdl2 but I have get the same error.
So I have so an paru -Rns tauon-music-box python-pysdl2 and I retry paru -S tauon-music-box python-pysdl2.

But I have the same error.

image

@C0rn3j
Copy link
Collaborator

C0rn3j commented Jan 2, 2025

pacman -Qoq /usr/lib/python3.12/site-packages/ -> this should return an error, if it returns any packages, they're broken, remove them and reinstall them if you need them.

ls -lah /usr/lib/python3.12 - This should return an error - if the first command now returns an error, but this one doesn't, look what's in there, figure out how it got there, then delete it and don't make that mistake again.

echo ~/.local/lib/python* This should return an error - if not - delete the result after figuring out how it got there.

If you're STILL getting issues, show pacman -Qi python-pysdl2 and

python
>>> import sdl2

@TheFlomax
Copy link

pacman -Qoq /usr/lib/python3.12/site-packages/ -> this should return an error, if it returns any packages, they're broken, remove them and reinstall them if you need them.

ls -lah /usr/lib/python3.12 - This should return an error - if the first command now returns an error, but this one doesn't, look what's in there, figure out how it got there, then delete it and don't make that mistake again.

echo ~/.local/lib/python* This should return an error - if not - delete the result after figuring out how it got there.

If you're STILL getting issues, show pacman -Qi python-pysdl2 and

python
>>> import sdl2

I have get no error but import sdl2 are fail.

image

@C0rn3j
Copy link
Collaborator

C0rn3j commented Jan 2, 2025

Your package is compiled in November, you're reinstalling an old version over and over.

paru -Scc to clear the cache.

I've edited this into the OP now.

@TheFlomax
Copy link

Your package is compiled in November, you're reinstalling an old version over and over.
paru -Scc to clear the cache.

Ahhh, yes i right now Tauon is work !
image

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

6 participants