Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法更新 #4363

Open
4 tasks done
KamikoshiSorawo opened this issue Nov 7, 2024 · 1 comment
Open
4 tasks done

无法更新 #4363

KamikoshiSorawo opened this issue Nov 7, 2024 · 1 comment
Labels
bug / 缺陷 Something isn't working

Comments

@KamikoshiSorawo
Copy link

在提问之前...

  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经阅读了 Wiki 中的 常见问题(FAQ)
  • 我正在使用最新版的 Alas

描述你的问题

更新器界面报错

如何复现

  1. 前往 '...'
  2. 点击 '....'
  3. 滑动到 '....'
  4. 出现问题

预期行为

No response

相关 Logs

+-------------------------- Traceback (most recent call last) ---------------------------+
|                                                                                        |
| C:\Users\lafe\Desktop\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\session\thr |
| eadbased.py:254 in run                                                                 |
|                                                                                        |
|   253                 try:                                                             |
| > 254                     callback(event['data'])                                      |
|   255                 except Exception as e:                                           |
|                                                                                        |
| +-------------------------------------- locals --------------------------------------+ |
| | callback = <function put_buttons.<locals>.click_callback at 0x00000256F83A8E58>    | |
| |        e = TypeError("'NoneType' object is not iterable")                          | |
| |    event = {                                                                       | |
| |                'event': 'callback',                                                | |
| |                'task_id': 'CB-click_callback-RXvUhQviRa',                          | |
| |                'data': 0                                                           | |
| |            }                                                                       | |
| |     self = <pywebio.session.threadbased.ThreadBasedSession object at               | |
| |            0x00000256F7D5FE08>                                                     | |
| +------------------------------------------------------------------------------------+ |
| C:\Users\lafe\Desktop\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\output.py:8 |
| 01 in click_callback                                                                   |
|                                                                                        |
|    800         if isinstance(onclick, Sequence):                                       |
| >  801             return onclick[btn_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 0x00000256F7D5A288>>                                                  | |
| |           ]                                                                        | |
| |  values = ['']                                                                     | |
| +------------------------------------------------------------------------------------+ |
|                                                                                        |
| C:\Users\lafe\Desktop\AzurLaneAutoScript\toolkit\lib\site-packages\pywebio\output.py:1 |
| 796 in wrapper                                                                         |
|                                                                                        |
|   1795             try:                                                                |
| > 1796                 return func(*args, **kwargs)                                    |
|   1797             finally:                                                            |
|                                                                                        |
| +------------------------------ locals -------------------------------+                |
| |   args = (<module.webui.app.AlasGUI object at 0x00000256F7D5A288>,) |                |
| |   func = <function AlasGUI.dev_update at 0x00000256F7B1BE58>        |                |
| | kwargs = {}                                                         |                |
| |   self = <pywebio.output.use_scope_ object at 0x00000256F7B17F88>   |                |
| +---------------------------------------------------------------------+                |
|                                                                                        |
| C:\Users\lafe\Desktop\AzurLaneAutoScript\module\webui\app.py:874 in dev_update         |
|                                                                                        |
|    873                                                                                 |
| >  874         update_table()

截图

Screenshot_2024-11-08-00-12-50-498_youqu android todesk

还有别的吗?

No response

@KamikoshiSorawo KamikoshiSorawo added the bug / 缺陷 Something isn't working label Nov 7, 2024
@KamikoshiSorawo
Copy link
Author

重新解压后还是这样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / 缺陷 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant