[GH-ISSUE #138] [Bug Report] FileExistsError: [Errno 17] File exists #121

Closed
opened 2026-02-27 04:57:40 +03:00 by kerem · 1 comment
Owner

Originally created by @SkilletWarez on GitHub (Jan 2, 2026).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/138

Originally assigned to: @Googolplexed0 on GitHub.

After log in.
Using Efficient-api branch

[∙∙∙] Fetching playlist information... [●∙∙] Parsing playlist information... [∙∙∙] Fetching bulk genre information... [∙∙∙] Fetching bulk track/disc total information...

Traceback (most recent call last): File "/data/data/com.termux/files/home/.local/bin/zotify", line 7, in <module> sys.exit(main()) ^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/__main__.py", line 144, in main args.func(args, modes) File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/app.py", line 83, in client perform_query(args) File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/app.py", line 69, in perform_query raise e File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/app.py", line 65, in perform_query search_and_select() File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/app.py", line 26, in search_and_select Query(Zotify.DATETIME_LAUNCH).request(' '.join(uris)).execute() File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/api.py", line 1728, in execute self.download() File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/api.py", line 1664, in download skipped = {d for d in self.downloadables if d.check_skippable()} ^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/api.py", line 916, in check_skippable super().check_skippable() File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/api.py", line 398, in check_skippable self.in_global_archive = self.id in get_archived_item_ids() ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/utils.py", line 320, in get_archived_item_ids entries = get_archived_entries(dir_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/utils.py", line 300, in get_archived_entries archive_path = Zotify.CONFIG.get_song_archive_location() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/config.py", line 382, in get_song_archive_location Path(song_archive.parent).mkdir(parents=True, exist_ok=True) File "/data/data/com.termux/files/usr/lib/python3.12/pathlib.py", line 1311, in mkdir os.mkdir(self, mode) FileExistsError: [Errno 17] File exists: '/data/data/com.termux/files/home/.local/share/zotify

Originally created by @SkilletWarez on GitHub (Jan 2, 2026). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/138 Originally assigned to: @Googolplexed0 on GitHub. After log in. Using Efficient-api branch `[∙∙∙] Fetching playlist information... [●∙∙] Parsing playlist information... [∙∙∙] Fetching bulk genre information... [∙∙∙] Fetching bulk track/disc total information... ` `Traceback (most recent call last): File "/data/data/com.termux/files/home/.local/bin/zotify", line 7, in <module> sys.exit(main()) ^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/__main__.py", line 144, in main args.func(args, modes) File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/app.py", line 83, in client perform_query(args) File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/app.py", line 69, in perform_query raise e File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/app.py", line 65, in perform_query search_and_select() File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/app.py", line 26, in search_and_select Query(Zotify.DATETIME_LAUNCH).request(' '.join(uris)).execute() File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/api.py", line 1728, in execute self.download() File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/api.py", line 1664, in download skipped = {d for d in self.downloadables if d.check_skippable()} ^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/api.py", line 916, in check_skippable super().check_skippable() File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/api.py", line 398, in check_skippable self.in_global_archive = self.id in get_archived_item_ids() ^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/utils.py", line 320, in get_archived_item_ids entries = get_archived_entries(dir_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/utils.py", line 300, in get_archived_entries archive_path = Zotify.CONFIG.get_song_archive_location() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/home/.local/share/pipx/venvs/zotify/lib/python3.12/site-packages/zotify/config.py", line 382, in get_song_archive_location Path(song_archive.parent).mkdir(parents=True, exist_ok=True) File "/data/data/com.termux/files/usr/lib/python3.12/pathlib.py", line 1311, in mkdir os.mkdir(self, mode) FileExistsError: [Errno 17] File exists: '/data/data/com.termux/files/home/.local/share/zotify `
kerem 2026-02-27 04:57:40 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SkilletWarez commented on GitHub (Jan 8, 2026):

Ok on zotify 0.11.15

<!-- gh-comment-id:3723514180 --> @SkilletWarez commented on GitHub (Jan 8, 2026): Ok on zotify 0.11.15
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#121
No description provided.