问题描述
- 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:UsersASUS_eric6eric6_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 FilesPythonPython34Libsite-packageseric6ProjectProjectFormsBrowser.py”, line 840, in generateDialogCode
dlg = CreateDialogCodeDialog(fn, self.project, self)
File “D:Program FilesPythonPython34Libsite-packageseric6ProjectCreateDialogCodeDialog.py”, line 128, in __init
self.__updateSlotsModel()
File “D:Program FilesPythonPython34Libsite-packageseric6ProjectCreateDialogCodeDialog.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.0File: D:Program FilesPythonPython34Libsite-packageseric6eric6.py
Line: 167
Function: excepthook
解决方案
rgument 1 has unexpected type ‘str’,提示的是参数不对