Leo's devel branch does have a problem on Linux

14 views
Skip to first unread message

Viktor Ransmayr

unread,
May 21, 2026, 1:27:11 PM (2 days ago) May 21
to leo-editor
Hello Edward,

As I did report previously there are issues with the devel' branch on Linux [e.g here].

I did not push harder from my side earlier, since I do have a somewhat special environment setup ...

However now I did prove that my environment is not the issue. - See attached log ...

Again I did verify that issue on Debian Linux as well as Fedora Linux.

I will create a GH issue for it & link this conversation to it !

With kind regards,

Viktor

###

    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$ git branch
      6.8.8
    * devel
      ekr-4664-leoclient.py
      ekr-fix-copy-paste
      ekr-fix-copy-paste-again
    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$ python3 -m leo.scripts.full_test_leo
    full_test_leo.py
    Traceback (most recent call last):
      File "<frozen runpy>", line 198, in _run_module_as_main
      File "<frozen runpy>", line 88, in _run_code
      File "/home/user/distroboxes/projects/leo-on-debian/leo-editor/leo/scripts/full_test_leo.py", line 50, in <module>
        subprocess.Popen(command).communicate()
        ~~~~~~~~~~~~~~~~^^^^^^^^^
      File "/usr/local/lib/python3.14/subprocess.py", line 1038, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
        ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            pass_fds, cwd, env,
                            ^^^^^^^^^^^^^^^^^^^
        ...<5 lines>...
                            gid, gids, uid, umask,
                            ^^^^^^^^^^^^^^^^^^^^^^
                            start_new_session, process_group)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.14/subprocess.py", line 1874, in _execute_child
        self._posix_spawn(args, executable, env, restore_signals, close_fds,
        ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                          p2cread, p2cwrite,
                          ^^^^^^^^^^^^^^^^^^
                          c2pread, c2pwrite,
                          ^^^^^^^^^^^^^^^^^^
                          errread, errwrite)
                          ^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.14/subprocess.py", line 1818, in _posix_spawn
        self.pid = os.posix_spawn(executable, args, env, **kwargs)
                   ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/python3 -m leo.scripts.beautify_all_leo'
    📦[user@leo-on-debian leo-editor]$

    ###

    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$ git checkout master
    branch 'master' set up to track 'origin/master'.
    Switched to a new branch 'master'
    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$ python3 -m pip install -r requirements.txt
    Defaulting to user installation because normal site-packages is not writeable
    Ignoring Send2Trash: markers 'platform_system == "Windows"' don't match your environment
    Ignoring windows-curses: markers 'platform_system == "Windows"' don't match your environment
    Requirement already satisfied: build>=1.2.1 in /home/user/distroboxes/projects/leo-on-debian/.local/lib/python3.14/site-packages (from -r requirements.txt (line 12)) (1.4.0)
    ...
    Requirement already satisfied: rpds-py>=0.25.0 in /home/user/distroboxes/projects/leo-on-debian/.local/lib/python3.14/site-packages (from jsonschema>=2.6->nbformat->jupytext->-r requirements.txt (line 43)) (0.30.0)

    [notice] A new release of pip is available: 25.3 -> 26.1.1
    [notice] To update, run: pip install --upgrade pip
    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$ python3 -m pip install --upgrade pip
    Defaulting to user installation because normal site-packages is not writeable
    Requirement already satisfied: pip in /usr/local/lib/python3.14/site-packages (25.3)
    Collecting pip
      Downloading pip-26.1.1-py3-none-any.whl.metadata (4.6 kB)
    Downloading pip-26.1.1-py3-none-any.whl (1.8 MB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 5.9 MB/s  0:00:00
    Installing collected packages: pip
    Successfully installed pip-26.1.1
    📦[user@leo-on-debian leo-editor]$

    ###

    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$ git branch
      6.8.8
      devel
      ekr-4664-leoclient.py
      ekr-fix-copy-paste
      ekr-fix-copy-paste-again
    * master
    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$ python3 -m leo.scripts.full_test_leo
    full_test_leo.py
    beautify_all_leo.py
    125 files reformatted, 488 files left unchanged
    flake8_leo.py
    pyflakes_leo.py
    run_test_leo.py
    ................................................................................
    ................................................................................
    .........................................s......................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ..........s.....................................................................
    ................................................................................
    ..................................................s.........
    ----------------------------------------------------------------------
    Ran 860 tests in 10.825s

    OK (skipped=3)
    mypy_leo.py
    leo/plugins/todo.py:1263: error: Incompatible types in assignment (expression has type "list[int]", variable has type "str")  [assignment]
    Found 1 error in 1 file (checked 257 source files)
    ruff_leo.py
    All checks passed!
    setting leoID from os.getenv('USER'): 'user'
    check_leo.py: files: 94 contexts: 6847 attrs: 46647 in 3.08 sec.
    pylint_leo.py
    ************* Module leo.plugins.startfile
    leo/plugins/startfile.py:90:16: E1101: Module 'os' has no 'startfile' member (no-member)
    ************* Module leo.plugins.gitarchive
    leo/plugins/gitarchive.py:37:12: W4902: Using deprecated method open() (deprecated-method)
    leo/plugins/gitarchive.py:61:4: W4902: Using deprecated method open() (deprecated-method)
    ************* Module leo.core.leoGlobals
    leo/core/leoGlobals.py:7155:8: E1101: Module 'os' has no 'startfile' member (no-member)
    📦[user@leo-on-debian leo-editor]$

###

Thomas Passin

unread,
May 21, 2026, 2:18:32 PM (2 days ago) May 21
to leo-editor
I did not have any trouble with Leo on startup except for this anomaly. I have some @file nodes in my workbook.leo file that don't exist in the Linux system. Leo complains that they are missing but the file it reports is very wrong.  E.g., if the @file node is 

@file screen_capture.py

Leo reports the missing file as

/home/tom/.leo/c:/test/python/screen_capture.py

If this is actually how Leo on Linux is constructing paths from relative paths for @files then something is very wrong. If it's only a reporting problem then it needs to be fixed.

Viktor Ransmayr

unread,
May 21, 2026, 2:39:02 PM (2 days ago) May 21
to leo-e...@googlegroups.com
Hello Thomas,

Am Do., 21. Mai 2026 um 20:18 Uhr schrieb Thomas Passin <tbp1...@gmail.com>:
I did not have any trouble with Leo on startup except for this anomaly. I have some @file nodes in my workbook.leo file that don't exist in the Linux system. Leo complains that they are missing but the file it reports is very wrong.  E.g., if the @file node is 

@file screen_capture.py

Leo reports the missing file as

/home/tom/.leo/c:/test/python/screen_capture.py

If this is actually how Leo on Linux is constructing paths from relative paths for @files then something is very wrong. If it's only a reporting problem then it needs to be fixed.

There are other problems, which I reported for the 'devel' branch on Linux, e.g with '--gui=console" ...

However I did use this example, because it NICELY shows that the 'master' branch (v6.8.8) does not have the problem - but - the 'devel' branch (v6.8.9-devel' does have it !

With kind regards,

Viktor
Reply all
Reply to author
Forward
0 new messages