• Bug#1107283: mcomix fails to start

    From Dominique Dumont@21:1/5 to All on Fri Jul 11 18:50:01 2025
    Hi

    I have the same issue:

    $ python3 --version
    Python 3.13.5
    $ mcomix
    Traceback (most recent call last):
    File "/usr/bin/mcomix", line 8, in <module>
    sys.exit(main())
    ~~~~^^
    File "/usr/lib/python3/dist-packages/mcomix/__main__.py", line 25, in main
    mp.set_start_method('spawn')
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/usr/lib/python3.13/multiprocessing/context.py", line 247, in set_start_method
    raise RuntimeError('context has already been set')
    RuntimeError: context has already been set

    I suggest you ask for help on debian-python mailing list.

    All the best

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Olivier Allard-Jacquin@21:1/5 to All on Sat Jul 12 14:40:02 2025
    Hi,

    I have the same issue with mcomix = 3.1.0-1

    Issue look like appear after python3 upgrade 3.13.3-1 -> 3.13.5-1.


    Matohara San's pach (thanks !!!) works also for me.


    Edit your /usr/lib/python3/dist-packages/mcomix/__main__.py

    and change:
    mp.set_start_method('spawn')

    to:
    try:
    mp.set_start_method('spawn')
    except RuntimeError:
    pass

    Be careful for tabs, because Python is tab sensitive.

    Best regards,
    Olivier

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)