The following occurred when I was attempting to export my sr.ht account's data, so I could import it into my new sr.ht account. (I don't use the name "Andrew" any more and I don't want my username to use that.)
This happened:
u@h:~$ hut export sr.ht-export-andrewyu
Exporting account data...
meta.sr.ht
git.sr.ht
Cloning smlmp
...
hg.sr.ht
builds.sr.ht
paste.sr.ht
lists.sr.ht
public-inbox
evosaur-discuss
evosaur-devel
evosaur-announce
Error exporting lists.sr.ht: evosaur-announce: server returned non-200 status 404
Export complete.
evosaur-announce is not 404 when visited by a Web browser, however.
(I recognize that I have no real data there to export and it'd be easier for me to just set up my new account from scratch, but I think this is a bug, so I guess here it comes!)
Apparently this happens with all empty lists.
Which version of hut?
sr.ht now requires authentication to fetch list exports. Older hut doesn't include credentials in such requests.
FWIW, the list you linked is a 404 for me, so I assume it's private?
Older hut versions do contain the necessary authentication for lists, it was added together with the exporter itself. What the latest release is missing is the authentication for builds, which was only recently added.
But yes, empty lists fail to export because the API returns the 404 status code.
On Wed Aug 9, 2023 at 9:00 PM UTC, ~emersion wrote:
Which version of hut?
7c5b5e5aee0a033c4d4815449746de123caedcd8 Wed Jun 28 12:42:10 2023 +0000
sr.ht now requires authentication to fetch list exports. Older hut doesn't include credentials in such requests.
I did authenticate...
FWIW, the list you linked is a 404 for me, so I assume it's private?
I was migrating my account and I didn't want to leave traces of my old name so I deleted it. Apologies for causing the confusion.
I tried again with ~runxiyu/public-inbox. It failed, once again, when it was an empty list. However, it succeeded exporting when I populated the list with one message. I guess there's just a bug when exporting empty lists.
This is a lists.sr.ht bug: https://todo.sr.ht/~sircmpwn/lists.sr.ht/197