Bug 1024318 - meld should use system python interpreter
Summary: meld should use system python interpreter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: meld
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-29 11:39 UTC by Elias Persson
Modified: 2014-03-21 09:37 UTC (History)
3 users (show)

Fixed In Version: meld-1.8.4-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-15 15:14:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Elias Persson 2013-10-29 11:39:03 UTC
Description of problem:
Hashbang of /usr/bin/meld is "#! /usr/bin/env python". Since its dependencies are installed as system libs and it depends on a specific version of python, it should use that specific version of python (i.e. "#!/usr/bin/python" (or python2, or python2.7)).


Version-Release number of selected component (if applicable):
meld-1.8.1-1.fc19.noarch


How reproducible:
Always.


Steps to Reproduce (using virtualenvwrapper commands):
1. Create virtualenv: mktmpenv
2. Run: meld

Actual results:
$ meld
Cannot import: pygtk
No module named pygtk


Steps to Reproduce (using virtualenvwrapper commands, with python3):
1. Create virtualenv: mktmpenv -p /usr/bin/python3
2. Run: meld

Actual results:
$ meld
  File "/usr/bin/meld", line 107
    print "Couldn't bind the translation domain. Some translations won't work."
                                                                              ^
SyntaxError: invalid syntax


Expected results (for both cases):
A meld window.


Additional info:
Common enough to run into, when using git-difftool (or equivalent for other VCS) in a project using virtualenv.

Comment 1 Fedora Update System 2014-03-10 22:23:49 UTC
meld-1.8.4-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/meld-1.8.4-1.fc20

Comment 2 Fedora Update System 2014-03-12 12:21:39 UTC
Package meld-1.8.4-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing meld-1.8.4-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3747/meld-1.8.4-1.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-03-15 15:14:11 UTC
meld-1.8.4-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2014-03-21 09:37:08 UTC
meld-1.8.4-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, 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.