You are not logged in.
Hi,
I maintain the package ghdl-hg and I encountered a very difficult to understand error message when trying to push the initial commit to AUR4 :
Counting objects: 4, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 2.39 KiB | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: Traceback (most recent call last):
remote: File "hooks/update", line 274, in <module>
remote: commit.id)
remote: File "hooks/update", line 175, in die_commit
remote: sys.stderr.write("error: {:s}:\n".format(commit))
remote: TypeError: non-empty format string passed to object.__format__
remote: error: hook declined to update refs/heads/master
To ssh://aur/ghdl-hg.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur/ghdl-hg.git'It took me a long time to find the (trivial) error (my fault): I forgot to add the file ghdl.install in the commit. It was mentioned in the PKGBUILD (variable install).
It would be very helpful if the error message was more precise.
By digging on the internet I now know that "TypeError: non-empty format string passed to object.__format__" is a Python error message, so does it mean there is a non-covered corner case in AUR4 validation scripts?
Offline
File a bug report againt aurwer 4 or mention this in the mailisting.
sure it will be readed byt the aurweb dev there.
Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::
Offline
Opened <https://bugs.archlinux.org/task/45545> about another instance of this error message.
Offline