Actions
Issue #8812
closedsyncing a repo with 'skip_types' set to 'srpm' throws an error 'popitem() takes no keyword arguments'
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 97
Quarter:
Description
TypeError: popitem() takes no keyword arguments
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/rq/worker.py", line 975, in perform_job
rv = job.perform()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 696, in perform
self._result = self._execute()
File "/usr/lib/python3.6/site-packages/rq/job.py", line 719, in _execute
return self.func(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 269, in synchronize
dv.create()
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py", line 147, in create
loop.run_until_complete(pipeline)
File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline
await asyncio.gather(*futures)
File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__
await self.run()
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 441, in run
await self.parse_content()
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 540, in parse_content
await self.parse_packages(await asyncio.gather(*package_repodata_downloaders))
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 561, in parse_packages
await self._parse_packages(packages)
File "/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py", line 582, in _parse_packages
(_, pkg) = packages.popitem(last=False)
TypeError: popitem() takes no keyword arguments
Related issues
Updated by ttereshc over 3 years ago
- Related to Backport #8813: Backport #8812 to pulp_rpm 3.11 added
Updated by ttereshc over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
- Sprint set to Sprint 97
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Added by ttereshc over 3 years ago
Updated by ttereshc over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset 86ccfd419984cedb7c6c56ea2f88c16e8f0ed8dc.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fix sync when skip otpion is used for SRPMs
closes #8812 https://pulp.plan.io/issues/8812