Content-Length: 204879 | pFad | https://github.com/moehmeni/syncedlyrics/issues/52

68 Intermittent failure in python · Issue #52 · moehmeni/syncedlyrics · GitHub
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

Intermittent failure in python #52

Closed
Raul824 opened this issue Jul 7, 2024 · 1 comment
Closed

Intermittent failure in python #52

Raul824 opened this issue Jul 7, 2024 · 1 comment

Comments

@Raul824
Copy link

Raul824 commented Jul 7, 2024

Sometimes while running in python I get below error message. They are intermittent, if I close vscodium and reopen and run the same it disappears.

Traceback (most recent call last):
    search(f"{srch_str}", allow_plain_format=False, save_path=f"{savepath}")
  File "site-packages/syncedlyrics/__init__.py", line 59, in search
    _l = provider.get_lrc(search_term)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "site-packages/syncedlyrics/providers/musixmatch.py", line 120, in get_lrc
    tracks = body["track_list"]
             ~~~~^^^^^^^^^^^^^^
TypeError: list indices must be integers or slices, not str

During handling of the above exception, another exception occurred:
Exception: list indices must be integers or slices, not str

srch_str="Liz Phair - Free Ride"
savepath="Liz Phair - Free Ride.lrc"

@moehmeni
Copy link
Owner

Thanks for the contribution, also sorry for late response. It's solved in v1.0.1.

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/moehmeni/syncedlyrics/issues/52

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy