Bug 817463
Summary: | Users must be able to use PyMol as default molecular viewer application | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gökçen Eraslan <gokcen.eraslan> | ||||||
Component: | pymol | Assignee: | Tim Fenn <tim.fenn> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 17 | CC: | tim.fenn | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-06-03 23:28:15 UTC | Type: | Bug | ||||||
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
Gökçen Eraslan
2012-04-30 06:55:17 UTC
Sure thing - I'll look into this, but patches are certainly welcome! Created attachment 581340 [details]
Patch fixing the issue
Validate, correct desktop file and add mimetypes. Also chemical-mime-data is needed to define chemical/* mimetypes.
By the way, source tarball has .svn directories. Why? Any reason to not using "svn export" command? Created attachment 581353 [details] Another patch fixing argument handling I have discovered another bug while playing with this patch. Following command does not work: pymol "some dir with space/1KJF.pdb" since pymol wrapper is written as: /usr/bin/python /usr/lib64/python2.7/site-packages/pymol/__init__.py $* This expands to: /usr/bin/python /usr/lib64/python2.7/site-packages/pymol/__init__.py some dir with space/1KJF.pdb which is wrong. pymol 4 parameters in this case, instead of 1. Correct wrapper must be: /usr/bin/python /usr/lib64/python2.7/site-packages/pymol/__init__.py "$@" to hand arguments including spaces correctly[1]. Patch is attached. [1] http://www.thegeekstuff.com/2010/05/bash-shell-special-parameters/ pymol-1.5.0.2-2.20120218svn3982.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/pymol-1.5.0.2-2.20120218svn3982.fc16 pymol-1.5.0.2-2.20120218svn3982.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/pymol-1.5.0.2-2.20120218svn3982.fc17 (In reply to comment #3) > By the way, source tarball has .svn directories. Why? Any reason to not using > "svn export" command? Oops, I'll fix this the next time a do a pull. Sorry! Package pymol-1.5.0.2-2.20120218svn3982.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pymol-1.5.0.2-2.20120218svn3982.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-7519/pymol-1.5.0.2-2.20120218svn3982.fc17 then log in and leave karma (feedback). pymol-1.5.0.2-2.20120218svn3982.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. pymol-1.5.0.2-2.20120218svn3982.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |