Apostrophe 3.4-2 fails to start on Ubuntu 26.04 with Python 3.14.

Traceback:
TypeError: cannot pickle 'ApostropheTextView' object

The crash seems related to Python 3.14 changing the default
multiprocessing start method on POSIX from fork to forkserver. Forcing
multiprocessing.set_start_method("fork") before launching Apostrophe
works around the issue.

Fix:

mkdir -p ~/.local/share/apostrophe-python314-fix

cat > ~/.local/share/apostrophe-python314-fix/sitecustomize.py <<'PY'
import multiprocessing as mp

try:
    mp.set_start_method("fork")
except RuntimeError:
    pass
PY

PYTHONPATH="$HOME/.local/share/apostrophe-
python314-fix${PYTHONPATH:+:$PYTHONPATH}" apostrophe

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152230

Title:
  doesn't start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apostrophe/+bug/2152230/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to