Project

Profile

Help

Issue #8812

closed

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

Added by jsherril@redhat.com over 3 years ago. Updated over 3 years 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 - CURRENTRELEASEttereshc

Actions
Actions #1

Updated by ttereshc over 3 years ago

Actions #2

Updated by ttereshc over 3 years ago

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

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST

Added by ttereshc over 3 years ago

Revision 86ccfd41 | View on GitHub

Fix sync when skip otpion is used for SRPMs

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

Actions #4

Updated by ttereshc over 3 years ago

  • Status changed from POST to MODIFIED
Actions #5

Updated by pulpbot over 3 years ago

  • Sprint/Milestone set to 3.13.0
Actions #6

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF