OSError: Yajl cannot be found.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing python -m openaoe.main -f openaoe/backend/config/config-template.yaml on macOS and trace the import path through openaoe/main.py, openaoe/backend/api/route_google.py, and openaoe/backend/service/service_google.py. Inspect how the jsonstreamer dependency loads Yajl and identify the supported project setup for that library. Done means the command starts without OSError: Yajl cannot be found.
Written by the indexing model from the issue text.
Description
MacOS:
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 10, in <module>
from openaoe.backend.api.route_google import router as google
File "/Users/zhangsongyang/Projects/OpenAOE/openaoe/backend/api/route_google.py", line 4, in <module>
from openaoe.backend.service.service_google import palm_chat_svc, Gemma
File "/Users/zhangsongyang/Projects/OpenAOE/openaoe/backend/service/service_google.py", line 4, in <module>
from jsonstreamer import ObjectStreamer
File "/Users/zhangsongyang/miniconda3/envs/openaoe/lib/python3.8/site-packages/jsonstreamer/__init__.py", line 9, in <module>
from jsonstreamer.jsonstreamer import JSONStreamer, ObjectStreamer
File "/Users/zhangsongyang/miniconda3/envs/openaoe/lib/python3.8/site-packages/jsonstreamer/jsonstreamer.py", line 14, in <module>
from .yajl.parse import YajlParser, YajlListener, YajlError
File "/Users/zhangsongyang/miniconda3/envs/openaoe/lib/python3.8/site-packages/jsonstreamer/yajl/parse.py", line 31, in <module>
yajl = load_lib()
File "/Users/zhangsongyang/miniconda3/envs/openaoe/lib/python3.8/site-packages/jsonstreamer/yajl/parse.py", line 28, in load_lib
raise OSError('Yajl cannot be found.')
OSError: Yajl cannot be found.
- Dominant language
- TypeScript
- Stars
- 330
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InternLM/OpenAOE
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
出个安装包的吧Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in InternLM/OpenAOE
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Techiebutler/freeframe#687 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
enhancement from-app needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
nightly-labs/openbot#23050 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
vercel-labs/skills#2967 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OHDSI/Data2Evidence#3846 ·
Maintainers usually reply within 3 days