Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

python-bidi & pybidi vs buildozer (no recipe in .buildozer/...)

Open
#3,166 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, python

Research direction

Start with the buildozer configuration and the generated .buildozer/android/app/main.py, then reproduce the APK failure and inspect the adb logcat traceback. Check how the build handles the python-bidi and pybidi dependencies; done means the packaged APK can import the requested bidi module and run past main.py line 9.

Written by the indexing model from the issue text.

Description

recipe

Hello everyone,

I am using python-bidi and arabic-reshaper in my project to use Arabic letters (right to left) however, buildozer always returns an error about python-bidi and I couldn't get any solution for this so far and there is no bidi alternative whatsoever. pybidi is also not working at all

I may have a knowledge gap whether only Arabic Reshaper (works without issue) can solve my problem or not but there is no doubt buildozer is not compiling bidi as far as I am concerned.

I already managed building apk and installed on a phone but it's not working.

Here is where it got stuck based on adb logcat;
......................
06-26 10:33:48.659 7782 7822 I python : Traceback (most recent call last):
06-26 10:33:48.659 7782 7822 I python : File "/home/meto/Desktop/project/.buildozer/android/app/main.py", line 9, in
06-26 10:33:48.660 7782 7822 I python : ModuleNotFoundError: No module named 'bidi'
06-26 10:33:48.660 7782 7822 I python : Python for android ended.
06-26 10:33:48.726 6369 6369 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.chromesync.service.zeroparty.START dat=chimera-action: cmp=com.google.android.gms/.chimera.GmsApiService }
06-26 10:33:48.929 7782 7822 E libc++abi: terminating
06-26 10:33:48.929 7782 7822 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 7822 (SDLThread), pid 7782 (SDLActivity)
......................
"main.py", line 9" has this line of code "from bidi.algorithm import get_display"

Also tried with pybid but it returns this error;
.............................../main.py", line 10, in
from pybidi.algorithm import get_display
ModuleNotFoundError: No module named 'pybidi'

..> pip show pybidi
Name: PyBidi
Version: 1.0
Summary: language bindings for FriBidi, for Python 3.3 or later
Home-page: https://github.com/ldo/pybidi
Author: Lawrence D'Oliveiro
Author-email: ldo@geek-central.gen.nz
License: UNKNOWN
Location: C:\Users........venv\Lib\site-

packages
Requires:
Required-by:

Can anyone guide me thru on this please? I am looking forward to hearing from you.

Many thanks in advance

Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

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 kivy/python-for-android

All issues in kivy/python-for-android

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.