Issue #8201
closedProblem with pulp sync (repoview) : AttributeError: 'NoneType' object has no attribute 'replace'
Description
Hello,
I'm facing an issue with the sync of a new repo created (feed https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.4/x86_64/).
The sync failed at the repoview step with this python error :
Error occurred during 'repoview' execution: Examining repository...done
Opening
primary database...done
Opening changelogs database...done
Parsing
comps.xml...done
Copying layout...done
Examining state db...done
Collecting
group information...
::
Traceback (most recent call last):
File
"/usr/bin/repoview", line 940, in <module>
main()
File
"/usr/bin/repoview", line 937, in main
Repoview(opts)
File
"/usr/bin/repoview", line 160, in __init__
self.setup_rpm_groups()
File
"/usr/bin/repoview", line 718, in setup_rpm_groups
qgroup =
rpmgroup.replace("'", "''")
AttributeError: 'NoneType' object has no attribute
'replace'
I recreate the repo but same result...I don't know where to look...
Thanks for the help.
Regards
Updated by ttereshc about 3 years ago
There are some known issues with repoview feature. Unfortunately, pulp 2 is in maintenance mode, so this won't be fixed.
The suggestion is to switch off the repoview feature. To do that, please set repoview
and generate_sqlite
to False for your repo/distributor.
https://docs.pulpproject.org/en/2.21/plugins/pulp_rpm/tech-reference/yum-plugins.html#yum-distributor
Updated by ttereshc about 3 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by Wadeodges over 2 years ago
In this article, we'll explore the problem with pulp sync and Compress PDF file. check, We'll also give you a step-by-step guide on how to compress your pdf file online in just a few seconds. The solution is not as easy as it sounds, but I've got an answer for you!