无法自动更新 #4060
huizhu963
started this conversation in
Show and tell
无法自动更新
#4060
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
应用发生内部错误
×
+-------------------------- Traceback (most recent call last) ---------------------------+
| |
| E:\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\session\threadbased.py:254 in |
| run |
| |
| 253 try: |
| > 254 callback(event['data']) |
| 255 except Exception as e: |
| |
| +-------------------------------------- locals --------------------------------------+ |
| | callback = <function put_buttons..click_callback at 0x000001897DD1D678> | |
| | e = TypeError("'NoneType' object is not iterable") | |
| | event = { | |
| | 'event': 'callback', | |
| | 'task_id': 'CB-click_callback-ia0uzJzzXI', | |
| | 'data': 0 | |
| | } | |
| | self = <pywebio.session.threadbased.ThreadBasedSession object at | |
| | 0x000001897DCE0A08> | |
| +------------------------------------------------------------------------------------+ |
| E:\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\output.py:801 in |
| click_callback |
| |
| 800 if isinstance(onclick, Sequence): |
| > 801 return onclickbtn_idx |
| 802 else: |
| |
| +-------------------------------------- locals --------------------------------------+ |
| | btn_idx = 0 | |
| | btns = [{'label': '更新器', 'value': 0, 'color': 'menu', 'disabled': False}] | |
| | onclick = [ | |
| | <bound method AlasGUI.dev_update of <module.webui.app.AlasGUI object | |
| | at 0x000001897DCE7048>> | |
| | ] | |
| | values = [''] | |
| +------------------------------------------------------------------------------------+ |
| |
| E:\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\output.py:1796 in wrapper |
| |
| 1795 try: |
| > 1796 return func(*args, **kwargs) |
| 1797 finally: |
| |
| +------------------------------ locals -------------------------------+ |
| | args = (<module.webui.app.AlasGUI object at 0x000001897DCE7048>,) | |
| | func = <function AlasGUI.dev_update at 0x000001897DAFA048> | |
| | kwargs = {} | |
| | self = <pywebio.output.use_scope_ object at 0x000001897DAE6F08> | |
| +---------------------------------------------------------------------+ |
| |
| E:\AzurLaneAutoScript\module\webui\app.py:880 in dev_update |
| |
| 879 |
| > 880 update_table() |
| 881 self.task_handler.add(updater_switch.g(), delay=0.5, pending_delete=Tru |
| |
| +-------------------------------------- locals --------------------------------------+ |
| | self = <module.webui.app.AlasGUI object at 0x000001897DCE7048> | |
| | u = <function AlasGUI.dev_update..u at 0x000001897DD97168> | |
| | update_table = <function AlasGUI.dev_update..update_table at | |
| | 0x000001897DF388B8> | |
| | updater_switch = <module.webui.utils.Switch object at 0x000001897DD595C8> | |
| +------------------------------------------------------------------------------------+ |
| |
| E:\AzurLaneAutoScript\module\webui\app.py:761 in update_table |
| |
| 760 t("Gui.Update.Time"), |
| > 761 t("Gui.Update.Message"), |
| 762 ], |
| |
| +------------------ locals ------------------+ |
| | history = (None, None, None, None) | |
| | local_commit = (None, None, None, None) | |
| | upstream_commit = (None, None, None, None) | |
| +--------------------------------------------+ |
| |
| E:\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\io_ctrl.py:199 in inner |
| |
| 198 try: |
| > 199 return func(*args, **kwargs) |
| 200 except Exception: |
| |
| +-------------------------------------- locals --------------------------------------+ |
| | args = ([None, None, None, None],) | |
| | bound = OrderedDict([('tdata', [None, None, None, None]), ('header', | |
| | ['SHA1', '作者', '提交时间', '提交信息'])]) | |
| | content_param = 'tdata' | |
| | func = <function put_table at 0x000001897CF8D288> | |
| | kwargs = {'header': ['SHA1', '作者', '提交时间', '提交信息']} | |
| | param = 'tdata' | |
| | params = ['tdata'] | |
| | sig = <Signature (tdata, header=None, scope=None, position=-1) -> | |
| | pywebio.io_ctrl.Output> | |
| +------------------------------------------------------------------------------------+ |
| |
| E:\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\output.py:657 in put_table |
| |
| 656 else: |
| > 657 tdata = [list(i) for i in tdata] # copy data |
| 658 |
| |
| +---------------------- locals -----------------------+ |
| | header = ['SHA1', '作者', '提交时间', '提交信息'] | |
| | position = -1 | |
| | scope = None | |
| | tdata = [None, None, None, None] | |
| +-----------------------------------------------------+ |
| |
| E:\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\output.py:657 in |
| |
| 656 else: |
| > 657 tdata = [list(i) for i in tdata] # copy data |
| 658 |
| |
| +--------------------- locals ----------------------+ |
| | .0 = <list_iterator object at 0x000001897E13EB88> | |
| | i = None | |
| +---------------------------------------------------+ |
+----------------------------------------------------------------------------------------+
TypeError: 'NoneType' object is not iterable
Beta Was this translation helpful? Give feedback.
All reactions