2 witch1990 witch1990 于 2016.02.16 16:50 提问

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
Mr_dsw   Ds   Rxr 2016.02.16 21:17

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

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!