eigent icon indicating copy to clipboard operation
eigent copied to clipboard

[Feature Request] MaxListenersExceededWarning

Open Wendong-Fan opened this issue 1 month ago • 1 comments

Motivation

2025-11-21 16:16:29,630 - hybrid_browser_toolkit - INFO - [HybridBrowserToolkit] WebSocket wrapper initialized for session: ef1a0804
Webview 6 navigated to: https://www.accuweather.com/en/cn/changzhou/59572/weather-forecast/59572
(node:32252) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 webview-navigated listeners added to [IpcRenderer]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit
(Use `Electron Helper (Renderer) --trace-warnings ...` to show where the warning was created)
[info] BACKEND: 2025-11-21 16:16:36,406 - hybrid_browser_toolkit - INFO - [PROJECT BROWSER] Connecting to browser via CDP at http://localhost:9222
[info] BACKEND: 2025-11-21 16:16:36,406 - hybrid_browser_toolkit - INFO - [PROJECT BROWSER] Connecting to browser via CDP at http://localhost:9222
2025-11-21 16:16:36,406 - hybrid_browser_toolkit - INFO - [HybridBrowserToolkit] WebSocket wrapper initialized for session: ef1a0804
[info] BACKEND: 2025-11-21 16:16:36,406 - hybrid_browser_toolkit - INFO - [HybridBrowserToolkit] WebSocket wrapper initialized for session: ef1a0804
Webview 3 navigated to: https://weather.com/en-BS/weather/hourbyhour/l/fce38afa686acfe105764e346df0ea8f26b8b874f5b8db30086be063c1a0a423
(node:32192) electron: Failed to load URL: https://csync-apac.smilewanted.com/?us_privacy=1--- with error: ERR_BLOCKED_BY_RESPONSE
[32246:1121/161647.798052:ERROR:ffmpeg_common.cc(970)] Unsupported pixel format: -1
[info] BACKEND: 2025-11-21 16:17:03,296 - agent - INFO - Agent search_agent completed step, tokens used: 126466
[info] BACKEND: 2025-11-21 16:17:03,296 - agent - INFO - Agent search_agent completed step, tokens used: 126466
======
Response from Worker node dd45555e-39af-4d55-9485-6ac07c7b54bf (Search Agent: Can search the web, extract webpage content, simulate browser actions, and provide relevant information to solve the given task.):
[info] BACKEND: 2025-11-21 16:17:03,299 - single_agent_worker - INFO - Response from Worker node dd45555e-39af-4d55-9485-6ac07c7b54bf (Search Agent: Can search the web, extract webpage content, simulate browser actions, and provide relevant information to solve the given task.):
2025-11-21 16:17:03,299 - single_agent_worker - INFO - Current weather conditions for today in Changzhou, China:
- Temperature: 16°C (as of 16:15–16:16 local time)
- Weather description: Sunny/clear
- Humidity: 48%
- Wind: Northwest (NW or WNW) at 8–10 km/h, with gusts up to 19 km/h

Details from two reliable sources:
- AccuWeather: https://www.accuweather.com/en/cn/changzhou/59572/weather-forecast/59572
- The Weather Channel: https://weather.com/en-BS/weather/hourbyhour/l/fce38afa686acfe105764e346df0ea8f26b8b874f5b8db30086be063c1a0a423
[info] BACKEND: 2025-11-21 16:17:03,299 - single_agent_worker - INFO - Response from Worker node dd45555e-39af-4d55-9485-6ac07c7b54bf (Search Agent: Can search the web, extract webpage content, simulate browser actions, and provide relevant information to solve the given task.):

Current weather conditions for today in Changzhou, China:
- Temperature: 16°C (as of 16:15–16:16 local time)
- Weather description: Sunny/clear
- Humidity: 48%
- Wind: Northwest (NW or WNW) at 8–10 km/h, with gusts up to 19 km/h

Details from two reliable sources:
- AccuWeather: https://www.accuweather.com/en/cn/changzhou/59572/weather-forecast/59572
- The Weather Channel: https://weather.com/en-BS/weather/hourbyhour/l/fce38afa686acfe105764e346df0ea8f26b8b874f5b8db30086be063c1a0a423
======
2025-11-21 16:17:03,299 - single_agent_worker - INFO - Current weather conditions for today in Changzhou, China:
- Temperature: 16°C (as of 16:15–16:16 local time)
- Weather description: Sunny/clear
- Humidity: 48%
- Wind: Northwest (NW or WNW) at 8–10 km/h, with gusts up to 19 km/h

Details from two reliable sources:
- AccuWeather: https://www.accuweather.com/en/cn/changzhou/59572/weather-forecast/59572
- The Weather Channel: https://weather.com/en-BS/weather/hourbyhour/l/fce38afa686acfe105764e346df0ea8f26b8b874f5b8db30086be063c1a0a423
[info] BACKEND: Task 1763712917441-8439.1 completed successfully (quality score: 100).
[info] BACKEND: 2025-11-21 16:17:05,911 - workforce - INFO - [TASK-RESULT] SUB-TASK COMPLETED: 1763712917441-8439.1
2025-11-21 16:17:05,911 - workforce - INFO - [TASK-RESULT] Content: Search the web to find the current weather conditions for today in Changzhou, China. The deliverable should be a summary including temperature, weather description, humidity, and wind conditions, alon...
2025-11-21 16:17:05,911 - workforce - INFO - [TASK-RESULT] Result: Current weather conditions for today in Changzhou, China:
- Temperature: 16°C (as of 16:15–16:16 local time)
- Weather description: Sunny/clear
- Humidity: 48%
- Wind: Northwest (NW or WNW) at 8–10 km/h, with gusts up to 19 km/h

