[GH-ISSUE #11] Error: 'NoneType' object is not subscriptable #5

Closed
opened 2026-02-27 19:05:22 +03:00 by kerem · 2 comments
Owner

Originally created by @RonOren on GitHub (Sep 13, 2022).
Original GitHub issue: https://github.com/akashrchandran/syrics/issues/11

I tried to run the script and got this error:

Traceback (most recent call last):
File "C:\Users\Ron Oren\syrics\syrics.py", line 31, in
cmd_url = parse_cmd(config, client)
File "C:\Users\Ron Oren\syrics\cli.py", line 29, in parse_cmd
args.URL = client.get_current_song(
TypeError: 'NoneType' object is not subscriptable
PS C:\Users\Ron Oren\syrics>

I did everything right, renamed the config file and got the sp_dc but for some reason I can't even get the script started.
Love to get help on this.
Thanks!

Originally created by @RonOren on GitHub (Sep 13, 2022). Original GitHub issue: https://github.com/akashrchandran/syrics/issues/11 I tried to run the script and got this error: Traceback (most recent call last): File "C:\Users\Ron Oren\syrics\syrics.py", line 31, in <module> cmd_url = parse_cmd(config, client) File "C:\Users\Ron Oren\syrics\cli.py", line 29, in parse_cmd args.URL = client.get_current_song( TypeError: 'NoneType' object is not subscriptable PS C:\Users\Ron Oren\syrics> I did everything right, renamed the config file and got the sp_dc but for some reason I can't even get the script started. Love to get help on this. Thanks!
kerem closed this issue 2026-02-27 19:05:22 +03:00
Author
Owner

@akashrchandran commented on GitHub (Sep 13, 2022):

I did everything right, renamed the config file and got the sp_dc but for some reason I can't even get the script started. Love to get help on this. Thanks!

Could you please check now, I have made a fix.

<!-- gh-comment-id:1245161753 --> @akashrchandran commented on GitHub (Sep 13, 2022): > I did everything right, renamed the config file and got the sp_dc but for some reason I can't even get the script started. Love to get help on this. Thanks! Could you please check now, I have made a fix.
Author
Owner

@RonOren commented on GitHub (Sep 13, 2022):

Yeah, it's fixed now.
Great tool, thanks!

<!-- gh-comment-id:1245246844 --> @RonOren commented on GitHub (Sep 13, 2022): Yeah, it's fixed now. Great tool, thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/syrics#5
No description provided.