[GH-ISSUE #121] [Bug Report] Main Branch Accidental Search Filter Trigger #103

Closed
opened 2026-02-27 04:57:33 +03:00 by kerem · 5 comments
Owner

Originally created by @pipedreams8686 on GitHub (Nov 19, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/121

Originally assigned to: @Googolplexed0 on GitHub.

I reinstalled Zotify from this fork yesterday, and having these errors appear when I try and search within Zotify:

Traceback (most recent call last):
File "/Volumes/Home/Users/Home/.local/bin/zotify", line 8, in
sys.exit(main())
~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/main.py", line 119, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 324, in client
search(Printer.get_input('Enter search: '))
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 68, in search
raise IndexError('No parameters passed after option: {}\n'.
format(split))
IndexError: No parameters passed after option: --playlist


I have tried uninstalling and upgrading the packages, not sure what I need to do to fix this, thanks!

Originally created by @pipedreams8686 on GitHub (Nov 19, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/121 Originally assigned to: @Googolplexed0 on GitHub. I reinstalled Zotify from this fork yesterday, and having these errors appear when I try and search within Zotify: Traceback (most recent call last): File "/Volumes/Home/Users/Home/.local/bin/zotify", line 8, in <module> sys.exit(main()) ~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/__main__.py", line 119, in main args.func(args) ~~~~~~~~~^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 324, in client search(Printer.get_input('Enter search: ')) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 68, in search raise IndexError('No parameters passed after option: {}\n'. format(split)) IndexError: No parameters passed after option: --playlist --- I have tried uninstalling and upgrading the packages, not sure what I need to do to fix this, thanks!
kerem 2026-02-27 04:57:33 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SkilletWarez commented on GitHub (Nov 20, 2025):

I reinstalled Zotify from this fork yesterday, and having these errors appear when I try and search within Zotify:

Traceback (most recent call last): File "/Volumes/Home/Users/Home/.local/bin/zotify", line 8, in sys.exit(main()) ~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/main.py", line 119, in main args.func(args) ~~~~~~~~~^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 324, in client search(Printer.get_input('Enter search: ')) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 68, in search raise IndexError('No parameters passed after option: {}\n'. format(split)) IndexError: No parameters passed after option: --playlist

I have tried uninstalling and upgrading the packages, not sure what I need to do to fix this, thanks!

What branch did you use?

<!-- gh-comment-id:3556187271 --> @SkilletWarez commented on GitHub (Nov 20, 2025): > I reinstalled Zotify from this fork yesterday, and having these errors appear when I try and search within Zotify: > > Traceback (most recent call last): File "/Volumes/Home/Users/Home/.local/bin/zotify", line 8, in sys.exit(main()) ~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/**main**.py", line 119, in main args.func(args) ~~~~~~~~~^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 324, in client search(Printer.get_input('Enter search: ')) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 68, in search raise IndexError('No parameters passed after option: {}\n'. format(split)) IndexError: No parameters passed after option: --playlist > > I have tried uninstalling and upgrading the packages, not sure what I need to do to fix this, thanks! What branch did you use?
Author
Owner

@pipedreams8686 commented on GitHub (Nov 20, 2025):

I reinstalled Zotify from this fork yesterday, and having these errors appear when I try and search within Zotify:
Traceback (most recent call last): File "/Volumes/Home/Users/Home/.local/bin/zotify", line 8, in sys.exit(main()) ~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/main.py", line 119, in main args.func(args) ~~~~~~~~~^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 324, in client search(Printer.get_input('Enter search: ')) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 68, in search raise IndexError('No parameters passed after option: {}\n'. format(split)) IndexError: No parameters passed after option: --playlist
I have tried uninstalling and upgrading the packages, not sure what I need to do to fix this, thanks!

What branch did you use?

I used the instructions for installation from the Googolplexed0 git Zotify page, so I assume the link for installation is the most recent branch?

I did have Zotify (the original version) installed before, so not sure if there might be an issue from that? I did uninstall it first then install this version. It seems like it's a python issue but I have uninstalled and reinstalled/upgraded the packages for python, ffmpeg, pipx etc

thanks

<!-- gh-comment-id:3556838203 --> @pipedreams8686 commented on GitHub (Nov 20, 2025): > > I reinstalled Zotify from this fork yesterday, and having these errors appear when I try and search within Zotify: > > Traceback (most recent call last): File "/Volumes/Home/Users/Home/.local/bin/zotify", line 8, in sys.exit(main()) ~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/**main**.py", line 119, in main args.func(args) ~~~~~~~~~^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 324, in client search(Printer.get_input('Enter search: ')) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 68, in search raise IndexError('No parameters passed after option: {}\n'. format(split)) IndexError: No parameters passed after option: --playlist > > I have tried uninstalling and upgrading the packages, not sure what I need to do to fix this, thanks! > > What branch did you use? I used the instructions for installation from the Googolplexed0 git Zotify page, so I assume the link for installation is the most recent branch? I did have Zotify (the original version) installed before, so not sure if there might be an issue from that? I did uninstall it first then install this version. It seems like it's a python issue but I have uninstalled and reinstalled/upgraded the packages for python, ffmpeg, pipx etc thanks
Author
Owner

@Googolplexed0 commented on GitHub (Nov 21, 2025):

site-packages/zotify/app.py", line 324, in client
search(Printer.get_input('Enter search: '))

You are running on the main branch (v0.9.XX).

IndexError: No parameters passed after option: --playlist

This is an issue that has been fixed in the efficient-api branch, see #84. It had to do with the weird way the main branch handled search query filter tag detection. The new logic in the efficient-api branch can be found here.

<!-- gh-comment-id:3564938168 --> @Googolplexed0 commented on GitHub (Nov 21, 2025): > site-packages/zotify/app.py", line 324, in client > search(Printer.get_input('Enter search: ')) You are running on the main branch (v0.9.XX). > IndexError: No parameters passed after option: --playlist This is an issue that has been fixed in the [`efficient-api`](https://github.com/Googolplexed0/zotify/tree/efficient-api) branch, see #84. It had to do with the weird way the main branch handled search query filter tag detection. The new logic in the `efficient-api` branch can be found [here](https://github.com/Googolplexed0/zotify/tree/efficient-api#search-query-formatting).
Author
Owner

@pipedreams8686 commented on GitHub (Nov 22, 2025):

here

Thank you so much for your help, and your work on this.

I uninstalled Zotify then reinstalled from the efficient-api branch, and it did appear to be working but I got this error trying to download a playlist (sorry, I am sure it is user error!):


Traceback (most recent call last):
File "/Volumes/Home/Users/Home/.local/bin/zotify", line 7, in
sys.exit(main())
~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/main.py", line 140, in main
args.func(args, modes)
~~~~~~~~~^^^^^^^^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 83, in client
perform_query(args)
~~~~~~~~~~~~~^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 69, in perform_query
raise e
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 65, in perform_query
search_and_select()
~~~~~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 16, in search_and_select
Query(Zotify.DATETIME_LAUNCH).request(search).execute()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1692, in execute
self.download()
~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1628, in download
skipped = {d for d in self.downloadables if d.check_skippable()}
~~~~~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 886, in check_skippable
super().check_skippable()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 390, in check_skippable
self.mark_downloaded(path)
~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 286, in mark_downloaded
Printer.debug(f"{' > '.join(self.parent_tree)} has Sibling at {' > '.join(sib.parent_tree)}")
~~~~~~~~~~^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, Query found

<!-- gh-comment-id:3566399123 --> @pipedreams8686 commented on GitHub (Nov 22, 2025): > [here](https://github.com/Googolplexed0/zotify/tree/efficient-api#search-query-formatting) Thank you so much for your help, and your work on this. I uninstalled Zotify then reinstalled from the efficient-api branch, and it did appear to be working but I got this error trying to download a playlist (sorry, I am sure it is user error!): --- Traceback (most recent call last): File "/Volumes/Home/Users/Home/.local/bin/zotify", line 7, in <module> sys.exit(main()) ~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/__main__.py", line 140, in main args.func(args, modes) ~~~~~~~~~^^^^^^^^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 83, in client perform_query(args) ~~~~~~~~~~~~~^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 69, in perform_query raise e File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 65, in perform_query search_and_select() ~~~~~~~~~~~~~~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/app.py", line 16, in search_and_select Query(Zotify.DATETIME_LAUNCH).request(search).execute() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1692, in execute self.download() ~~~~~~~~~~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 1628, in download skipped = {d for d in self.downloadables if d.check_skippable()} ~~~~~~~~~~~~~~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 886, in check_skippable super().check_skippable() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 390, in check_skippable self.mark_downloaded(path) ~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/Volumes/Home/Users/Home/.local/pipx/venvs/zotify/lib/python3.14/site-packages/zotify/api.py", line 286, in mark_downloaded Printer.debug(f"{' > '.join(self.parent_tree)} has Sibling at {' > '.join(sib.parent_tree)}") ~~~~~~~~~~^^^^^^^^^^^^^^^^^^ TypeError: sequence item 0: expected str instance, Query found
Author
Owner

@Googolplexed0 commented on GitHub (Nov 22, 2025):

Fixed, see #124

<!-- gh-comment-id:3566788412 --> @Googolplexed0 commented on GitHub (Nov 22, 2025): Fixed, see #124
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/zotify#103
No description provided.