I realized that I invoked ' ./gnulib-tool --create-testdir --dir foo stdbit' with the wrong options so I interrupted it with control-C. It then gave me the following long traceback, which is not useful. I suggest shutting off the Python traceback info after control-C unless perhaps some new debugging option is used.

...
executing touch config.h.in
executing automake --add-missing --copy
  C-c C-cTraceback (most recent call last):
File "/home/eggert/src/gnu/gnulib/./.gnulib-tool.py", line 30, in <module>
    main.main_with_exception_handling()
File "/home/eggert/src/gnu/gnulib/pygnulib/main.py", line 1371, in main_with_exception_handling
    main(temporary_directory)
  File "/home/eggert/src/gnu/gnulib/pygnulib/main.py", line 1073, in main
    testdir.execute()
File "/home/eggert/src/gnu/gnulib/pygnulib/GLTestDir.py", line 707, in execute
    execute(args, verbose)
File "/home/eggert/src/gnu/gnulib/pygnulib/constants.py", line 210, in execute
    retcode = sp.call(args)
              ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 391, in call
    return p.wait(timeout=timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1264, in wait
    return self._wait(timeout=timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 2046, in _wait
    (pid, sts) = self._try_wait(0)
                 ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 2004, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt

Reply via email to