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

[Bug]: Create Tags From Folders not working #346

Closed
3 tasks done
BetOnJeanette opened this issue Aug 9, 2024 · 2 comments · Fixed by #347
Closed
3 tasks done

[Bug]: Create Tags From Folders not working #346

BetOnJeanette opened this issue Aug 9, 2024 · 2 comments · Fixed by #347
Labels
TagStudio: Tags Relating to the TagStudio tag system Type: Bug Something isn't working as intended

Comments

@BetOnJeanette
Copy link

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha 9.3.2

Operating System & Version

Arch Linux

Description

Attempting to use the "Create Tags From Folders" macro does not create the tags from the folders. The window does not close.

Expected Behavior

Applying the macro should result in the tags being created and applied to the files within the directory.

Steps to Reproduce

  1. Create a library in a directory that has subdirectories
  2. Attempt to use the "Folders to Tags" macro
  3. Click apply
  4. Nothing happens for the end user.

Logs

In the console from which I launched tagstudio:

Converting folders to Tags
Traceback (most recent call last):
File "src/qt/modals/folders_to_tags.py", line 235, in on_apply
File "src/qt/modals/folders_to_tags.py", line 74, in folders_to_tags
File "src/qt/modals/folders_to_tags.py", line 64, in add_folders_to_tree
KeyError: 'tag'

@BetOnJeanette BetOnJeanette added the Type: Bug Something isn't working as intended label Aug 9, 2024
@CyanVoxel CyanVoxel added Priority: High An important issue requiring attention TagStudio: Tags Relating to the TagStudio tag system labels Aug 9, 2024
@CyanVoxel
Copy link
Member

CyanVoxel commented Aug 9, 2024

Thank you for the detailed report, I can confirm that this is reproducible. My hunch is that this is a bug introduced in #98 but I'm looking into it in more detail now

@CyanVoxel CyanVoxel linked a pull request Aug 9, 2024 that will close this issue
@Thecreatre
Copy link

yeah its never worked for me either

@CyanVoxel CyanVoxel removed the Priority: High An important issue requiring attention label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TagStudio: Tags Relating to the TagStudio tag system Type: Bug Something isn't working as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants