Re: [Sugar-devel] Missing Keyboard input on fresh Jhbuild

2009-01-29 Thread Tomeu Vizoso
Hi Grant, may this thread help?

http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2006-02/msg6.html

Regards,

Tomeu

On Thu, Jan 29, 2009 at 05:13, Grant Bowman grant...@gmail.com wrote:
 Hi there, I'm new to the list.  I received my G1G1 hardware on Jan 6th
 after ordering Dec 30th and have been exploring the capabilities since
 then.  My next step is setting up my desktop for development.

 I checked the last couple months of archives and saw a few Jhbuild
 related items but nothing that seemed to address the problem I am
 having.  Today I followed the instructions at DevelopmentTeam/Jhbuild
 to download and compile sugar on an updated Ubuntu 8.10 machine.
 After addressing all dependencies it seemed to compile just fine.

 When I run it now using './sugar-jhbuild run' I have mouse input but
 keyboard input is ignored even after the ctrl-shift capturing command.
  Since the terminal output is lengthy and repetitive I pasted it all
 at http://pastebin.be/16352 where it will be available for a week.  I
 don't see any immediately instructive errors but I may be missing
 something.  I pasted a few sample lines below.  Any suggestions on
 what to try next?

 Thanks,

 --
 -- Grant Bowman   grant...@gmail.com



 expected keysym, got XF86_Switch_VT_1: line 8 of xfree86

 The XKEYBOARD keymap compiler (xkbcomp) reports:
 Warning:  Multiple interpretations of NoSymbol+AnyOfOrNone(all)
   Using last definition for duplicate fields

 (EE) config/hal: NewInputDeviceRequest failed
 unrecognised device identifier!
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

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


Re: [Sugar-devel] Missing Keyboard input on fresh Jhbuild

2009-01-29 Thread Grant Bowman
Hi Chris and Tomeu,

I've tried a few things but no joy yet other than my hardware XO
seeing the image on my development machine over the network for a
moment..

Thanks Chris for your quick reply!  I already had installed the
packages from months ago on this machine.  It might have been
customized 8.04 package instructions, it's been awhile.  apt-get tells
me the packages are the latest revision but I'll double check my
sources.list.. I stopped tinkering with it because I didn't know the
hardware and/or shortcut bindings I needed to be effective in a Sugar
environment.  Now that I have a hardware device and have seen some
pointers on shortcuts I'm looking forward to getting this working
again.  I think it used to work.  I do have functional mouse and
keyboard when running the packages but the icons are not found in the
theme making most navigation bordering on impossible with invisible
icons.  Also running the Terminal failed to launch.  I tried as both
my own user and as root user with identical results.  Here are the
error messages of my running the Ubuntu 8.10 packages on my machine.
http://pastebin.be/16354  Again I've attached same error messages
below that I think are relevant from this second pastebin.

Tomeu, that link seems like it describes my problem exactlty!  It
seems like an xserver conflict of some kind but with the mouse and
keyboard running OK in the packages it confuses me, indicating I'm
about to learn something.  :-)  I'll read up and let you know if I get
it sorted out.  I am sure there would be tremendous value in having
the git tree run out of the box on Ubuntu 8.10 systems and it seems so
close for me.  Maybe I'll try a full xsession instead of running in a
window.

Thank you both for your replies.  I hope to have one of the two
environments working pretty soon as I start to explore the code.  My
goal is to learn enough about NetworkManager, d-bus and wpa_supplicant
to fix some bugs I've encountered in my own local AP environment -
hidden AP ssid (non broadcasting) and using WEP40 ascii keys.  On
first look it seems some code is missing to handle this particular
case but I'm still trying to sort out if that's true or not as I
wander through and learn more about the code.

I have a list of other 1st-time user bugs I've encountered as I've
gotten more familiar with my XO-1 that I will try to get to filing
when I can work them up into proper bug reports and verify they aren't
duplicates in trac.  My list currently has a crash bug on zooming that
deleted the first write document I ever made (ouch), network view
refreshing to white sometimes in different circumstances (I reloaded
the 767image since and see no problems now), develop activity crashed
the machine, NetworkManager throws an error when stopped twice, some
spurious xkbdcomp errors, occasional scrollbars missing in the Browse
activity (need to identify a repeatable case), time settings not
written to /etc/localtime like I read it should, book style navigator
OK button (check button on the screen) didnt' work as expected,
rotating orientation of touchpad would be nice to syn with rotated
screen orientation, etc.

Thanks again for your help.  I will report back when I make some progress.

Regards,

-- Grant Bowman   grant...@gmail.com


