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

Сonflict with the Studio Library plugin #104

Open
Sprite37529 opened this issue Oct 30, 2024 · 1 comment
Open

Сonflict with the Studio Library plugin #104

Sprite37529 opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Sprite37529
Copy link

Hi. There is a conflict with the Studio Library plugin. I am observing this problem in maya 2025.2

Before I open dwpicker, the Studio Library plugin is working correctly. I can use the cursor to select saved animations and poses. After opening dwpicker, I can't use the cursor to select these animations and poses.

Messages about importing plugins appear in the script editor. The first time you open dwpicker, a message appears about importing and activating Pyside:

>> PySide6 Maya version found. PySide2 remap activated.

When working with Studio Library, a message appears:

# TypeError: # 'PySide6.QtWidgets.QTreeWidget.itemAt' called with wrong argument types:
#   PySide6.QtWidgets.QTreeWidget.itemAt(QPointF)
# Supported signatures:
#   PySide6.QtWidgets.QTreeWidget.itemAt(PySide6.QtCore.QPoint)
  PySide6.QtWidgets.QTreeWidget.itemAt(int, int)
# Traceback (most recent call last):
#   File "C:\Users\Username\Documents\maya\scripts\studiolibrary-2.17.2\src\studiolibrary\widgets\itemswidget\treewidget.py", line 673, in mouseMoveEvent
#     ItemViewMixin.mouseMoveEvent(self, event)
#   File "C:\Users\Username\Documents\maya\scripts\studiolibrary-2.17.2\src\studiolibrary\widgets\itemswidget\itemviewmixin.py", line 193, in mouseMoveEvent
#     item = self.itemAt(event.pos())
#            ^^^^^^^^^^^^^^^^^^^^^^^^
# TypeError: # 'PySide6.QtWidgets.QTreeWidget.itemAt' called with wrong argument types:
#   PySide6.QtWidgets.QTreeWidget.itemAt(QPointF)
# Supported signatures:
#   PySide6.QtWidgets.QTreeWidget.itemAt(PySide6.QtCore.QPoint)
  PySide6.QtWidgets.QTreeWidget.itemAt(int, int)
video.mp4

Thank you for your work.

@luckylyk
Copy link
Member

Ouch.
Yeah this require that we migrate officially to PySide6. But we still have old production at studio on old maya version. And lack of time to maintain 2 differents versions.
We are probably going to move in 2/3 months.

Until that time, you can try this pull request made by @jdrese and already made a real migration to PySide6
https://github.com/DreamWall-Animation/dwpicker/tree/b1439253f1bf539b5d4bafdd37739594ca7045be

This should solve your issue.

@luckylyk luckylyk added the bug Something isn't working label Nov 3, 2024
@luckylyk luckylyk self-assigned this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants