masqu3rad3 / tik_manager4

Tik Manager is a Python-based Pipeline and Project Management platform designed for VFX and Animation Projects.
GNU General Public License v3.0
88 stars 4 forks source link

Settings dialog won't open #70

Closed TobiasPharos closed 6 months ago

TobiasPharos commented 6 months ago

Describe the bug Trying to open the settings dialog leads to an error.

To Reproduce Steps to reproduce the behavior: In menu bar click File > Settings

Expected behavior Open a dialog

DCC Tested in Standalone and Nuke

Desktop (please complete the following information):

Additional context File "C:\TikManager\tik_manager4-4.0.5-beta\tik_manager4\ui\main.py", line 498, in on_settings dialog = SettingsDialog(self.tik, parent=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\TikManager\tik_manager4-4.0.5-beta\tik_manager4\ui\dialog\settings_dialog.py", line 53, in init self.build_ui() File "C:\TikManager\tik_manager4-4.0.5-beta\tik_manager4\ui\dialog\settings_dialog.py", line 61, in build_ui self.build_static_widgets() File "C:\TikManager\tik_manager4-4.0.5-beta\tik_manager4\ui\dialog\settings_dialog.py", line 95, in build_static_widgets self.apply_button = tik_button_box.addButton("Apply", tik_button_box.ApplyRole) ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TikButtonBox' object has no attribute 'ApplyRole'

masqu3rad3 commented 6 months ago

Hi, thank you for the bug report.

I couldn't replicate the issue on Nuke 13.2v2, Nuke 15.0v2 standalone (using PyQt5 5.15.10)

Can you try the frozen standalone version (exe file) and let me know if that one works? It is located in tik_manager4\dist\tik4\tik4_standalone.exe

Thanks.

TobiasPharos commented 6 months ago

Hi Arda! You're right, the frozen version works.

masqu3rad3 commented 6 months ago

Thank you for confirming. It is still a mystery why its not working in Nuke though.

Which version of the Nuke you are trying?

masqu3rad3 commented 6 months ago

Okay, I think I know the problem. I am getting the same error with pyside6 / PyQt6 I think you might be using a newer version of Nuke which is actually using pyside6.

I will resolve this issue and it will be updated with the next release.

TobiasPharos commented 6 months ago

Yes, I meanwhile came to the same result doing some PySide-Tests with the Standalone. It works with PyQt5 but not with PySide6. The former tests were on Nuke 14.1v2. (but with pipeline tools creating an instance of PySide6)

masqu3rad3 commented 6 months ago

Thanks for catching this Tobias, much appeciated. I made a hotfix for and pushed to the master. Can you give it a try?

TobiasPharos commented 6 months ago

Yes, now it works in Standalone and (our) Nuke 14.1v2 with PySide6. Thank you!

masqu3rad3 commented 6 months ago

You are welcome, thanks for confirming.