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

TypeError: list indices must be integers or slices, not str #62

Open
jsloane opened this issue Dec 29, 2024 · 0 comments
Open

TypeError: list indices must be integers or slices, not str #62

jsloane opened this issue Dec 29, 2024 · 0 comments

Comments

@jsloane
Copy link

jsloane commented Dec 29, 2024

Error log below:

[INFO|soularr|L349] 2024-12-29T11:21:22+0000: Searching album: Brinstar Depths
[ERROR|soularr|L690] 2024-12-29T11:21:34+0000: Traceback (most recent call last):
  File "/app/soularr.py", line 688, in <module>
    failed = grab_most_wanted(wanted_records)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/soularr.py", line 350, in grab_most_wanted
    success = search_and_download(grab_list, query, all_tracks, all_tracks[0], artist_name, release)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/soularr.py", line 252, in search_and_download
    if slskd.searches.state(search['id'])['state'] != 'InProgress':
                            ~~~~~~^^^^^^
TypeError: list indices must be integers or slices, not str

[ERROR|soularr|L691] 2024-12-29T11:21:34+0000:
 Fatal error! Exiting...
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

1 participant