Details from two reliable sources:
- AccuWeather: https://www.accuweather.com/en/cn/changzhou/59572/weather-forecast/59572
- The Weather Channel: https://weather.com/en-BS/weather/hourbyhour/l/fce38afa686acfe105764e346df0ea8f26b8b874f5b8db30086be063c1a0a423
✅ Task 1763712917441-8439.1 completed and removed from queue.
2025-11-21 16:17:05,911 - workforce - INFO - [TASK-RESULT] MAIN TASK COMPLETED: 1763712917441-8439
2025-11-21 16:17:05,912 - workforce - INFO - [TASK-RESULT] Content: search today's weather in changzhou
2025-11-21 16:17:05,912 - workforce - INFO - [TASK-RESULT] Result: --- Subtask 1763712917441-8439.1 Result ---
Current weather conditions for today in Changzhou, China:
- Temperature: 16°C (as of 16:15–16:16 local time)
- Weather description: Sunny/clear
- Humidity: 48%
- Wind: Northwest (NW or WNW) at 8–10 km/h, with gusts up to 19 km/h

Details from two reliable sources:
- AccuWeather: https://www.accuweather.com/en/cn/changzhou/59572/weather-forecast/59572
- The Weather Channel: https://weather.com/en-BS/weather/hourbyhour/l/fce38afa686acfe105764e346df0ea8f2...
[info] BACKEND: 2025-11-21 16:17:05,911 - workforce - INFO - [TASK-RESULT] SUB-TASK COMPLETED: 1763712917441-8439.1
2025-11-21 16:17:05,911 - workforce - INFO - [TASK-RESULT] Content: Search the web to find the current weather conditions for today in Changzhou, China. The deliverable should be a summary including temperature, weather description, humidity, and wind conditions, alon...
2025-11-21 16:17:05,911 - workforce - INFO - [TASK-RESULT] Result: Current weather conditions for today in Changzhou, China:
- Temperature: 16°C (as of 16:15–16:16 local time)
- Weather description: Sunny/clear
- Humidity: 48%
- Wind: Northwest (NW or WNW) at 8–10 km/h, with gusts up to 19 km/h

Details from two reliable sources:
- AccuWeather: https://www.accuweather.com/en/cn/changzhou/59572/weather-forecast/59572
- The Weather Channel: https://weather.com/en-BS/weather/hourbyhour/l/fce38afa686acfe105764e346df0ea8f26b8b874f5b8db30086be063c1a0a423
2025-11-21 16:17:05,911 - workforce - INFO - [TASK-RESULT] MAIN TASK COMPLETED: 1763712917441-8439
2025-11-21 16:17:05,912 - workforce - INFO - [TASK-RESULT] Content: search today's weather in changzhou
2025-11-21 16:17:05,912 - workforce - INFO - [TASK-RESULT] Result: --- Subtask 1763712917441-8439.1 Result ---
Current weather conditions for today in Changzhou, China:
- Temperature: 16°C (as of 16:15–16:16 local time)
- Weather description: Sunny/clear
- Humidity: 48%
- Wind: Northwest (NW or WNW) at 8–10 km/h, with gusts up to 19 km/h

Details from two reliable sources:
- AccuWeather: https://www.accuweather.com/en/cn/changzhou/59572/weather-forecast/59572
- The Weather Channel: https://weather.com/en-BS/weather/hourbyhour/l/fce38afa686acfe105764e346df0ea8f2...
[error] BACKEND: 2025-11-21 16:17:05,964 - chat_service - ERROR - Unhandled exception for task 1763712740429-6318, action end: 'ActionEndData' object has no attribute 'data'
Traceback (most recent call last):
  File "/Users/enrei/Desktop/repos/eigent1119/eigent/backend/app/service/chat_service.py", line 695, in step_solve
    final_result: str = str(item.data) if item.data else "Task completed"
  File "/Users/enrei/.eigent/venvs/backend-0.0.72/lib/python3.10/site-packages/pydantic/main.py", line 991, in __getattr__
    raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
AttributeError: 'ActionEndData' object has no attribute 'data'
[error] BACKEND: 2025-11-21 16:17:05,964 - chat_service - ERROR - Unhandled exception for task 1763712740429-6318, action end: 'ActionEndData' object has no attribute 'data'
Traceback (most recent call last):
  File "/Users/enrei/Desktop/repos/eigent1119/eigent/backend/app/service/chat_service.py", line 695, in step_solve
    final_result: str = str(item.data) if item.data else "Task completed"
  File "/Users/enrei/.eigent/venvs/backend-0.0.72/lib/python3.10/site-packages/pydantic/main.py", line 991, in __getattr__
    raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
AttributeError: 'ActionEndData' object has no attribute 'data'

Solution

No response

Alternatives

No response

Additional context

No response

Wendong-Fan avatar Nov 21 '25 08:11 Wendong-Fan