Mayavi节省照片问题

时间:2015-06-16 13:53:37

标签: python qt anaconda mayavi

我正在开发一个使用Mayavi软件包的桌面应用程序。所以,我使用anacondamayavi 4.4.0pyqt 4.11.3python 2.7)。当我尝试使用Mayavi界面保存图像时,我得到:

KGlobal::locale(): Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
kfilemodule(5709): couldn't create slave: "Unable to create io-slave:
klauncher said: Unknown protocol ''.
" 
Traceback (most recent call last):
  File "/home/facu/anaconda/lib/python2.7/site-packages/pyface/ui/qt4/action/action_item.py", line 358, in _qt4_on_triggered
    action.perform(action_event)
  File "/home/facu/anaconda/lib/python2.7/site-packages/pyface/action/action.py", line 100, in perform
    self.on_perform()
  File "/home/facu/anaconda/lib/python2.7/site-packages/tvtk/pyface/ui/qt4/decorated_scene.py", line 159, in _save_snapshot
    if dialog.open() == OK:
  File "/home/facu/anaconda/lib/python2.7/site-packages/pyface/i_dialog.py", line 122, in open
    self.close()
  File "/home/facu/anaconda/lib/python2.7/site-packages/pyface/ui/qt4/file_dialog.py", line 103, in close
    self.wildcard_index = self.control.nameFilters().index(
AttributeError: 'QStringList' object has no attribute 'index'

我修复了编辑*.py文件的其他问题,我不知道如何解决这个问题。

0 个答案:

没有答案