Skip to content

Onboarding issues #1

@HenryLHH

Description

@HenryLHH

你好,纯rust和flutter小白... 用pip来安装raysystem的package、以及flutter和其它dependencies后,存在如下问题:

  1. main.py也可以正常运行(但是每次command如ddg smolagent后文件输出路径找不到对应文件)
  2. flutter run -d chrome可以启动对应的GUI, 但是除了时钟等应用,OCR、咨询助手等模块都没有response。
  3. 直接启动ddg.py时有一些SQLite的报错:
DuckDuckGo crawler task executed at 1740812699.593123
Traceback (most recent call last):
  File "/path/to/RaySystem/raysystem/module/crawler/ddg/ddg.py", line 50, in <module>
    asyncio.run(ddg_crawler_task(query="machine learning"))
  File "/path/to/env/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/path/to/env/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/path/to/RaySystem/raysystem/module/crawler/ddg/ddg.py", line 19, in ddg_crawler_task
    existed = await info_is_info_exists_by_url(result['href'])
  File "/path/to/RaySystem/raysystem/module/info/info.py", line 77, in info_is_info_exists_by_url
    result = await session.execute(select(Info).where(Info.url == url))
  File "/path/to/env/lib/python3.10/site-packages/sqlalchemy/ext/asyncio/session.py", line 463, in execute
    result = await greenlet_spawn(
  File "/path/to/env/lib/python3.10/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 190, in greenlet_spawn
    result = context.switch(*args, **kwargs)
  File "/path/to/env/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2365, in execute
    return self._execute_internal(
  File "/path/to/env/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2239, in _execute_internal
    bind = self.get_bind(**bind_arguments)
  File "/path/to/env/lib/python3.10/site-packages/sqlalchemy/orm/session.py", line 2845, in get_bind
    raise sa_exc.UnboundExecutionError(
sqlalchemy.exc.UnboundExecutionError: Could not locate a bind configured on mapper Mapper[Info(info)], SQL expression or this Session.

如果可以在README里加一些onboarding的基础指令就更好啦,感恩!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions