spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
16.85k stars 1.55k forks source link

[Bug] Spotdl Modules Error #2137

Closed its-19818942118 closed 1 month ago

its-19818942118 commented 1 month ago

System OS

Linux

Python Version

3.11 (Python)

Install Source

Arch User Repository (Unofficial)

Install version / commit hash

4.2.5

Expected Behavior vs Actual Behavior

welp when downloading spotify music, it just wouldnt work. Used to work just fine, but lyrics wasnt synced. so i opened an github issue. #2123 . so i wanted to try it now i am in this headache. πŸ˜“ spodtl download saved --user-auth --config --lyrics synced. it just spits some error i tried with links etc and other options too nothing would work. even without options and only link it keeps spitting the same error.

Steps to reproduce - Ensure to include actual links!

  1. spotdl download saved --user-auth --config --lyrics synced
  2. spit out some traceback calls.

Traceback

Traceback (most recent call last):
  File "/usr/bin/spotdl", line 5, in <module>
    from spotdl import console_entry_point
  File "/usr/lib/python3.12/site-packages/spotdl/__init__.py", line 13, in <module>
    from spotdl.console import console_entry_point
  File "/usr/lib/python3.12/site-packages/spotdl/console/__init__.py", line 5, in <module>
    from spotdl.console.entry_point import console_entry_point
  File "/usr/lib/python3.12/site-packages/spotdl/console/entry_point.py", line 10, in <module>
    from spotdl.console.download import download
  File "/usr/lib/python3.12/site-packages/spotdl/console/download.py", line 7, in <module>
    from spotdl.download.downloader import Downloader
  File "/usr/lib/python3.12/site-packages/spotdl/download/downloader.py", line 44, in <module>
    from spotdl.utils.lrc import generate_lrc
  File "/usr/lib/python3.12/site-packages/spotdl/utils/lrc.py", line 10, in <module>
    from syncedlyrics.utils import has_translation, Lyrics
ImportError: cannot import name 'has_translation' from 'syncedlyrics.utils' (/usr/lib/python3.12/site-packages/syncedlyrics/utils.py)

Other details

Python version 3.12.4 OS: Endeavour OS

gatomod commented 1 month ago

Ok I solved it installing python-syncedlyrics from AUR and works "fine", but then it keeps a long time without doing anything and then I get 429, but I think that's another issue.

xnetcat commented 1 month ago

fixed in v4.2.6

its-19818942118 commented 1 month ago

@xnetcat @gatomod nope mine ain't fixed mine are installed but broke for some reason πŸ˜•

gatomod commented 1 month ago

Well, 4.2.6 isn't released yet.

its-19818942118 commented 1 month ago

Brooo @gatomod how will I download songs 😭

gatomod commented 1 month ago

I'm not spotdl developer lmao don't ping me, just wait the next release or get in touch with a maintainer

Silverarmor commented 1 month ago

@its-19818942118 As @gatomod said, v4.2.6 is not yet released. Tweaks and bug fixes still to come.

You can trial it on the dev branch pip install -U https://codeload.github.com/spotDL/spotify-downloader/zip/dev, but stability is not guaranteed compared to master.

its-19818942118 commented 1 month ago

@its-19818942118 As @gatomod said, v4.2.6 is not yet released. Tweaks and bug fixes still to come.

You can trial it on the dev branch pip install -U https://codeload.github.com/spotDL/spotify-downloader/zip/dev, but stability is not guaranteed compared to master.

Thanks 😊 don't care about stability needs to get my job done btw I don't have python environment set up. So I really can't use pip unfortunately so any workarounds @Silverarmor

Silverarmor commented 1 month ago

Install python? You'll need it to run spotDL You can download the files from github - clone the branch, as with any normal repository.

its-19818942118 commented 1 month ago

Install python? You'll need it to run spotDL You can download the files from github - clone the branch, as with any normal repository.

@Silverarmor I do have python but. Like the environment ain't a python env and stuff so just was asking. So the main branxh or other branch

its-19818942118 commented 1 month ago

I am super noob at python I tried python for a year I am too dumb to understand python 😞😭. Sorry if I am being a bother but I really need help with this