chubin / chubin/cheat.sh

standalone mode failed

Open
#370 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Python 3.10.2
pip 22.0.2

I've installed all this:

`https://raw.githubusercontent.com/chubin/cheat.sh/46d1a5f73c6b88da15d809154245dbf234e9479e/requirements.txt`
This is the error with mode=auto

```
Traceback (most recent call last):
File "/home/realtica/.cheat.sh/lib/standalone.py", line 17, in
import cheat_wrapper
File "/home/realtica/.cheat.sh/lib/cheat_wrapper.py", line 14, in
from routing import get_answers, get_topics_list
File "/home/realtica/.cheat.sh/lib/routing.py", line 15, in
import adapter.cheat_sheets
File "/home/realtica/.cheat.sh/lib/adapter/__init__.py", line 18, in
from . import *
File "/home/realtica/.cheat.sh/lib/adapter/question.py", line 15, in
from polyglot.detect import Detector
File "/home/realtica/.cheat.sh/ve/lib/python3.9/site-packages/polyglot/detect/__init__.py", line 1, in
from .base import Detector, Language
File "/home/realtica/.cheat.sh/ve/lib/python3.9/site-packages/polyglot/detect/base.py", line 11, in
from icu import Locale
File "/home/realtica/.cheat.sh/ve/lib/python3.9/site-packages/icu/__init__.py", line 37, in
from ._icu_ import *
ImportError: libicui18n.so.71: cannot open shared object file: No such file or directory
```

Contributor guide

Open the contributing guide

Research direction

Start with lib/standalone.py and follow its imports through lib/adapter/question.py, then inspect the pinned requirements.txt and reproduce mode=auto in the reported Python environment. Done means standalone mode starts without the reported ICU import error and its behavior is covered by an appropriate test or documented reproduction.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.