Infrastructure | Error when pushing to gexiv2 due to lack of a DOAP category (#476)



Title: GitLab

Olav Vitters created an issue #476:

I got the following error after pushing to gexiv2:

$ git push
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 4 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 522 bytes | 522.00 KiB/s, done.
Total 4 (delta 3), reused 0 (delta 0), pack-reused 0
remote: Traceback (most recent call last):
remote:   File "/home/admin/bin/git/extract-doap-info", line 41, in <module>
remote:     category_attr = prj.find(f"{{{DOAP}}}category").attrib
remote: AttributeError: 'NoneType' object has no attribute 'attrib'
To gitlab.gnome.org:GNOME/gexiv2.git
   3714a20..0b3e12e  master -> master

That's from the sysadmin-bin repository. It seems better to file the bug here as it's more monitored than all the other stuff, no?

Cause is the missing DOAP category. If it's required it should just not allow the commit, but IIRC the category is optional. I might be mistaken.

Push seems to have worked, so the error wasn't fatal.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]