Re: Issue with appstream hints: severity missing for a tag?

2024-01-29 Thread Raphael Hertzog
Hello Matthias,

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

Cheers,

On Sat, 27 Jan 2024, Matthias Klumpp wrote:
> 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
> :
> >
> > Hi Raphael!
> >
> > Am Do., 25. Jan. 2024 um 10:30 Uhr schrieb Raphael Hertzog 
> > :
> > >
> > > 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/
> 
> 
> 
> -- 
> I welcome VSRE emails. See http://vsre.info/
> 

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



Re: Issue with appstream hints: severity missing for a tag?

2024-01-27 Thread Matthias Klumpp
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
:
>
> Hi Raphael!
>
> Am Do., 25. Jan. 2024 um 10:30 Uhr schrieb Raphael Hertzog 
> :
> >
> > 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/



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



Re: Issue with appstream hints: severity missing for a tag?

2024-01-25 Thread Matthias Klumpp
Hi Raphael!

Am Do., 25. Jan. 2024 um 10:30 Uhr schrieb Raphael Hertzog :
>
> 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/



Issue with appstream hints: severity missing for a tag?

2024-01-25 Thread Raphael Hertzog
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 
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄   Debian Long Term Support: https://deb.li/LTS