main
杨博文 1 month ago
parent 49701069c8
commit 5515bb44c6

@ -1,113 +0,0 @@
2025-12-26 22:45:58,501 - client.ui.login_dialog - INFO - LoginDialog initialized
2025-12-26 22:46:20,014 - client.ui.login_dialog - INFO - User registered and logged in: ybw
2025-12-26 22:46:21,293 - client.ui.main_window - INFO - MainWindow initialized
2025-12-26 22:46:21,293 - client.ui.main_window - INFO - Current user set: ybw
2025-12-26 22:46:21,333 - client.ui.system_tray - INFO - SystemTrayManager initialized
2025-12-26 22:46:21,441 - client.connection_manager - INFO - ConnectionManager initialized
2025-12-26 22:46:21,442 - client.file_transfer - INFO - FileTransferModule initialized
2025-12-26 22:46:21,443 - client.image_processor - INFO - ImageProcessor initialized
2025-12-26 22:46:21,443 - client.media_player - INFO - AudioPlayer initialized
2025-12-26 22:46:21,443 - client.media_player - INFO - VideoPlayer initialized
2025-12-26 22:46:21,443 - client.media_player - INFO - MediaPlayer initialized
2025-12-26 22:46:21,443 - client.app - INFO - P2PClientApp initialized
2025-12-26 22:46:21,452 - client.connection_manager - INFO - Connection state changed: disconnected -> connecting (Connecting to server)
2025-12-26 22:46:21,452 - client.app - INFO - Connection state changed: connecting (Connecting to server)
2025-12-26 22:46:23,591 - client.connection_manager - INFO - Connection state changed: connecting -> error (Network error: [WinError 1225] 远程计算机拒绝网络连接。)
2025-12-26 22:46:23,591 - client.app - INFO - Connection state changed: error (Network error: [WinError 1225] 远程计算机拒绝网络连接。)
2025-12-26 22:46:23,591 - client.app - ERROR - Failed to start client: Failed to connect: [WinError 1225] 远程计算机拒绝网络连接。
2025-12-26 22:48:08,584 - client.ui.login_dialog - INFO - LoginDialog initialized
2025-12-26 22:48:17,200 - client.ui.login_dialog - INFO - User registered and logged in: ybw
2025-12-26 22:48:17,787 - client.ui.main_window - INFO - MainWindow initialized
2025-12-26 22:48:17,787 - client.ui.main_window - INFO - Current user set: ybw
2025-12-26 22:48:17,802 - client.ui.system_tray - INFO - SystemTrayManager initialized
2025-12-26 22:48:17,871 - client.connection_manager - INFO - ConnectionManager initialized
2025-12-26 22:48:17,873 - client.file_transfer - INFO - FileTransferModule initialized
2025-12-26 22:48:17,873 - client.image_processor - INFO - ImageProcessor initialized
2025-12-26 22:48:17,873 - client.media_player - INFO - AudioPlayer initialized
2025-12-26 22:48:17,874 - client.media_player - INFO - VideoPlayer initialized
2025-12-26 22:48:17,874 - client.media_player - INFO - MediaPlayer initialized
2025-12-26 22:48:17,874 - client.app - INFO - P2PClientApp initialized
2025-12-26 22:48:17,881 - client.connection_manager - INFO - Connection state changed: disconnected -> connecting (Connecting to server)
2025-12-26 22:48:17,881 - client.app - INFO - Connection state changed: connecting (Connecting to server)
2025-12-26 22:48:17,925 - client.connection_manager - INFO - Connection state changed: connecting -> connected (Connected to server)
2025-12-26 22:48:17,926 - client.app - INFO - Connection state changed: connected (Connected to server)
2025-12-26 22:48:17,927 - client.connection_manager - INFO - LAN listener started on port 8889
2025-12-26 22:48:17,927 - client.connection_manager - INFO - Connected to server 113.45.148.222:8888
2025-12-26 22:48:17,928 - client.app - INFO - Client started for user: ybw
2025-12-26 22:48:17,928 - client.app - ERROR - Failed to start client: 'ConnectionManager' object has no attribute 'audio_sample_rate'
2025-12-26 22:55:46,116 - client.ui.login_dialog - INFO - LoginDialog initialized
2025-12-26 22:56:08,430 - client.ui.login_dialog - INFO - User logged in: ybw
2025-12-26 22:56:08,969 - client.ui.main_window - INFO - MainWindow initialized
2025-12-26 22:56:08,969 - client.ui.main_window - INFO - Current user set: ybw
2025-12-26 22:56:08,982 - client.ui.system_tray - INFO - SystemTrayManager initialized
2025-12-26 22:56:09,057 - client.connection_manager - INFO - ConnectionManager initialized
2025-12-26 22:56:09,059 - client.file_transfer - INFO - FileTransferModule initialized
2025-12-26 22:56:09,061 - client.image_processor - INFO - ImageProcessor initialized
2025-12-26 22:56:09,061 - client.media_player - INFO - AudioPlayer initialized
2025-12-26 22:56:09,062 - client.media_player - INFO - VideoPlayer initialized
2025-12-26 22:56:09,062 - client.media_player - INFO - MediaPlayer initialized
2025-12-26 22:56:09,062 - client.app - INFO - P2PClientApp initialized
2025-12-26 22:56:09,067 - client.connection_manager - INFO - Connection state changed: disconnected -> connecting (Connecting to server)
2025-12-26 22:56:09,067 - client.app - INFO - Connection state changed: connecting (Connecting to server)
2025-12-26 22:56:09,109 - client.connection_manager - INFO - Connection state changed: connecting -> connected (Connected to server)
2025-12-26 22:56:09,109 - client.app - INFO - Connection state changed: connected (Connected to server)
2025-12-26 22:56:09,110 - client.connection_manager - INFO - LAN listener started on port 8889
2025-12-26 22:56:09,110 - client.connection_manager - INFO - Connected to server 113.45.148.222:8888
2025-12-26 22:56:09,111 - client.app - INFO - Client started for user: ybw
2025-12-26 22:56:09,111 - client.voice_chat - INFO - VoiceChatModule initialized
2025-12-26 22:56:09,112 - __main__ - INFO - Connected to server
2025-12-26 22:56:09,132 - client.app - INFO - Online users updated: 1 users
2025-12-26 22:56:09,133 - __main__ - INFO - Online users: 1
2025-12-26 22:56:09,633 - client.app - INFO - Online users updated: 1 users
2025-12-26 22:56:09,634 - __main__ - INFO - Online users: 1
2025-12-26 22:58:17,789 - client.ui.main_window - INFO - MainWindow cleanup
2025-12-26 22:58:17,802 - __main__ - INFO - Cleaning up resources...
2025-12-26 22:58:17,803 - __main__ - ERROR - Worker error: Event loop stopped before Future completed.
2025-12-26 22:58:17,806 - __main__ - ERROR - Error stopping client: Event loop is closed
2025-12-26 22:58:17,806 - __main__ - INFO - Cleanup completed
2025-12-26 22:58:17,893 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-1314' coro=<BaseProactorEventLoop.sock_recvfrom() done, defined at E:\Miniconda3\Lib\asyncio\proactor_events.py:710> wait_for=<_OverlappedFuture cancelled> cb=[_release_waiter(<Future pendi...ask_wakeup()]>)() at E:\Miniconda3\Lib\asyncio\tasks.py:431]>
2025-12-26 22:58:17,894 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task cancelling name='Task-3' coro=<ConnectionManager._heartbeat_loop() running at D:\onedrive\桌面\chatProgram\chatProgram\client\connection_manager.py:383> wait_for=<Future cancelled>>
2025-12-26 22:58:17,894 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<ConnectionManager._receive_loop() running at D:\onedrive\桌面\chatProgram\chatProgram\client\connection_manager.py:415> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2025-12-26 22:58:17,895 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-5' coro=<ConnectionManager._lan_listen_loop() running at D:\onedrive\桌面\chatProgram\chatProgram\client\connection_manager.py:672> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2025-12-26 23:03:26,489 - client.ui.login_dialog - INFO - LoginDialog initialized
2025-12-26 23:03:33,742 - client.ui.login_dialog - INFO - User logged in: ybw
2025-12-26 23:03:34,455 - client.ui.main_window - INFO - MainWindow initialized
2025-12-26 23:03:34,456 - client.ui.main_window - INFO - Current user set: ybw
2025-12-26 23:03:34,469 - client.ui.system_tray - INFO - SystemTrayManager initialized
2025-12-26 23:03:34,526 - client.connection_manager - INFO - ConnectionManager initialized
2025-12-26 23:03:34,529 - client.file_transfer - INFO - FileTransferModule initialized
2025-12-26 23:03:34,529 - client.image_processor - INFO - ImageProcessor initialized
2025-12-26 23:03:34,530 - client.media_player - INFO - AudioPlayer initialized
2025-12-26 23:03:34,530 - client.media_player - INFO - VideoPlayer initialized
2025-12-26 23:03:34,530 - client.media_player - INFO - MediaPlayer initialized
2025-12-26 23:03:34,530 - client.app - INFO - P2PClientApp initialized
2025-12-26 23:03:34,537 - client.connection_manager - INFO - Connection state changed: disconnected -> connecting (Connecting to server)
2025-12-26 23:03:34,537 - client.app - INFO - Connection state changed: connecting (Connecting to server)
2025-12-26 23:03:34,579 - client.connection_manager - INFO - Connection state changed: connecting -> connected (Connected to server)
2025-12-26 23:03:34,579 - client.app - INFO - Connection state changed: connected (Connected to server)
2025-12-26 23:03:34,580 - client.connection_manager - INFO - LAN listener started on port 8889
2025-12-26 23:03:34,580 - client.connection_manager - INFO - Connected to server 113.45.148.222:8888
2025-12-26 23:03:34,580 - client.app - INFO - Client started for user: ybw
2025-12-26 23:03:34,580 - client.voice_chat - INFO - VoiceChatModule initialized
2025-12-26 23:03:34,582 - __main__ - INFO - Connected to server
2025-12-26 23:03:34,602 - client.app - INFO - Online users updated: 2 users
2025-12-26 23:03:34,602 - __main__ - INFO - Online users: 2
2025-12-26 23:03:35,103 - client.app - INFO - Online users updated: 2 users
2025-12-26 23:03:35,104 - __main__ - INFO - Online users: 2
2025-12-26 23:07:22,202 - client.ui.main_window - INFO - MainWindow cleanup
2025-12-26 23:07:22,214 - __main__ - INFO - Cleaning up resources...
2025-12-26 23:07:22,214 - __main__ - ERROR - Worker error: Event loop stopped before Future completed.
2025-12-26 23:07:22,219 - __main__ - ERROR - Error stopping client: Event loop is closed
2025-12-26 23:07:22,219 - __main__ - INFO - Cleanup completed
2025-12-26 23:07:22,329 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-2321' coro=<BaseProactorEventLoop.sock_recvfrom() done, defined at E:\Miniconda3\Lib\asyncio\proactor_events.py:710> wait_for=<_OverlappedFuture cancelled> cb=[_release_waiter(<Future pendi...ask_wakeup()]>)() at E:\Miniconda3\Lib\asyncio\tasks.py:431]>
2025-12-26 23:07:22,331 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task cancelling name='Task-3' coro=<ConnectionManager._heartbeat_loop() running at D:\onedrive\桌面\chatProgram\chatProgram\client\connection_manager.py:383> wait_for=<Future cancelled>>
2025-12-26 23:07:22,332 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<ConnectionManager._receive_loop() running at D:\onedrive\桌面\chatProgram\chatProgram\client\connection_manager.py:415> wait_for=<Future pending cb=[Task.task_wakeup()]>>
2025-12-26 23:07:22,334 - asyncio - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-5' coro=<ConnectionManager._lan_listen_loop() running at D:\onedrive\桌面\chatProgram\chatProgram\client\connection_manager.py:672> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Loading…
Cancel
Save