[pyside] pyside-uic xxx.ui -o xxx_ui.py发生错误:An unexpected error occurred
来源:互联网 发布:mac 安装 apache ant 编辑:程序博客网 时间:2024/05/19 12:13
今天在用pyside的时候,碰到一条命令pyside-uic xxx.ui -o xxx_ui.py可是执行它的时候,终端显示没有这条命令,于是, 我马上想到,这应该是还没有安装的一个程序,google了好一阵,原来,需要安装一个库,命名如下:sudo apt-get install pyside-tools灵感来源网址: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545022可是,执行 pyside-uic xxx.ui -o xxx_ui.py 依然报错:
An unexpected error occurred.
极其蛋疼的事情发生了, 经过经理点拨, 继续google,终于找到了如下信息, 一个字‘爽’:
Hi,I'm working on KUbuntu 10.04, and issued the same problem as you do. As crazy as it seems, you can make it work by simply removing a file :sudo rm /usr/lib/pymodules/python2.6/pysideuic/widget-plugins/__init__.pyIt seems that the dynamic plugin loader is trying to execute it as if it was a plugin, but it is not, so removing it just works.However, the exception generated by the script should be caught and not make everything fail, so maybe this problem should be reported to the PySide guys ?灵感来源网址: http://lists.openbossa.org/pipermail/pyside/2010-October/001156.html
- [pyside] pyside-uic xxx.ui -o xxx_ui.py发生错误:An unexpected error occurred
- 解决pyside-uic编译QBottonGroup的报错:unexpected error in pyside-uic
- Pyside-uic问题
- pyside
- 使用Qt+PySide将UI文件转化为py文件
- 使用pyside+designer将.ui文件转化为.py文件的两种方法
- pyside使用qt的ui文件
- PySide入门
- PySide简介
- PySide简介
- PySide Style
- Pyside QSqlDatabase: QSQLITE driver not loaded 错误
- windows 2008 浏览asp发生错误,‘An error occurred on the server.....’
- Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误的解决方法
- Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误的解决方法
- Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误
- Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误的解决方法
- Eclipse启动时发生An internal error occurred during: "Initializing Java Tooling".错误的解决
- 2011 2-15
- “登陆网站”还是“登录网站”
- Java学习杂谈一
- 加法计算器 按钮变脸 文本框变脸 无刷新评论 高亮显示点击的当前行 网站选择
- 敏捷开发学习体会
- [pyside] pyside-uic xxx.ui -o xxx_ui.py发生错误:An unexpected error occurred
- CComboBox改变风格
- DRP学习小结:
- 工作流概述
- [Java] Abstract classes vs. interfaces
- 80后的无奈
- 解决打印机“正在删除、正在打印”没反应问题
- linux EVOLUTION 配置
- ssh整合资料