Bug 1178754
Summary: | [abrt] python-gertty: script.py:46:__init__:CommandError: Path doesn't exist: '/usr/lib/python2.7/site-packages/gertty/alembic'. Please use the 'init' command to create a new scripts folder. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ihar Hrachyshka <ihrachys> | ||||||
Component: | python-gertty | Assignee: | Kashyap Chamarthy <kchamart> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 21 | CC: | corvus, kchamart, pblaho, pingou | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/bcfbc84ea33f795c312a965f9caed19bfeb66bf1 | ||||||||
Whiteboard: | abrt_hash:96dd76f17fe27b015a3ca4d3a02d9ac175b21e44 | ||||||||
Fixed In Version: | python-gertty-1.0.3-4.fc21 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-02-15 03:29:56 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: |
|
Description
Ihar Hrachyshka
2015-01-05 13:01:30 UTC
Created attachment 976416 [details]
File: backtrace
Created attachment 976417 [details]
File: environ
Seems like this is also reported upstream https://storyboard.openstack.org/#!/story/139 -- Gertty requires manual alembic init command but is not yet fixed. I posted a comment there with a pointer to this bug This is fixed in git by Pierre-Yves Chibon (thanks!) http://pkgs.fedoraproject.org/cgit/python-gertty.git/commit/?id=9cf74828a53f96f0596352424ec35b24bd48b5ad http://pkgs.fedoraproject.org/cgit/python-gertty.git/commit/?id=9fd823303044ed7caaeaa4402ee5d873cfa96d38 python-gertty-1.0.3-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-gertty-1.0.3-4.fc21 After discussions in IRC, I believe the best solution is the following: * Keep the gertty.egg-info directory from the upstream tarball (that is, remove the "rm -rf gertty.egg-info" line from the spec: http://pkgs.fedoraproject.org/cgit/python-gertty.git/tree/python-gertty.spec?id=c54748477f16c183134ab5e9b2b7c7a5fb189d22#n60 ) * And remove the patch to setup.cfg ( http://pkgs.fedoraproject.org/cgit/python-gertty.git/tree/fix_setup.cfg.patch?id=c54748477f16c183134ab5e9b2b7c7a5fb189d22 ) The egg-info directory in the upstream tarball contains the correct information in order for the alembic files to be installed, and a closer reading of the packaging policy indicates that it is okay to keep it. I have tested this on an f21 system and confirmed the resulting RPM has the necessariy alembic files and works. Thanks for packaging Gertty! :) @James, tarball eggs should be dropped as per Fedora packaging policy: http://fedoraproject.org/wiki/Packaging:Python_Eggs#Upstream_Eggs @Ihar in this case the eggs contains metadata information which are required. So while I agree for eggs packages, in the present case the guidelines does not apply (that page actually needs to be taught the difference between eggs package and eggs metadata). (In reply to Pierre-YvesChibon from comment #8) > @Ihar in this case the eggs contains metadata information which are required. > So while I agree for eggs packages, in the present case the guidelines does > not apply (that page actually needs to be taught the difference between eggs > package and eggs metadata). Pierre, I'm submitting the clarification changes to the Fedora Packaging Comittee. Toshio Kuratomi kindly reviewed the below on IRC. Modified:https://fedoraproject.org/wiki/User:Kashyapc/Python_Eggs ------------------------------------------------------------------------- 1. Replaced the term 'eggs' with 'egg metadata' in the whole wiki, while not messing up the URLs to this[1] on both occurances. 2. In section '1.1 Why egg metadata', changed the phrase "Allowing end users to install eggs not made from rpms or install eggs into their home directories." to "Allowing end users to install egg packages not made from rpms or install egg packages into their home directories." 3. In section '1.2 When to Provide egg metadata' changed the phrase "we need to be sure to include the egg files" to "we need to be sure to include the egg metadata" 4. Changed the section 1.3 tittle from "Upstream egg metadata" to "Upstream egg package" 5. In section 1.3, change the phrase: "Do not distribute egg metadata from upstream" to "Do not distribute egg packages from upstream." ------------------------------------------------------------------------- Package python-gertty-1.0.3-4.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-gertty-1.0.3-4.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-0265/python-gertty-1.0.3-4.fc21 then log in and leave karma (feedback). @Kashyap, Looks good to me as well, thanks! python-gertty-1.0.3-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |