Skip to content

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

Closed
@kana800

Description

@kana800

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumAn issue that shouldn't be be saved for lastType: BugSomething isn't working as intendedType: UI/UXUser interface and/or user experience

    Type

    No type

    Projects

    Status

    ✅ Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions