Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] meld ERROR - ImportError: This platform lacks a functioning sem_open
Date: Sun, 29 Dec 2013 17:11:55
Message-Id: 20131229171204.GD15186@syscon7.ed.shawcable.net
In Reply to: Re: [gentoo-user] meld ERROR - ImportError: This platform lacks a functioning sem_open by Hinnerk van Bruinehsen
1 On 12/29/13 13:14, Hinnerk van Bruinehsen wrote:
2 > Hi,
3 > A few days ago there was a similar issue discussed in
4 > [1]http://www.gossamer-threads.com/lists/gentoo/user/281003
5 > In the last answer James proposed a solution that seemingly resolved
6 > that issue.
7 > Wkr
8 > Hinnerk
9 >
10 > Joseph <syscon780@×××××.com> wrote:
11 >
12 >I just upgraded my system and "meld" as well.
13 >I'm using "cfg-update -u" to compare files that did change utilizing meld
14 >When I try to compare two file as root using meld I get:
15 > meld /etc/ddclient/ddclient.conf /etc/ddclient/._cfg0000_ddclient.conf
16 >Traceback (most recent call last):
17 > File "/usr/bin/meld", line 173, in <module>
18 > main()
19 > File "/usr/bin/meld", line 165, in main
20 > new_window = app.parse_args(sys.argv[1:])
21 > File "/usr/lib64/meld/meld/[2]meldapp.py", line 169, in parse_args
22 > tab = open_paths(args, options.auto_compare, options.auto_merge)
23 > File "/usr/lib64/meld/meld/[3]meldwindow.py", line 796, in open_paths
24 > tab = self.append_diff(paths, auto_compare, auto_merge)
25 > File "/usr/lib64/meld/meld/[4]meldwindow.py", line 746, in append_diff
26 > return
27 >self.append_filediff(paths, merge_output=merge_output)
28 > File "/usr/lib64/meld/meld/[5]meldwindow.py", line 703, in append_filediff
29 > doc = filediff.FileDiff(app.prefs, len(files))
30 > File "/usr/lib64/meld/meld/[6]filediff.py", line 214, in __init__
31 > self._cached_match = CachedSequenceMatcher()
32 > File "/usr/lib64/meld/meld/[7]filediff.py", line 72, in __init__
33 > None, matchers.init_worker, maxtasksperchild=1)
34 > File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 232, in Pool
35 > return Pool(processes, initializer, initargs, maxtasksperchild)
36 > File "/usr/lib64/python2.7/multiprocessing/[8]pool.py", line 138, in __init__
37 > self._setup_queues()
38 > File "/usr/lib64/python2.7/multiprocessing/[9]pool.py", line 232, in _setup_qu
39 >eues
40 > from .queues import SimpleQueue
41 > File "/usr/lib64/python2.7/multiprocessing/[10]queues.py", line 48, in <module
42 >>
43 > from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, C
44 >ondition
45 > File "/usr/lib64/python2.7/multiprocessing/[11]synchronize.py", line 59, in <m
46 >odule>
47 > " function, see issue 3770.")
48 >ImportError: This platform lacks a functioning sem_open implementation, therefor
49 >e, the required synchronization primitives needed will not function, see issue 3
50 >770.
51 >--
52 >Joseph
53
54 I've changed to permission on /dev/shm to 1777 and recompile both pythons 2.7.5-r3 and 3.3.2-r2
55 but it makes no difference.
56 Meld 1.8.2 starts empty OK but when I try to open any file I get that error.
57
58 --
59 Joseph