Anyone want to venture a guess as to why this is happening? Some file dialogs work while others don’t. It’s a new installation of pymel and windows 7 64-bit and no other problems with pymel so far. I’m not trying to use all of these, just tried to test them all since the one I want, promptForPath(), doesn’t work.
pm.promptForPath()
# Error: Maya command error
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "c:\program files (x86)\autodesk\maya2009\python\lib\site-packages\pymel-1.0.0-py2.5.egg\pymel\core\windows.py", line 368, in promptForPath
# ret = cmds.fileBrowserDialog(**kwargs)
# File "c:\program files (x86)\autodesk\maya2009\python\lib\site-packages\pymel-1.0.0-py2.5.egg\pymel\internal\pmcmds.py", line 98, in wrappedCmd
# res = new_cmd(*new_args, **new_kwargs)
# RuntimeError: Maya command error #
:curses:
pm.promptForFolder()
:):
pm.fileDialog()
:):
pm.fileDialog2()
# Error: 'module' object has no attribute 'fileDialog2'
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# AttributeError: 'module' object has no attribute 'fileDialog2' #
:curses:
pm.fileBrowserDialog()
# Error: Maya command error
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "c:\program files (x86)\autodesk\maya2009\python\lib\site-packages\pymel-1.0.0-py2.5.egg\pymel\internal\factories.py", line 639, in newUiFunc
# return beforeUiFunc(*args, **kwargs)
# File "c:\program files (x86)\autodesk\maya2009\python\lib\site-packages\pymel-1.0.0-py2.5.egg\pymel\internal\pmcmds.py", line 98, in wrappedCmd
# res = new_cmd(*new_args, **new_kwargs)
# RuntimeError: Maya command error #
:curses:
:sigh: