import studiolibrary studiolibrary.main() # UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal, at line 14, in "D:\MaYa\Maya2018\bin\maya.exe" # 错误: Error in maya.utils._guiExceptHook: # File "D:\MaYa\Maya2018\Python\lib\site-packages\maya\utils.py", line 351, in formatGuiException # result = u'%s: file %s line %s: %s' % (exceptionType.__name__, file, line, exceptionMsg) # UnicodeDecodeError: 'ascii' codec can't decode byte 0xb6 in position 3: ordinal not in range(128) # # Original exception was: # Traceback (most recent call last): # File "<maya console>", line 18, in <module> # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studiolibrary\main.py", line 45, in main # libraryWindow = mayalibrarywindow.MayaLibraryWindow.instance(*args, **kwargs) # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studiolibrary\librarywindow.py", line 172, in instance # libraryWindow = cls(name=name) # File "D:\MaYa\Maya2018\Python\lib\site-packages\maya\app\general\mayaMixin.py", line 78, in __init__ # super(MayaQWidgetBaseMixin, self).__init__(parent=parent, *args, **kwargs) # Init all baseclasses (including QWidget) of the main class # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studiolibrary\librarywindow.py", line 401, in __init__ # self.updatePreviewWidget() # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studiolibrary\librarywindow.py", line 1645, in updatePreviewWidget # self.setPreviewWidgetFromItem(self._currentItem, force=True) # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studiolibrary\librarywindow.py", line 1667, in setPreviewWidgetFromItem # self.clearPreviewWidget() # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studiolibrary\librarywindow.py", line 1640, in clearPreviewWidget # widget = studiolibrary.widgets.PlaceholderWidget() # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studiolibrary\widgets\placeholderwidget.py", line 22, in __init__ # studioqt.loadUi(self) # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studioqt\utils.py", line 115, in loadUi # widget.ui = QtCompat.loadUi(path, widget) # File "J:\动画包\微妙网-studiolibrary-2.5.7\studiolibrary-2.5.7\src\studiovendor\Qt.py", line 849, in _loadUi # ui = loader.load(path, widget) # RuntimeError: Unable to open/read ui device # |