当前位置:首页 » 《随便一记》 » 正文

记录python采集modbus数据传送到pyqt趋势图控件的偶然错误

2 人参与  2022年11月13日 18:49  分类 : 《随便一记》  评论

点击全文阅读


谁能帮忙解决这个错误,悬赏50块红包!
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
采集的数据是 219
(563, 219)
第1个数据: 563
第2个数据: 219
TypeError
Python 3.8.5: C:\Users\lhd_m\AppData\Local\Programs\Python\Python38\python.exe
Sun Nov 13 15:32:02 2022

A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
TypeError: Line() missing 1 required positional argument: ‘yinput’
cause = None
class = <class ‘TypeError’>
context = None
delattr = <method-wrapper ‘delattr’ of TypeError object>
dict = {}
dir =
doc = ‘Inappropriate argument type.’
eq = <method-wrapper ‘eq’ of TypeError object>
format =
ge = <method-wrapper ‘ge’ of TypeError object>
getattribute = <method-wrapper ‘getattribute’ of TypeError object>
gt = <method-wrapper ‘gt’ of TypeError object>
hash = <method-wrapper ‘hash’ of TypeError object>
init = <method-wrapper ‘init’ of TypeError object>
init_subclass =
le = <method-wrapper ‘le’ of TypeError object>
lt = <method-wrapper ‘lt’ of TypeError object>
ne = <method-wrapper ‘ne’ of TypeError object>
new =
reduce =
reduce_ex =
repr = <method-wrapper ‘repr’ of TypeError object>
setattr = <method-wrapper ‘setattr’ of TypeError object>
setstate =
sizeof =
str = <method-wrapper ‘str’ of TypeError object>
subclasshook =
suppress_context = False
traceback = None
args = (“Line() missing 1 required positional argument: ‘yinput’”,)
with_traceback =

The above is a description of an error in a Python program. Here is
the original traceback:

TypeError: Line() missing 1 required positional argument: ‘yinput’


点击全文阅读


本文链接:http://zhangshiyu.com/post/48250.html

<< 上一篇 下一篇 >>

  • 评论(0)
  • 赞助本站

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

关于我们 | 我要投稿 | 免责申明

Copyright © 2020-2022 ZhangShiYu.com Rights Reserved.豫ICP备2022013469号-1