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]: Cannot Open Manage Tags in a Fresh Run #692

Open
3 tasks done
kana800 opened this issue Jan 7, 2025 · 1 comment
Open
3 tasks done

[Bug]: Cannot Open Manage Tags in a Fresh Run #692

kana800 opened this issue Jan 7, 2025 · 1 comment
Labels
Priority: Medium An issue that shouldn't be be saved for last Type: Bug Something isn't working as intended Type: UI/UX User interface and/or user experience

Comments

@kana800
Copy link

kana800 commented Jan 7, 2025

Checklist

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

TagStudio Version

Alpha 9.5.0

Operating System & Version

Windows 11 23H2

Description

cannot open the Manage Tags window without having a library opened

Expected Behavior

To be able to open the manage tags window or be disabled it till an library is opened.

Steps to Reproduce

  1. run tag studio
  2. go to edit > Manage Tags

Logs

2025-01-07 20:04:39 [info     ] [FFPROBE] Using FFmpeg location: ffprobe
2025-01-07 20:04:39 [info     ] resources registered           count=24
2025-01-07 20:04:39 [info     ] Config File not specified, using default one filename=C:/Users/user/AppData/Roaming/TagStudio/TagStudio.ini
2025-01-07 20:04:42 [info     ] update_widgets                 selected=[]
2025-01-07 20:04:43 [error    ] Path does not exist.           open_path=None
2025-01-07 20:04:46 [info     ] [Tag Manager Modal] Updating Tags
Traceback (most recent call last):
  File "tag_studio.py", line 65, in main
  File "src\qt\ts_qt.py", line 524, in start
    app.exec()
  File "src\qt\ts_qt.py", line 393, in <lambda>
    tag_database_action.triggered.connect(lambda: self.show_tag_database())
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "src\qt\ts_qt.py", line 716, in show_tag_database
    widget=TagDatabasePanel(self.lib),
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "src\qt\modals\tag_database.py", line 73, in __init__
    self.update_tags()
  File "src\qt\modals\tag_database.py", line 115, in update_tags
    tags_results = self.lib.search_tags(name=query)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "src\core\library\alchemy\library.py", line 603, in search_tags
    assert self.engine
           ^^^^^^^^^^^
AttributeError: 'Library' object has no attribute 'engine'

TagStudio Frontend (Qt) Crashed! Press Enter to Continue...
@kana800 kana800 added the Type: Bug Something isn't working as intended label Jan 7, 2025
@CyanVoxel
Copy link
Member

I believe this was originally being handled by #462 but that PR appears to have gone cold...

@CyanVoxel CyanVoxel added Type: UI/UX User interface and/or user experience Priority: Medium An issue that shouldn't be be saved for last labels Jan 7, 2025
@CyanVoxel CyanVoxel moved this to 🛠 Ready for Development in TagStudio Development Jan 7, 2025
@CyanVoxel CyanVoxel added this to the Alpha v9.5 (Post-SQL) milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium An issue that shouldn't be be saved for last Type: Bug Something isn't working as intended Type: UI/UX User interface and/or user experience
Projects
Status: 🛠 Ready for Development
Development

No branches or pull requests

2 participants