[Sugar-devel] Help with testing SemanticXO's backend

James Cameron quozl at laptop.org
Sun Nov 6 16:54:18 EST 2011


On Sat, Nov 05, 2011 at 08:57:14AM +0100, Christophe Gu??ret wrote:
> Oups! I forgot I had installed that package system-wide.
> It's now in the bundle, please try again :-)

$ python performances_test.py > /dev/null
/bin/sh: ./redstore: /lib32/ld-linux.so.2: bad ELF interpreter: No such
file or directory
Traceback (most recent call last):
  File "performances_test.py", line 86, in <module>
    uid = generate_journal_entry(store)
  File "performances_test.py", line 62, in generate_journal_entry
    store.store_object(metadata['uid'], metadata)
  File "/home/olpc/performances/semanticxo/datastore.py", line 121, in store_object
    conn.request("PUT", "/data/%s" % resource, body=graph.serialize(), headers=headers)
  File "/usr/lib/python2.7/httplib.py", line 946, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 987, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 940, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 803, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 755, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 736, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 567, in create_connection
    raise error, msg
socket.error: [Errno 111] Connection refused
$ 

Fixed with

$ sudo ln -s /lib /lib32

Is now running.

(XO-1.5, Sugar 0.94.0, OLPC 11.3.0 candidate 881 ... just what I had
available)

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list