Page MenuHomeSoftware Heritage

Current next-gen lister cran failing to list
Closed, MigratedEdits Locked

Description

lister-cran status: run ko [1]

swhworker@worker0:~$ SWH_CONFIG_FILENAME=/etc/softwareheritage/lister.yml swh lister run --lister cran
Traceback (most recent call last):
  File "/usr/bin/swh", line 11, in <module>
    load_entry_point('swh.core==0.11.0', 'console_scripts', 'swh')()
...
  File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 344, in raise_for_status
    raise exception from None
swh.core.api.RemoteException: <RemoteException 500 TypeError: ["can not serialize 'Attribute' object"]>

[1] https://sentry.softwareheritage.org/share/issue/2cd53c7575834b1aaf65760b80bcbcef/

Related to T2998#57524

Event Timeline

ardumont triaged this task as Normal priority.Jan 28 2021, 3:55 PM
ardumont created this task.

My guess is that swh-scheduler 0.9.2 is not installed on staging, issue has been fixed in rDSCH2906b4e8a08517f5e3d86272232ad8ba926a43d7.

Yes, I completely forgot about your diff that fixed it.

It's indeed not deployed there [1], let me fix that.

[1]

ii  python3-swh.scheduler 0.9.1-1~swh1~bpo10+1 all          Software Heritage Scheduler
ardumont claimed this task.

It's ok now.