You are not logged in.

#1 2014-05-01 07:48:04

falstaff_ch
Member
Registered: 2013-06-09
Posts: 26

Starting meld fails

Hi,

Starting meld fails, first I get a message about locale:

$ /usr/bin/meld
Traceback (most recent call last):
  File "/usr/bin/meld", line 91, in <module>
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/local/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/lib/python2.7/locale.py", line 539, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

I fixed this by change the line locale.setlocale(locale.LC_ALL, '') to locale.setlocale(locale.LC_ALL, 'C').

But now I get a different error:

$ /usr/bin/meld
Cannot import: pygtk
No module named pygtk

I already tried reinstalling meld and pygtk, no success so far.

$ pacman -Qi meld pygtk
Name           : meld
Version        : 1.8.4-1
Description    : Visual diff and merge tool
Architecture   : any
URL            : http://meldmerge.org/
Licenses       : GPL
Groups         : None
Provides       : None
Depends On     : pygtk  hicolor-icon-theme  desktop-file-utils
Optional Deps  : pygtksourceview2: syntax highlighting
                 python2-dbus: open a new tab in an already running instance [installed]
                 python2-gconf: gnome integration [installed]
Required By    : None
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size : 2841.00 KiB
Packager       : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date     : Don 23 Jan 2014 00:08:57 CET
Install Date   : Don 01 Mai 2014 09:40:12 CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

Name           : pygtk
Version        : 2.24.0-3
Description    : Python bindings for the GTK widget set
Architecture   : x86_64
URL            : http://www.pygtk.org/
Licenses       : LGPL
Groups         : None
Provides       : None
Depends On     : libglade  python2-cairo  pygobject
Optional Deps  : python2-numpy [installed]
Required By    : gimp  gtk-recordmydesktop  meld  python2-gconf  python2-notify  python2-wnck
Optional For   : avahi  hippo-canvas
Conflicts With : None
Replaces       : None
Installed Size : 18228.00 KiB
Packager       : Eric Belanger <eric@archlinux.org>
Build Date     : Mon 23 Jan 2012 21:48:33 CET
Install Date   : Don 01 Mai 2014 09:40:12 CEST
Install Reason : Explicitly installed
Install Script : No
Validated By   : Signature

Any idea how to solve this? Is it really a bug? Several people could solve such an issues by re-installing in the past.

--
falstaff

Offline

#2 2014-05-03 17:18:46

bolorino
Member
From: Spain
Registered: 2013-06-17
Posts: 18
Website

Re: Starting meld fails

Does some of this work?

PYTHONPATH=/usr/lib/python2.7 meld &
dbus-launch meld &

I've had problems launching meld, as well as other Python2 programs, because they were Python3 incompatible.

If the first one works and there are no other conflicts you could set PYTHONPATH.


Improve my english... Work in progress

Offline

#3 2014-05-03 19:08:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,084

Re: Starting meld fails

What do your /etc/locale.conf and /etc/locale.gen look like? The output of `locale` and `locale -a`?

Last edited by Scimmia (2014-05-03 19:17:04)

Offline

Board footer

Powered by FluxBB