meld doesn't work ootb
In trying to debug getting nfo building on a clean install (needed to install system/headers, how to do it without a network card driver??!!)
richard@shuttleX:~$ pfexec pkg install -v meld Aucune mise à jour n'est nécessaire pour cette image. richard@shuttleX:~$ pfexec pkg publisher ÉDITEUR TYPE STATUT URI openindiana.org (préféré) origine online http://pkg.openindiana.org/dev/ richard@shuttleX:~$ pfexec pkg verify meld richard@shuttleX:~$ meld No module named pygtk Meld exige pygtk2.6.0 ou supérieur. richard@shuttleX:~$ python Python 2.6.4 (r264:75706, Apr 17 2011, 11:24:50) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> help() Welcome to Python 2.6! This is the online help utility. If this is your first time using Python, you should definitely check out the tutorial on the Internet at http://docs.python.org/tutorial/. Enter the name of any module, keyword, or topic to get help on writing Python programs and using Python modules. To quit this help utility and return to the interpreter, just type "quit". To get a list of available modules, keywords, or topics, type "modules", "keywords", or "topics". Each module also comes with a one-line summary of what it does; to list the modules whose summaries contain a given word such as "spam", type "modules spam". help> pygtk Help on module pygtk: NAME pygtk FILE /usr/lib/python2.6/vendor-packages/pygtk.py MODULE DOCS http://docs.python.org/library/pygtk DESCRIPTION # -*- Mode: Python; py-indent-offset: 4 -*- # pygtk - Python bindings for the GTK+ widget set. # Copyright (C) 1998-2002 James Henstridge # # pygtk.py: pygtk version selection code. # # This library is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. ... help> You are now leaving help and returning to the Python interpreter. If you want to ask for help on a particular object directly from the interpreter, you can type "help(object)". Executing "help('string')" has the same effect as typing a particular string at the help> prompt. >>> richard@shuttleX:~$ more `which meld` #!/usr/bin/python2.4 ### Copyright (C) 2002-2006 Stephen Kennedy <firstname.lastname@example.org> ### This program is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by ### the Free Software Foundation; either version 2 of the License, or ### (at your option) any later version. ### This program is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU General Public License for more details. ### You should have received a copy of the GNU General Public License ### along with this program; if not, write to the Free Software ### Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # pychecker # import sys ....
Updated by Chris Jordan almost 9 years ago
- Category set to Release Engineering
- Assignee set to OI SFW
- Difficulty changed from Medium to Bite-size
- Tags changed from needs-triage to meld, python-gnome-libs-24, dependency
I can duplicate this, meld wants pygtk to run but the pkg doesn't have a dependency on python-gnome-libs-24.
Updated by Richard PALO almost 9 years ago
Just for info, i noted the meld error message:
Meld exige pygtk2.6.0 ou supérieur.
so I edited the first line of /usr/bin/meld to be 2.6 instead of 2.4
and it does work now.
Perhaps the bug is that the script was not updated to 2.6 when the dependency was...
# # python version # pyver = (2,3) pygtkver = (2,6,0)
Updated by Ron Parker almost 9 years ago
Running meld reports:
No module named pygtk Meld requires pygtk2.6.0 or higher.
The correct version of pygtk is installed, but the shabang line in meld is:
simply editing this to python2.6 corrects the problem. I've attached a trivial patch.
This was originally misreported on OI-SFE #1727.