witch1990
witch1990
2016-02-16 08:50
采纳率: 0%
浏览 2.1k

Eric6 右键点击生产对话框代码 报错

Warning:
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to .
A log has been written to “C:\Users\ASUS_eric6\eric6_error.log”.

Error information:
——————————————————————————–
2015-10-21, 16:42:09
——————————————————————————–
:
arguments did not match any overloaded call:
QByteArray(): too many arguments
QByteArray(int, str): argument 1 has unexpected type ‘str’
QByteArray(QByteArray): argument 1 has unexpected type ‘str’
——————————————————————————–
File “D:\Program Files\Python\Python34\Lib\site-packages\eric6\Project\ProjectFormsBrowser.py”, line 840, in generateDialogCode
dlg = CreateDialogCodeDialog(fn, self.project, self)
File “D:\Program Files\Python\Python34\Lib\site-packages\eric6\Project\CreateDialogCodeDialog.py”, line 128, in __init

self.__updateSlotsModel()
File “D:\Program Files\Python\Python34\Lib\site-packages\eric6\Project\CreateDialogCodeDialog.py”, line 292, in __updateSlotsModel
QByteArray(“p{0:d}”.format(index))

——————————————————————————–
Version Numbers:
Python 3.4.3
Qt 5.5.0
PyQt5 5.5
sip 4.16.9
QScintilla 2.9
WebKit 538.1
eric6 6.0.3 (rev. b876fbf55438)

Platform: win32
3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)]
——————————————————————————–
Plugins Version Numbers:
PluginAbout 6.0.0
PluginCodeStyleChecker 6.0.0
PluginEricapi 6.0.0
PluginEricdoc 6.0.0
PluginSyntaxChecker 6.0.0
PluginTabnanny 6.0.0
PluginVcsMercurial 6.0.0
PluginVcsPySvn 6.0.0
PluginVcsSubversion 6.0.0
PluginVmListspace 6.0.0
PluginVmTabview 6.0.0
PluginWizardE5MessageBox 6.0.0
PluginWizardPyRegExp 6.0.0
PluginWizardQColorDialog 6.0.0
PluginWizardQFileDialog 6.0.0
PluginWizardQFontDialog 6.0.0
PluginWizardQInputDialog 6.0.0
PluginWizardQMessageBox 6.0.0
PluginWizardQRegExp 6.0.0
PluginWizardQRegularExpression 6.0.0

File: D:\Program Files\Python\Python34\Lib\site-packages\eric6\eric6.py
Line: 167
Function: excepthook

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • Mr_dsw
    Antway_ 2016-02-16 13:17

    rgument 1 has unexpected type ‘str’,提示的是参数不对

    点赞 评论

相关推荐