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

Cant load picker, maya 2020.4 #110

Closed
Whoami243 opened this issue Dec 9, 2024 · 7 comments
Closed

Cant load picker, maya 2020.4 #110

Whoami243 opened this issue Dec 9, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@Whoami243
Copy link

I´ve followed the steps, and watched youtube videos to verify if i was doing something wrong but there´s no way for me to make the picker work.

Once I execute
"import dwpicker
dwpicker.show()"

I get the following error : # Error: ImportError: file C:/Users/XXXXX/Documents/maya/scripts\dwpicker\designer\editor.py line 7: cannot import name clipboard #
cmdScrollFieldExecuter -e -execute scriptEditorPanel1Window|scriptEditorPanel1|formLayout192|formLayout194|paneLayout8|paneLayout9|tabLayout6|formLayout213|cmdScrollFieldExecuter58;
// Result: scriptEditorPanel1Window|scriptEditorPanel1|formLayout192|formLayout194|paneLayout8|paneLayout9|tabLayout6|formLayout213|cmdScrollFieldExecuter58 //
import dwpicker
dwpicker.show()

Error: ImportError: file C:/Users/Submarine/Documents/maya/scripts\dwpicker\designer\editor.py line 7: cannot import name clipboard

@Whoami243
Copy link
Author

// Result: scriptEditorPanel1Window|scriptEditorPanel1|formLayout192|formLayout194|paneLayout8|cmdScrollFieldReporter3 //
cmdScrollFieldExecuter -e -execute scriptEditorPanel1Window|scriptEditorPanel1|formLayout192|formLayout194|paneLayout8|paneLayout9|tabLayout6|formLayout213|cmdScrollFieldExecuter58;
// Result: scriptEditorPanel1Window|scriptEditorPanel1|formLayout192|formLayout194|paneLayout8|paneLayout9|tabLayout6|formLayout213|cmdScrollFieldExecuter58 //
import dwpicker
dwpicker.show()

Error: cannot import name clipboard

Traceback (most recent call last):

File "", line 1, in

File "C:/Users/XXXXX/Documents/maya/2020/scripts\dwpicker_init_.py", line 17, in

from dwpicker.main import DwPicker, WINDOW_CONTROL_NAME

File "C:/Users/XXXXX/Documents/maya/2020/scripts\dwpicker\main.py", line 15, in

from dwpicker.designer.editor import PickerEditor

File "C:/Users/XXXXX/Documents/maya/scripts\dwpicker\designer\editor.py", line 7, in

from dwpicker import clipboard

ImportError: cannot import name clipboard

@luckylyk
Copy link
Member

luckylyk commented Dec 9, 2024

Hi, can you ensure you are well using latest version of the picker ?
I'm not able to reproduce this issue.
Do you have any specific plugin running with Maya ?

@Whoami243
Copy link
Author

Yea, im using the last version. No pluggins running, just animbot

@luckylyk
Copy link
Member

I'm sorry, 'im a bit clueless reading you error. I just made a little update expecting it could helps.
Unfortunately I assume it is something due to your "language" configuration or maya version. I have no access to Maya 2020 anymore to test. Maybe update to a version 22 or + could helps ?

@luckylyk luckylyk self-assigned this Jan 6, 2025
@luckylyk luckylyk added the bug Something isn't working label Jan 6, 2025
@luckylyk
Copy link
Member

luckylyk commented Jan 6, 2025

Hi sorry,
only back from vacation. I made some update.
Is this still not working with latest versions ?

@zhollosy
Copy link

zhollosy commented Jan 7, 2025

Had the same issue.
Deleted all the *.pyc files in dwpicker folder and its subfolders and restarted Maya. It may help you.
It also worked for me earlier when I've tried to run the same scripts from different maya versions.

@luckylyk
Copy link
Member

without reply i'm closing the ticket. Feel free to reopen if you have any new for me ?

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

3 participants