[Piuparts-devel] Summary.json out of date

David Steele steele at debian.org
Sat Jul 17 16:08:23 BST 2021


I just noticed that the top summary.json file is old.

{
 "_comment": "Debian Piuparts Package Results -
https://salsa.debian.org/debian/piuparts/raw/develop/piupartslib/pkgsummary.py
",
 "_date": "Thu Jul 15 13:29:51 UTC 2021",
 "_id": "Piuparts Package Test Results Summary",
 "_type": "source",
 "_version": "1.0",
 "packages": {
  "0ad": {
...


in piuparts-report.txt

22:57:33 Writing static pages
22:57:36 Generating global summary
Traceback (most recent call last):
  File "/srv/piuparts.debian.org/share/piuparts/piuparts-report", line
1911, in <module>
    main()
  File "/srv/piuparts.debian.org/share/piuparts/piuparts-report", line
1905, in main
    generate_global_summary(output_directory, section_names)
  File "/srv/piuparts.debian.org/share/piuparts/piuparts-report", line
1689, in generate_global_summary
    summary = pkgsummary.merge_summary(summary, sec_summ)
  File "/srv/
piuparts.debian.org/lib/python3/dist-packages/piupartslib/pkgsummary.py",
line 188, in merge_summary
    add_summary(gbl_summ, rep_sec, pkg, flag, block_cnt, url)
  File "/srv/
piuparts.debian.org/lib/python3/dist-packages/piupartslib/pkgsummary.py",
line 168, in add_summary
    raise SummaryException("Invalid summary argument")
piupartslib.pkgsummary.SummaryException: Invalid summary argument


The code:

def add_summary(summary, rep_sec, pkg, flag, block_cnt, url):    if
not flag in flaginfo or not isinstance(block_cnt, int) \            or
not url.startswith('http'):        raise SummaryException("Invalid
summary argument")

-- 

AE0D BF5A 92A5 ADE4 9481  BA6F 8A31 71EF 3661 50CE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20210717/c32129f0/attachment.htm>


More information about the Piuparts-devel mailing list