Bug 1182213
| Summary: | [abrt] s3ql: pkg_resources.py:567:resolve:pkg_resources.DistributionNotFound: requests | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sean Pryor <seriuomnis> | ||||||
| Component: | s3ql | Assignee: | Marcel Wysocki <maci> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 21 | CC: | dl57, i, maci | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/be107289633f581768a4d673f2883e66dc9a3df1 | ||||||||
| Whiteboard: | abrt_hash:aa502da3294947651dc4aa141046492d4e5dcb3a | ||||||||
| Fixed In Version: | s3ql-2.13-1.fc21 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-07-10 19:10:22 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 980093 [details]
File: backtrace
Created attachment 980094 [details]
File: environ
I found a similar problem in Fedora 21. My traceback was this:
Traceback (most recent call last):
File "/bin/mkfs.s3ql", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 2709, in <module>
working_set.require(__requires__)
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 664, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 567, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests
A workaround solution for the problem is this (as root or under sudo):
yum install python3-requests
Hope this helps Googler's out there.
Yeah, it seems like the package is just missing a dependency on python3-requests First attempt at using diff to make a patch --- s3ql.spec 2015-02-05 11:57:53.614556434 -0500 +++ s3ql.spec.new 2015-02-05 11:58:35.990513643 -0500 @@ -22,6 +22,7 @@ Requires: python3-defusedxml Requires: python3-dugong Requires: python3-llfuse +Requires: python3-requests %description S3QL is a file system that stores all its data online using storage services I believe something like that resolves it? s3ql-2.13-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/s3ql-2.13-1.fc21 s3ql-2.13-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/s3ql-2.13-1.fc22 Package s3ql-2.13-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing s3ql-2.13-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10869/s3ql-2.13-1.fc22 then log in and leave karma (feedback). s3ql-2.13-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. s3ql-2.13-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: using mkfs.s3ql to create a local filesystem caused a stack trace Version-Release number of selected component: s3ql-2.9-2.fc21 Additional info: reporter: libreport-2.3.0 cmdline: /usr/bin/python3 /bin/mkfs.s3ql local://s3ql executable: /bin/mkfs.s3ql kernel: 3.17.8-300.fc21.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: pkg_resources.py:567:resolve:pkg_resources.DistributionNotFound: requests Traceback (most recent call last): File "/bin/mkfs.s3ql", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 2709, in <module> working_set.require(__requires__) File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 664, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 567, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: requests Local variables in innermost frame: env: <pkg_resources.Environment object at 0x7f1163b9d550> best: {'requests': None} installer: None processed: {Requirement.parse('defusedxml'): True, Requirement.parse('dugong>=3.1'): True, Requirement.parse('s3ql==2.9'): True, Requirement.parse('llfuse>=0.39'): True} req: Requirement.parse('requests') to_activate: [s3ql 2.9 (/usr/lib64/python3.4/site-packages), llfuse 0.40 (/usr/lib64/python3.4/site-packages), dugong 3.3 (/usr/lib/python3.4/site-packages), defusedxml 0.4.1 (/usr/lib/python3.4/site-packages)] dist: None requirements: [Requirement.parse('pycrypto'), Requirement.parse('apsw>=3.7.0')] self: <pkg_resources.WorkingSet object at 0x7f1163b9d518>