Project

Profile

Help

Issue #8812

syncing a repo with 'skip_types' set to 'srpm' throws an error 'popitem() takes no keyword arguments'

Added by jsherril@redhat.com 6 months ago. Updated 4 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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

Related to RPM Support - Backport #8813: Backport #8812 to pulp_rpm 3.11CLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 86ccfd41 View on GitHub
Added by ttereshc 6 months ago

Fix sync when skip otpion is used for SRPMs

closes #8812 https://pulp.plan.io/issues/8812

History

#1 Updated by ttereshc 6 months ago

#2 Updated by ttereshc 6 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc
  • Sprint set to Sprint 97

#3 Updated by pulpbot 6 months ago

  • Status changed from ASSIGNED to POST

#4 Updated by ttereshc 6 months ago

  • Status changed from POST to MODIFIED

#5 Updated by pulpbot 6 months ago

  • Sprint/Milestone set to 3.13.0

#6 Updated by pulpbot 6 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF