Collin Funk wrote:
> I tried to run --version and got this:
> 
> [collin@debian gnulib]$ gnulib-tool.py --version
> Traceback (most recent call last):
>   File "/home/collin/.local/src/gnulib/pygnulib/main.py", line 1197, in 
> <module>
>     main()
>   File "/home/collin/.local/src/gnulib/pygnulib/main.py", line 442, in main
>     % (info.package(), info.date(), version, info.copyright(),
>                        ^^^^^^^^^^^
>   File "/home/collin/.local/src/gnulib/pygnulib/GLInfo.py", line 109, in date
>     result = pattern.findall(result)[0]
>              ~~~~~~~~~~~~~~~~~~~~~~~^^^
> IndexError: list index out of range

Huh? For me, it works fine:

$ ./gnulib-tool.py --version
gnulib-tool (GNU gnulib 2024-02-27 23:33:49) 0.1.7153-431d6
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Bruno Haible, Paul Eggert, Simon Josefsson, and Dmitry Selyutin.
$ python3 --version
Python 3.10.12
$ git --version
git version 2.34.1
$ git log -n 1 ChangeLog | grep ^Date:
Date:   Wed Feb 28 00:33:49 2024 +0100

Bruno




Reply via email to