No module named 'openaoe.backend.util.convert'

Open
#69 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Reproduce the failure with python -m openaoe.main -f openaoe/backend/config/config-template.yaml. Trace the import from openaoe/main.py through openaoe/backend/api/route_mistral.py and openaoe/backend/service/mistral.py, then determine what openaoe.backend.util.convert is expected to provide; done means the command no longer raises this ModuleNotFoundError.

Written by the indexing model from the issue text.

Description

$ python -m openaoe.main -f openaoe/backend/config/config-template.yaml
Traceback (most recent call last):
  File "/Users/zhangsongyang/miniconda3/envs/openaoe/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/zhangsongyang/miniconda3/envs/openaoe/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/zhangsongyang/Projects/OpenAOE/openaoe/main.py", line 15, in <module>
    from openaoe.backend.api.route_mistral import router as mistral
  File "/Users/zhangsongyang/Projects/OpenAOE/openaoe/backend/api/route_mistral.py", line 3, in <module>
    from openaoe.backend.service.mistral import Mistral
  File "/Users/zhangsongyang/Projects/OpenAOE/openaoe/backend/service/mistral.py", line 11, in <module>
    from openaoe.backend.util.convert import body_convert
ModuleNotFoundError: No module named 'openaoe.backend.util.convert'
Dominant language
TypeScript
Stars
330
Forks
29
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InternLM/OpenAOE

All issues in InternLM/OpenAOE

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.