我真的想添加更多上下文,但目前我只是迷路了。当我单击链接以显示它失败的哪一行指向此('win32gui.PumpMessages()')时,我可以说它似乎发生在计算机处于待机状态一个小时左右之后。感谢您对我的任何帮助/指责。我只是需要帮助。谢谢
下面是它失败的区域的片段。
window_class.lpfnWndProc = message_map # could also specify a wndproc.
classAtom = win32gui.RegisterClass(window_class)
# Create the Window.
style = win32con.WS_OVERLAPPED | win32con.WS_SYSMENU
self.hwnd = win32gui.CreateWindow(classAtom, self.window_class_name, style, 0, 0, win32con.CW_USEDEFAULT,
win32con.CW_USEDEFAULT, 0, 0, hinst, None)
win32gui.UpdateWindow(self.hwnd)
self.notify_id = None
self.refresh_icon()
t = Timer(01.0, self.Deskinfo_update_version)
t.start()
win32gui.PumpMessages()
以下是错误:
Fatal Python error: Cannot recover from stack overflow.
Python runtime state: initialized
Current thread 0x00003f48 (most recent call first):
File "C:\Users\johns\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 192 in putline
File "C:\Users\johns\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 201 in putcmd
File "C:\Users\johns\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 274 in sendcmd
File "C:\Users\johns\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 401 in login
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 206 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 226 in download
...
Thread 0x00001758 (most recent call first):
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 129 in __init__
File "C:/Users/johns/PycharmProjects/Deskinfo_sys_tray/main.py", line 506 in <module>
Process finished with exit code -1073740791 (0xC0000409)