Hello Victor,

URL used is http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os

Let me try with -f. Will report back in a while. Am also trying to take the code apart now.

Best wishes,

Stefan


Von: "Victor Zhestkov" <Victor.Zhestkov@suse.com>
An: "opensuse org" <opensuse.org@bluhm-de.com>, "uyuni-users" <uyuni-users@opensuse.org>
Gesendet: Donnerstag, 23. Dezember 2021 08:16:03
Betreff: Re: UTF-8 issue during reposync

Hi Stefan.

Could you please run spacewalk-repo-sync for this channel with --fail or -f command line parameters appended?
It should write a traceback on the error.

And what is the URL for the repo?

Victor

On Thu, 2021-12-23 at 08:00 +0100, Stefan Bluhm wrote:
Hello,

whilst trying to do the initial CentOS 7 import into Uyuni 12.2021 on AlmaLinux 8, I am hitting the below reproducible error:


2021/12/23 07:52:50 +02:00   Package batch #471 of 480 completed...
2021/12/23 07:52:50 +02:00   Package batch #472 of 480 completed...
2021/12/23 07:52:50 +02:00   Package batch #473 of 480 completed...
2021/12/23 07:52:50 +02:00   Package batch #474 of 480 completed...
2021/12/23 07:52:50 +02:00   Package batch #475 of 480 completed...
2021/12/23 07:52:50 +02:00   Package batch #476 of 480 completed...
2021/12/23 07:52:51 +02:00   Package batch #477 of 480 completed...
2021/12/23 07:52:51 +02:00   Package batch #478 of 480 completed...
2021/12/23 07:52:51 +02:00   Package batch #479 of 480 completed...
2021/12/23 07:52:51 +02:00   Package batch #480 of 480 completed...
2021/12/23 07:53:41 +02:00 'utf-8' codec can't encode character '\udcf8' in position 19: surrogates not allowed
2021/12/23 07:53:41 +02:00   Package batch #388 of 480 completed...
2021/12/23 07:53:45 +02:00 'utf-8' codec can't encode character '\udcf8' in position 19: surrogates not allowed
2021/12/23 07:53:45 +02:00   Package batch #387 of 480 completed...
2021/12/23 07:53:45 +02:00 Importing packages finished.
2021/12/23 07:53:45 +02:00
2021/12/23 07:53:45 +02:00   Linking packages to the channel.
2021/12/23 07:54:13 +02:00 Unexpected error: <class 'spacewalk.server.importlib.importLib.InvalidPackageError'>


Do you have any experience what this means? Is it a DB/File System/Package or code issue (bug)?

In the meantime, I will see if I can spot the error package/code location.

Thank you and best wishes,

Stefan