-
-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Labels
Description
Desktop (please complete the following information):
- OS: Arch Linux
- OS version: Rolling
- Tauon Version: 7.9.0
- Installation method: tauon-music-box AUR package
Describe the bug
Attempting to use Spotify search never shows any results and causes the entire search interface to stop working until app restart.
To Reproduce
Steps to reproduce the behavior:
- Start typing anything to open search
- Press Tab to switch to Spotify search
- Observe there being no results
- Press Tab to switch back to local search
- Observer there being no results anymore, no matter the search prompt
- (Close search and restart from step 1 and observe the issue persisting)
Expected behavior
Results from Spotify showing up or at least local search continuing to work when Spotify search fails.
Tauon log
Logfiles
Python stack trace:
Exception in thread Thread-7 (worker2):
Traceback (most recent call last):
File "/usr/lib/python3.13/threading.py", line 1041, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/usr/lib/python3.13/threading.py", line 992, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/tauon/t_modules/t_main.py", line 25318, in worker2
results = tauon.spot_ctl.search(search_over.search_text.text)
File "/usr/lib/python3.13/site-packages/tauon/t_modules/t_spot.py", line 373, in search
img.url = album.images[-1].url
^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pydantic/main.py", line 891, in __getattr__
raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
AttributeError: 'FullTrack' object has no attribute 'images'Tauon log when starting Spotify search:
2025-03-24 22:02:02 [ INFO ] [ t_main ] Spotify search
2025-03-24 22:02:02 [ INFO ] [ _client ] HTTP Request: POST https://accounts.spotify.com/api/token "HTTP/1.1 200 OK"
2025-03-24 22:02:02 [ INFO ] [ t_spot ] Init spotify support
2025-03-24 22:02:02 [ INFO ] [ _client ] HTTP Request: GET https://api.spotify.com/v1/me/ "HTTP/1.1 200 OK"
2025-03-24 22:02:03 [ INFO ] [ _client ] HTTP Request: GET https://api.spotify.com/v1/search?q=the+weeknd&type=artist%2Calbum%2Ctrack&limit=20&offset=0 "HTTP/1.1 200 OK"
Tauon log before search (startup):
2025-03-24 22:01:42 [ INFO ] [ __main__ ] Tauon v7.9.0
2025-03-24 22:01:42 [ INFO ] [ __main__ ] Copyright 2015-2025 Taiko2k captain.gxj@gmail.com
2025-03-24 22:01:42 [ INFO ] [ __main__ ] Arguments: /usr/bin/tauonmb
2025-03-24 22:01:42 [WARNING] [ t_draw ] Unable to import jxlpy, JPEG XL support will be disabled. (t_draw.py:67)
2025-03-24 22:01:42 [WARNING] [ t_tidal ] Unable to import tidalapi, Tidal support will be disabled. (t_tidal.py:17)
2025-03-24 22:01:42 [WARNING] [ t_main ] Unable to import jxlpy, JPEG XL support will be disabled. (t_main.py:363)
2025-03-24 22:01:42 [WARNING] [ t_main ] Unable to import pypresence, Discord Rich Presence will be disabled. (t_main.py:385)
2025-03-24 22:01:43 [ INFO ] [ t_main ] Window size: [1920, 1080]
2025-03-24 22:01:43 [ INFO ] [ t_main ] Running from installed location
2025-03-24 22:01:43 [ INFO ] [ t_main ] Install directory: /usr/lib/python3.13/site-packages/tauon
2025-03-24 22:01:43 [ INFO ] [ t_main ] Asset directory: /usr/lib/python3.13/site-packages/tauon/assets
2025-03-24 22:01:43 [ INFO ] [ t_main ] Locale directory: /usr/lib/python3.13/site-packages/tauon/locale
2025-03-24 22:01:43 [ INFO ] [ t_main ] Userdata directory: /home/.../.local/share/TauonMusicBox
2025-03-24 22:01:43 [ INFO ] [ t_main ] Config directory: /home/.../.local/share/TauonMusicBox
2025-03-24 22:01:43 [ INFO ] [ t_main ] Cache directory: /home/.../.cache/TauonMusicBox
2025-03-24 22:01:43 [ INFO ] [ t_main ] Home directory: /home/...
2025-03-24 22:01:43 [ INFO ] [ t_main ] Music directory: /home/.../Musik
2025-03-24 22:01:43 [ INFO ] [ t_main ] Downloads directory: /home/.../Downloads
2025-03-24 22:01:43 [ INFO ] [ t_main ] Database loaded in 0.03 seconds.
2025-03-24 22:01:43 [WARNING] [ t_main ] Unable to import Chrome(pychromecast), chromecast support will be disabled. (t_main.py:8949)
(tauonmb:672353): libayatana-appindicator-WARNING **: 22:01:43.311: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
2025-03-24 22:01:43 [ INFO ] [t_webserve] Start controller server
2025-03-24 22:01:43 [ INFO ] [ t_main ] Using SDL version: 2.32.52
2025-03-24 22:01:43 [ INFO ] [ t_main ] Adjust bg vertical
2025-03-24 22:01:43 [ INFO ] [ t_main ] Applying theme: Wasp
2025-03-24 22:01:43 [ INFO ] [ t_main ] Auto save playtime
2025-03-24 22:01:44 [WARNING] [ warnings ] /usr/lib/python3.13/site-packages/tauon/t_modules/t_main.py:13345: ResourceWarning: unclosed file <_io.BufferedReader name='/home/.../.cache/TauonMusicBox/network/c07d048b5ec5'>
self.im = album_art_gen.get_blur_im(track)
(warnings.py:110)
Exit PHAzOR
Additional context
Spotify account and application are set up and playback & importing from CTRL-V or Right Click > Show Full Artist / Album works, with Enable local audio playback enabled or disabled.