mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Anki is a smart spaced repetition flashcard program
![]() On a Linux machine here, the tests consistently fail when two copies of black are run at once: % bazel test //qt:format_check //pylib:format_check --cache_test_results=no ==================== Test output for //qt:format_check: Process SyncManager-1: Traceback (most recent call last): File "/home/dae/.cache/bazel/_bazel_dae/fc22e40cbbf8b7d16ac57a00991b1ef1/external/python/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/home/dae/.cache/bazel/_bazel_dae/fc22e40cbbf8b7d16ac57a00991b1ef1/external/python/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/dae/.cache/bazel/_bazel_dae/fc22e40cbbf8b7d16ac57a00991b1ef1/external/python/lib/python3.9/multiprocessing/managers.py", line 583, in _run_server server = cls._Server(registry, address, authkey, serializer) File "/home/dae/.cache/bazel/_bazel_dae/fc22e40cbbf8b7d16ac57a00991b1ef1/external/python/lib/python3.9/multiprocessing/managers.py", line 156, in __init__ self.listener = Listener(address=address, backlog=16) File "/home/dae/.cache/bazel/_bazel_dae/fc22e40cbbf8b7d16ac57a00991b1ef1/external/python/lib/python3.9/multiprocessing/connection.py", line 453, in __init__ self._listener = SocketListener(address, family, backlog) File "/home/dae/.cache/bazel/_bazel_dae/fc22e40cbbf8b7d16ac57a00991b1ef1/external/python/lib/python3.9/multiprocessing/connection.py", line 596, in __init__ self._socket.bind(address) OSError: [Errno 98] Address already in use I dug briefly into Black's code, but suspect this is actually an issue with the multiprocessing library. Didn't have time to investigate it further; this workaround will do for now. (One day I'll get around to merging those separate scripts into a single one. One day. :-)) |
||
---|---|---|
.buildkite | ||
.github/ISSUE_TEMPLATE | ||
.vscode | ||
cargo | ||
docs | ||
ftl | ||
platforms | ||
proto | ||
pylib | ||
python | ||
qt | ||
rslib | ||
sass | ||
tools | ||
ts | ||
.bazelignore | ||
.bazelrc | ||
.bazelversion | ||
.gitattributes | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
.user.bazelrc | ||
BUILD.bazel | ||
Cargo.lock | ||
Cargo.toml | ||
CONTRIBUTORS | ||
defs.bzl | ||
late_deps.bzl | ||
LICENSE | ||
package.json | ||
pkgkey.asc | ||
pyrightconfig.json | ||
README.md | ||
repos.bzl | ||
run | ||
run.bat | ||
SECURITY.md | ||
WORKSPACE | ||
yarn.lock |
Anki
This repo contains the source code for the computer version of Anki.
If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/
For more information on building, please see Development.