Re: [Sugar-devel] Getting sugar-jhbuild run working

2009-02-10 Thread Alex Holkner
On Wed, Feb 11, 2009 at 3:33 AM, Sascha Silbe
sascha-ml-ui-sugar-de...@silbe.org wrote:
 On Mon, Feb 09, 2009 at 07:07:02PM +0100, Jonas Smedegaard wrote:

 [Ubuntu python-gconf has RPATH setting]

 If this turns out to be the case, you should probably file a bugreport
 against Ubuntu.

 Done. [1]


 [1] https://bugs.launchpad.net/ubuntu/+source/gnome-python/+bug/327671

Thanks very much everyone, I removed the RPATH using chrpath and now
sugar is working.

Alex.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Fwd: Getting sugar-jhbuild run working

2009-02-09 Thread Alex Holkner
On Mon, Feb 9, 2009 at 6:23 PM, Marco Pesenti Gritti
marc...@sugarlabs.org wrote:
 Can you send ~/.sugar/default/logs/shell.log?


Traceback (most recent call last):
 File /home/alex/foreign/sugar-jhbuild/install/bin/sugar-session,
line 174, in module
   main()
 File /home/alex/foreign/sugar-jhbuild/install/bin/sugar-session,
line 138, in main
   intro.check_profile()
 File 
/home/alex/foreign/sugar-jhbuild/install/lib/python2.5/site-packages/jarabe/intro/__init__.py,
line 22, in check_profile
   if not profile.is_valid():
 File 
/home/alex/foreign/sugar-jhbuild/install/lib/python2.5/site-packages/sugar/profile.py,
line 55, in is_valid
   nick = client.get_string(/desktop/sugar/user/nick)
glib.GError: Failed to contact configuration server; some possible
causes are that you need to enable TCP/IP networking for ORBit, or you
have stale NFS locks due to a system crash. See
http://www.gnome.org/projects/gconf/ for information. (Details -  1:
Could not send message to gconf daemon: Method GetIOR with signature
 on interface org.gnome.GConf doesn't exist


So the problem looks like Ticket #111 at
http://dev.sugarlabs.org/ticket/111.  Not knowing much about gconf, I
did trace the problem to something in the environment that
sugar-emulator sets up (the gconf snippet works outside of it, with
the same python path etc, but not inside the xephyr env).  Here's my
/var/log/messages tail:


Feb  9 22:15:18 linux gconfd (alex-7998): starting (version 2.16.0),
pid 7998 user 'alex'
Feb  9 22:15:18 linux gconfd (alex-7998): Resolved address
xml:readonly:/home/alex/foreign/sugar-jhbuild/install/etc/gconf/gconf.xml.mandatory
to a read-only configuration source at position 0
Feb  9 22:15:18 linux gconfd (alex-7998): Resolved address
xml:readwrite:/home/alex/.sugar/default/gconf to a writable
configuration source at position 1
Feb  9 22:15:18 linux gconfd (alex-7998): Resolved address
xml:readonly:/home/alex/foreign/sugar-jhbuild/install/etc/gconf/gconf.xml.defaults
to a read-only configuration source at position 2
Feb  9 22:15:18 linux gconfd (alex-7998): Exiting


Alex.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Getting sugar-jhbuild run working

2009-02-09 Thread Alex Holkner
On Mon, Feb 9, 2009 at 10:25 PM, Marco Pesenti Gritti
marc...@sugarlabs.org wrote:
 Is this a clean jhbuild?

So far I have only followed the instructions on the wiki, on an
up-to-date Ubuntu 8.10, and not tinkered with anything else.

 Do you have sugar-jhbuild/install/libexec/gconfd-2 ?

Yes.

Alex.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Cannot sugar-jhbuild update

2009-02-08 Thread Alex Holkner
On Sun, Feb 8, 2009 at 4:56 PM, Ties Stuij cjst...@gmail.com wrote:
 On Fri, Feb 6, 2009 at 5:06 PM, Tomeu Vizoso to...@sugarlabs.org wrote:
 2009/2/6 Alex Holkner alex.holk...@gmail.com:
  File /home/alex/foreign/sugar-jhbuild/sjhbuild/main.py, line 31, in 
 module
import jhbuild.commands
 ImportError: No module named jhbuild.commands

 This happened to me some days ago, it was caused because the
 sugar-jhbuild/jhbuild submodule was pointing to the old location.
 Deleting that directory and updating sugar-jhbuild solved the issue.

 I think the problem here is that the path to the gnome git repo is
 wrong in the sugar-jhbuild script.
 It's git://git.gnome.org/preview/jhbuild, not git://git.gnome.org/jhbuild.

Thank you, appears to be working now.

Alex.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Getting sugar-jhbuild run working

2009-02-08 Thread Alex Holkner
Thanks for the previous help in getting sugar-jhbuild updating from
the correct git repository.

I've now got a successful install (this involved upgrading to Ubuntu
8.10 and installing some additional packages not listed on the wiki --
I've added them now).  Running './sugar-jhbuild run' brings up an
empty Xephyr window (just the patterned background) and does nothing
else.  The output is:

[linux] ~/foreign/sugar-jhbuild% ./sugar-jhbuild run
Could not init font path element /usr/share/fonts/X11/cyrillic,
removing from list!
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
Could not init font path element /usr/share/fonts/X11/cyrillic,
removing from list!
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
unrecognised device identifier!
(EE) config/hal: NewInputDeviceRequest failed
1234153991.2729919 STARTUP: Starting the shell

Thanks for any help
Alex.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel