Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Issue with appstream hints: severity missing for a tag?

1 view
Skip to first unread message

Raphael Hertzog

unread,
Jan 25, 2024, 4:40:06 AM1/25/24
to
Hello Matthias,

I recently opened my ow...@tracker.debian.org mailbox and I found
hundreds of errors:

----
Task UpdateAppStreamStatsTask failed with the following traceback.

KeyError
'asv-cid-contains-hyphen'

Traceback (most recent call last):
File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/tasks/base.py", line 378, in run_task
task.execute()
File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/tasks/base.py", line 256, in execute
call_methods_with_prefix(self, 'execute_')
File "/srv/tracker.debian.org/distro-tracker/distro_tracker/core/utils/misc.py", line 44, in
call_methods_with_prefix
method(*args, **kwargs)
File "/srv/tracker.debian.org/distro-tracker/distro_tracker/vendor/debian/tracker_tasks.py", line 889,
in execute_main
self._load_appstream_hint_stats(component, arch, all_stats)
File "/srv/tracker.debian.org/distro-tracker/distro_tracker/vendor/debian/tracker_tasks.py", line 755,
in _load_appstream_hint_stats
severity = self._tag_severities[e['tag']]

Exception Type: KeyError
Exception Value: 'asv-cid-contains-hyphen'
----

Did you have any idea of what's wrong here? Is it a problem in the data
that you generate? Or is an update needed on tracker's side?

Thank you in advance!
--
⢀⣴⠾⠻⢶⣦⠀ Raphaël Hertzog <her...@debian.org>
⣾⠁⢠⠒⠀⣿⡁
⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/
⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS

Matthias Klumpp

unread,
Jan 25, 2024, 11:10:03 AM1/25/24
to
Hi Raphael!

Am Do., 25. Jan. 2024 um 10:30 Uhr schrieb Raphael Hertzog <her...@debian.org>:
>
> Hello Matthias,
>
> I recently opened my ow...@tracker.debian.org mailbox and I found
> hundreds of errors:
>
> ----
> Task UpdateAppStreamStatsTask failed with the following traceback.
>
> KeyError
> 'asv-cid-contains-hyphen'
> [...]

So the issue is that this tag has been removed/renamed, but Debian
still has a bunch of components cached that have emitted it.
The most trivial solution, given that a tag rename/removal is rather
rare, is to simply reprocess all data to make sure the old tag isn't
used anymore.

I will kickstart a full reprocessing of the whole archive (well, the
sid component) today, then this issue should go away.

Thank you for letting me know!
Cheers,
Matthias

--
I welcome VSRE emails. See http://vsre.info/

Matthias Klumpp

unread,
Jan 27, 2024, 3:30:04 PM1/27/24
to
Hi Raphael!

The issue should be gone for a few days already, do you still see it
or is it resolved?

Best,
Matthias

Am Do., 25. Jan. 2024 um 16:59 Uhr schrieb Matthias Klumpp
<matt...@tenstral.net>:

Raphael Hertzog

unread,
Jan 29, 2024, 6:10:05 AM1/29/24
to
Hello Matthias,

the issue disappeared since January 27th. Thank you for your help!

Cheers,
0 new messages