On Thu, Jan 29, 2009 at 1:40 AM, Tomeu Vizoso to...@sugarlabs.org wrote:
 Hi Grant, may this thread help?

 http://unix.derkeiler.com/Newsgroups/comp.unix.bsd.freebsd.misc/2006-02/msg6.html

 Regards,

 Tomeu

 On Thu, Jan 29, 2009 at 05:13, Grant Bowman grant...@gmail.com wrote:
 Hi there, I'm new to the list.  I received my G1G1 hardware on Jan 6th
 after ordering Dec 30th and have been exploring the capabilities since
 then.  My next step is setting up my desktop for development.

 I checked the last couple months of archives and saw a few Jhbuild
 related items but nothing that seemed to address the problem I am
 having.  Today I followed the instructions at DevelopmentTeam/Jhbuild
 to download and compile sugar on an updated Ubuntu 8.10 machine.
 After addressing all dependencies it seemed to compile just fine.

 When I run it now using './sugar-jhbuild run' I have mouse input but
 keyboard input is ignored even after the ctrl-shift capturing command.
  Since the terminal output is lengthy and repetitive I pasted it all
 at http://pastebin.be/16352 where it will be available for a week.  I
 don't see any immediately instructive errors but I may be missing
 something.  I pasted a few sample lines below.  Any suggestions on
 what to try next?

 Thanks,

 --
 -- Grant Bowman   grant...@gmail.com



 expected keysym, got XF86_Switch_VT_1: line 8 of xfree86

 The XKEYBOARD keymap compiler (xkbcomp) reports:
 Warning:  Multiple interpretations of NoSymbol+AnyOfOrNone(all)
   Using last definition for duplicate fields

 (EE) config/hal: NewInputDeviceRequest failed
 unrecognised device identifier!

Re: [Sugar-devel] Missing Keyboard input on fresh Jhbuild

2009-01-29 Thread Grant Bowman
Oops, sample errors from http://pastebin.be/16354

-- Grant Bowman   grant...@gmail.com


   sugar
  root window unavailible (maybe another wm is running?)
  1233219662.097566 WARNING root: No icon with the name go-right
was found in the theme.
  1233219662.106293 ERROR dbus.proxies: Introspect error on
org.freedesktop.ohm:/org/freedesktop/ohm/Keystore:
dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.ohm was not provided by any .service files
  1233219662.213436 WARNING root: No icon with the name go-right
was found in the theme.
  1233219662.216576 ERROR root: Cannot unfreeze the DCON
  1233219708.960430 WARNING root: No icon with the name
computer-xo was found in the theme.
  [u'sugar-activity', u'journalactivity.JournalActivity', '-b',
dbus.String(u'org.laptop.JournalActivity', variant_level=1), '-a',
'1e9cf902d15bb1ea010c93e8c1af2844dca3628d']
  1233219734.716714 ERROR dbus.proxies: Introspect error on
:1.5:/org/laptop/Activity/1e9cf902d15bb1ea010c93e8c1af2844dca3628d:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply:
Message did not receive a reply (timeout by message bus)
  [u'sugar-activity', u'terminal.TerminalActivity', '-b',
dbus.String(u'org.laptop.Terminal', variant_level=1), '-a',
'c6d9ff2de47e382c42bc61b9eac609a14bd5cdcc']
  1233219762.830013 ERROR dbus.proxies: Introspect error on
:1.6:/org/laptop/Activity/c6d9ff2de47e382c42bc61b9eac609a14bd5cdcc:
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply:
Message did not receive a reply (timeout by message bus)
  (sugar-shell:29442): Wnck-WARNING **: Received a timestamp of 0;
window activation may not function properly.
  1233219980.958574 ERROR root: Model for window 71308322 does not exist.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Missing Keyboard input on fresh Jhbuild

2009-01-29 Thread Grant Bowman
Many thanks to Tomeu for working with me on IRC to track this down.  I
got `./sugar-jhbuild run` working after I `unset XKEYSYMDB` in .bashrc
which was useful for very old motif applications before I upgraded X a
couple times.

Morgan, sugar-emulator seems to work too, thanks!  I am not sure I
would have figured that out since there is no mention of this command
in the file /usr/share/doc/sugar/README in the 0.82.0-1ubuntu3 version
of the sugar package.

The two may conflict a little so I'll just use one or the other.
Resetting brings back all the functionality by running `rm -rf
~/.sugar`

Thanks!

-- Grant Bowman   grant...@gmail.com




On Thu, Jan 29, 2009 at 4:05 AM, Morgan Collett
morgan.coll...@gmail.com wrote:
 On Thu, Jan 29, 2009 at 14:02, Grant Bowman grant...@gmail.com wrote:
 Oops, sample errors from http://pastebin.be/16354

 Run sugar-emulator, not sugar.

 Regards
 Morgan

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


Re: [Sugar-devel] Missing Keyboard input on fresh Jhbuild

2009-01-28 Thread Chris Ball
Hi Grant,

When I run it now using './sugar-jhbuild run' I have mouse input
but keyboard input is ignored even after the ctrl-shift capturing
command.  Since the terminal output is lengthy and repetitive I
pasted it all at http://pastebin.be/16352 where it will be
available for a week.  I don't see any immediately instructive
errors but I may be missing something.  I pasted a few sample lines
below.  Any suggestions on what to try next?

This isn't the answer you're expecting, but if you aren't planning on
hacking bleeding-edge Sugar, I'd just install the Sugar packages in
Ubuntu.  (apt-get install sugar sugar-activities sugar-emulator, or
something).  Those packages are recent enough to be fine for developing
activities against.

Thanks,

- Chris.
-- 
Chris Ball   c...@laptop.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel