Bug 1892478 - [abrt] pyp2rpm: package_getters.py:36:get_url:TypeError: MissingUrlException() takes no keyword arguments
Summary: [abrt] pyp2rpm: package_getters.py:36:get_url:TypeError: MissingUrlException(...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pyp2rpm
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gordon Messmer
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:c9e29df8d614b5393fb5300df9d...
: 1895719 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-28 21:30 UTC by Fabian Affolter
Modified: 2020-11-20 01:38 UTC (History)
6 users (show)

Fixed In Version: pyp2rpm-3.3.5-1.fc32 pyp2rpm-3.3.5-1.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-20 01:26:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.48 KB, text/plain)
2020-10-28 21:30 UTC, Fabian Affolter
no flags Details

Description Fabian Affolter 2020-10-28 21:30:45 UTC
Description of problem:
Run the tool

pyp2rpm -b3 json2htm

Version-Release number of selected component:
pyp2rpm-3.3.4-3.fc33

Additional info:
reporter:       libreport-2.14.0
exception_type: xmlrpc.client.Fault
executable:     /usr/bin/pyp2rpm
interpreter:    python3-3.9.0-1.fc33.x86_64
type:           Python3

Truncated backtrace:
package_getters.py:36:get_url:TypeError: MissingUrlException() takes no keyword arguments

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/pyp2rpm/package_getters.py", line 31, in get_url
    release_urls = client.release_urls(name, version)
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1116, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1456, in __request
    response = self.__transport.request(
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1160, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1176, in single_request
    return self.parse_response(resp)
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 1348, in parse_response
    return u.close()
  File "/usr/lib64/python3.9/xmlrpc/client.py", line 662, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32500: 'HTTPTooManyRequests: The action could not be performed because there were too many requests by the client. Limit may reset in 1 seconds.'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/pyp2rpm", line 33, in <module>
    sys.exit(load_entry_point('pyp2rpm==3.3.4', 'console_scripts', 'pyp2rpm')())
  File "/usr/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pyp2rpm/bin.py", line 215, in main
    converted = convertor.convert()
  File "/usr/lib/python3.9/site-packages/pyp2rpm/convertor.py", line 133, in convert
    local_file = self.getter.get()
  File "/usr/lib/python3.9/site-packages/pyp2rpm/package_getters.py", line 167, in get
    url = get_url(self.client, self.name, self.version,
  File "/usr/lib/python3.9/site-packages/pyp2rpm/package_getters.py", line 36, in get_url
    raise exceptions.MissingUrlException(
TypeError: MissingUrlException() takes no keyword arguments

Local variables in innermost frame:
client: <ServerProxy for pypi.org/pypi>
name: 'binho-host-adapter'
version: '0.1.6'
wheel: False
hashed_format: True

Comment 1 Fabian Affolter 2020-10-28 21:30:49 UTC
Created attachment 1724939 [details]
File: backtrace

Comment 3 Gordon Messmer 2020-11-08 20:07:14 UTC
*** Bug 1895719 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2020-11-11 06:12:32 UTC
FEDORA-2020-be77773324 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-be77773324

Comment 6 Fedora Update System 2020-11-11 07:02:17 UTC
FEDORA-2020-cf3c77541c has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-cf3c77541c

Comment 7 Fedora Update System 2020-11-12 04:24:50 UTC
FEDORA-2020-be77773324 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-be77773324`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-be77773324

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-11-12 04:42:41 UTC
FEDORA-2020-cf3c77541c has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-cf3c77541c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-cf3c77541c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-11-20 01:26:19 UTC
FEDORA-2020-cf3c77541c has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-11-20 01:38:50 UTC
FEDORA-2020-be77773324 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.