studiolibrary在MAYA里加载不出来直接爆红

发贴时间:2020-04-24 14:17 

来自版块:求助问答

·

[已解决]

人气7271 评论1 点赞0
点赞
收藏
打赏
扫码分享给朋友
当前帖子链接已复制,快去粘贴分享吧~
下载文件
×
本帖全部文件列表
Maya(写实风格)特效示意库插件
该贴已找到最佳答案,并已奖励回答者3 微豆
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 #
最佳答案
刚刚测试了下,建议你下载这个版本,然后把插件复制到纯英文的路径里,不要有任何中文文件夹名称,直接拖入maya即可使用 https://www.wmiao.com/t-45131-1-1.html
查看完整答案
复制以下链接分享到 QQ群 QQ空间 贴吧 或其他CG网站上,每进来一个人你将获得: 2微豆

客服
快速回复 返回顶部 返回列表