[GH-ISSUE #124] [Bug Report] TypeError: sequence item 0: expected str instance, Query found #106

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

Originally created by @GeorgeFence on GitHub (Nov 22, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/124

Originally assigned to: @Googolplexed0 on GitHub.

Zotify Version
v0.10.27

Bug Description
I dont know :D

Bug Triggering Command
I was just downloading playlist

Error Traceback / Logs

  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "c:\users\jirkovic\.local\bin\zotify.exe\__main__.py", line 6, in <module>
    sys.exit(main())
             ~~~~^^
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\__main__.py", line 140, in main
    args.func(args, modes)
    ~~~~~~~~~^^^^^^^^^^^^^
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 78, in client
    perform_query(args)
    ~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 69, in perform_query
    raise e
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 44, in perform_query
    Query(Zotify.DATETIME_LAUNCH).request(urls).execute()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 1692, in execute
    self.download()
    ~~~~~~~~~~~~~^^
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 1628, in download
    skipped = {d for d in self.downloadables if d.check_skippable()}
                                                ~~~~~~~~~~~~~~~~~^^
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 886, in check_skippable
    super().check_skippable()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 390, in check_skippable
    self.mark_downloaded(path)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\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
Press Enter to continue...:```

**Config File**
```{
    "SAVE_CREDENTIALS": "True",
    "CREDENTIALS_LOCATION": "",
    "OUTPUT": "",
    "SONG_ARCHIVE": "",
    "ROOT_PATH": "",
    "ROOT_PODCAST_PATH": "",
    "SPLIT_ALBUM_DISCS": "False",
    "DOWNLOAD_LYRICS": "True",
    "MD_SAVE_GENRES": "False",
    "MD_ALLGENRES": "False",
    "MD_GENREDELIMITER": ",",
    "DOWNLOAD_FORMAT": "ogg",
    "DOWNLOAD_QUALITY": "auto",
    "TRANSCODE_BITRATE": "auto",
    "SKIP_EXISTING": "True",
    "SKIP_PREVIOUSLY_DOWNLOADED": "False",
    "RETRY_ATTEMPTS": "1",
    "BULK_WAIT_TIME": "1",
    "OVERRIDE_AUTO_WAIT": "False",
    "CHUNK_SIZE": "20000",
    "DOWNLOAD_REAL_TIME": "False",
    "LANGUAGE": "en",
    "PRINT_SPLASH": "False",
    "PRINT_SKIPS": "True",
    "PRINT_DOWNLOAD_PROGRESS": "True",
    "PRINT_ERRORS": "True",
    "PRINT_DOWNLOADS": "False",
    "PRINT_API_ERRORS": "True",
    "PRINT_PROGRESS_INFO": "True",
    "PRINT_WARNINGS": "True",
    "TEMP_DOWNLOAD_DIR": ""
}```
Originally created by @GeorgeFence on GitHub (Nov 22, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/124 Originally assigned to: @Googolplexed0 on GitHub. **Zotify Version** v0.10.27 **Bug Description** I dont know :D **Bug Triggering Command** I was just downloading playlist **Error Traceback / Logs** ```Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "c:\users\jirkovic\.local\bin\zotify.exe\__main__.py", line 6, in <module> sys.exit(main()) ~~~~^^ File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\__main__.py", line 140, in main args.func(args, modes) ~~~~~~~~~^^^^^^^^^^^^^ File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 78, in client perform_query(args) ~~~~~~~~~~~~~^^^^^^ File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 69, in perform_query raise e File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 44, in perform_query Query(Zotify.DATETIME_LAUNCH).request(urls).execute() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 1692, in execute self.download() ~~~~~~~~~~~~~^^ File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 1628, in download skipped = {d for d in self.downloadables if d.check_skippable()} ~~~~~~~~~~~~~~~~~^^ File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 886, in check_skippable super().check_skippable() ~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\site-packages\zotify\api.py", line 390, in check_skippable self.mark_downloaded(path) ~~~~~~~~~~~~~~~~~~~~^^^^^^ File "C:\Users\Jirkovic\pipx\venvs\zotify\Lib\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 Press Enter to continue...:``` **Config File** ```{ "SAVE_CREDENTIALS": "True", "CREDENTIALS_LOCATION": "", "OUTPUT": "", "SONG_ARCHIVE": "", "ROOT_PATH": "", "ROOT_PODCAST_PATH": "", "SPLIT_ALBUM_DISCS": "False", "DOWNLOAD_LYRICS": "True", "MD_SAVE_GENRES": "False", "MD_ALLGENRES": "False", "MD_GENREDELIMITER": ",", "DOWNLOAD_FORMAT": "ogg", "DOWNLOAD_QUALITY": "auto", "TRANSCODE_BITRATE": "auto", "SKIP_EXISTING": "True", "SKIP_PREVIOUSLY_DOWNLOADED": "False", "RETRY_ATTEMPTS": "1", "BULK_WAIT_TIME": "1", "OVERRIDE_AUTO_WAIT": "False", "CHUNK_SIZE": "20000", "DOWNLOAD_REAL_TIME": "False", "LANGUAGE": "en", "PRINT_SPLASH": "False", "PRINT_SKIPS": "True", "PRINT_DOWNLOAD_PROGRESS": "True", "PRINT_ERRORS": "True", "PRINT_DOWNLOADS": "False", "PRINT_API_ERRORS": "True", "PRINT_PROGRESS_INFO": "True", "PRINT_WARNINGS": "True", "TEMP_DOWNLOAD_DIR": "" }```
kerem 2026-02-27 04:57:34 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

@Googolplexed0 thanks <3

<!-- gh-comment-id:3566789157 --> @GeorgeFence commented on GitHub (Nov 22, 2025): @Googolplexed0 thanks <3
Author
Owner

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

@Googolplexed0 but still didnt fixed the Failed to get content stream :'(

<!-- gh-comment-id:3566799987 --> @GeorgeFence commented on GitHub (Nov 22, 2025): @Googolplexed0 but still didnt fixed the Failed to get content stream :'(
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#106
No description provided.