-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
bug reportSomething is not working properlySomething is not working properlypythonIssue is about Python related stuff, including pipIssue is about Python related stuff, including pip
Description
Problem description
Download repo
tool and run repo init
λ [~] $ wget https://storage.googleapis.com/git-repo-downloads/repo -O repo
--2022-02-07 09:12:01-- https://storage.googleapis.com/git-repo-downloads/repo
Resolving storage.googleapis.com... 2404:6800:4005:80b::2010, 2404:6800:4005:812::2010, 2404:6800:4005:813::2010, ...
Connecting to storage.googleapis.com|2404:6800:4005:80b::2010|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45277 (44K) [application/octet-stream]
Saving to: ‘repo’
repo 100�====>] 44.22K --.-KB/s in 0.1s
2022-02-07 09:12:01 (319 KB/s) - ‘repo’ saved [45277/45277]
λ [~] $ chmod +x repo
λ [~] $ repo init
Downloading Repo source from https://gerrit.googlesource.com/git-repo
Traceback (most recent call last):
File "/data/data/com.termux/files/home/.repo/repo/main.py", line 39, in <module>
import event_log
File "/data/data/com.termux/files/home/.repo/repo/event_log.py", line 163, in <module>
_EVENT_ID = multiprocessing.Value('i', 1)
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/context.py", line 135, in Value
return Value(typecode_or_type, *args, lock=lock,
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/sharedctypes.py", line 74, in Value
obj = RawValue(typecode_or_type, *args)
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/sharedctypes.py", line 49, in RawValue
obj = _new_value(type_)
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/sharedctypes.py", line 41, in _new_value
wrapper = heap.BufferWrapper(size)
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/heap.py", line 331, in __init__
block = BufferWrapper._heap.malloc(size)
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/heap.py", line 309, in malloc
(arena, start, stop) = self._malloc(size)
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/heap.py", line 192, in _malloc
return self._new_arena(size)
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/heap.py", line 166, in _new_arena
arena = Arena(length)
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/heap.py", line 85, in __init__
dir=self._choose_dir(size))
File "/data/data/com.termux/files/usr/lib/python3.10/multiprocessing/heap.py", line 95, in _choose_dir
st = os.statvfs(d)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/shm'
λ [~] $
What steps will reproduce the bug?
wget https://storage.googleapis.com/git-repo-downloads/repo -O repo
chmod +x repo
repo init
What is the expected behavior?
No response
System information
termux-info:
Application version:
0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages.termux.org/apt/termux-main/ stable main
# game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
# sources.list.d/unstable.list
deb https://packages.termux.org/apt/termux-unstable unstable main
# science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
Updatable packages:
git/stable 2.35.1 aarch64 [upgradable from: 2.35.0]
Android version:
9
Kernel build information:
Linux localhost 4.14.94+ #1 SMP PREEMPT Mon Nov 18 23:44:03 CST 2019 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi Note 8 Pro
truboxl, Mark-Joy and RExtafa
Metadata
Metadata
Assignees
Labels
bug reportSomething is not working properlySomething is not working properlypythonIssue is about Python related stuff, including pipIssue is about Python related stuff, including pip