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

run_task.py 有问题 #287

Open
zndx1002070101 opened this issue Mar 5, 2025 · 2 comments
Open

run_task.py 有问题 #287

zndx1002070101 opened this issue Mar 5, 2025 · 2 comments

Comments

@zndx1002070101
Copy link

我迟迟看不到在爬取就CTRL+C中断了, 在运行就报错了。

Traceback (most recent call last):
File "C:\Users\yuanl\wiseflow\core\run_task.py", line 36, in
asyncio.run(schedule_task())
File "C:\Users\yuanl\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\yuanl\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yuanl\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Users\yuanl\wiseflow\core\run_task.py", line 32, in schedule_task
await asyncio.gather(*jobs)
File "C:\Users\yuanl\wiseflow\core\general_process.py", line 88, in main_process
search_intent, search_content = await run_v4_async(query, _logger=wiseflow_logger)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: cannot unpack non-iterable NoneType object
Error running run_task.py: Command '['C:\Users\yuanl\myenv\Scripts\python.exe', 'C:\Users\yuanl\wiseflow\core\run_task.py']' returned non-zero exit status 1.

@bigbrother666sh
Copy link
Member

更新代码

另外,请注意科学的提 issue,包括 title 应该是简洁而精确的描述具体问题

@xjEthan
Copy link

xjEthan commented Mar 8, 2025

我把focus_points里的 search_engine 关掉,就可以执行了. 如果想用search_engine的话, 需要设置ZHIPU_API_KEY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants