Re: [Server-devel] Gadget on XS
On Mon, Jul 6, 2009 at 6:00 PM, Martin Langhoff wrote: > On Tue, Jul 7, 2009 at 5:00 AM, Walter Bender > wrote: > > We plan to set up a server tomorrow at the Gardner School. Can you point > to > > those instructions you followed to your success? > > The question is, IMO: what does gadget do better? The best I > understand is that when there are many XOs it can show a random subset > in your network view. That is all that is _implemented_ at the moment. > It may show promise but what we have is this. > > And I don't find "a random subset" very compelling. The patches I've > done for ejabberd + moodle make a lot more sense, IMHO. And scale a > ton more because Moodle feeds a bit of data to ejabberd and gets the > hell out of the way. It's not clear to me how ejabberd+Gadget > (erlang+python) scale in terms of memory, resource contention and CPU. > > Frankly, I'd love to get rid of my ejabberd patches. Right now, I'm > doubtful that Gadget will satisfy the Sugar team's expectations. > > Unless Gadget has moved forward considerable in the last 3 months, or > if it's generally just more advanced than I think it is. > It is my understanding it somehow uses less network resources, but I don't have that much information. For my specific application, I will be using the Moodle/ejabberd combination, but as someone asked, I figured I would try it out and see if gadget worked. I can at least report I was able to configure it As noone is working on gadget right now, and I don't have any information on how it works or where one would go to get that information, or how to use it to improve collaboration, I can't do much with it. Dave > > cheers, > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Tue, Jul 7, 2009 at 5:00 AM, Walter Bender wrote: > We plan to set up a server tomorrow at the Gardner School. Can you point to > those instructions you followed to your success? The question is, IMO: what does gadget do better? The best I understand is that when there are many XOs it can show a random subset in your network view. That is all that is _implemented_ at the moment. It may show promise but what we have is this. And I don't find "a random subset" very compelling. The patches I've done for ejabberd + moodle make a lot more sense, IMHO. And scale a ton more because Moodle feeds a bit of data to ejabberd and gets the hell out of the way. It's not clear to me how ejabberd+Gadget (erlang+python) scale in terms of memory, resource contention and CPU. Frankly, I'd love to get rid of my ejabberd patches. Right now, I'm doubtful that Gadget will satisfy the Sugar team's expectations. Unless Gadget has moved forward considerable in the last 3 months, or if it's generally just more advanced than I think it is. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Here is what I have so far: XS 0.6 Install frm kickstart Edit /etc/sysconfig/network-scripts/ifcfg-eth0-local for static IP run /etc/sysconfig/olpc-scripts/domain_config Make sure ejabberd is configured correctly Edit /etc/ejabberd/ejabberd.cfg Restart ejabberdctl --node ejabb...@schoolserver start Gadget Get RPM http://kojipkgs.fedoraproject.org/packages/gadget/0.0.3/2.fc9/noarch/gadget-0.0.3-2.fc9.noarch.rpm More Info: http://koji.fedoraproject.org/koji/buildinfo?buildID=95961 yum install python-twisted rpm -i gadget-0.0.3-2.fc9.noarch.rpm Edit ejabberd.cfg to support gadget Hostname is gadget."full hostname" ie gadget.schoolserver.xsdev.solutiongrove.com It looks like its not using gadget but local collaboration. I turned off the shared roster and shutdown ejabberd and I think it might be using local collaboration instead of the server. I need more debugging. Dave On Mon, Jul 6, 2009 at 3:00 PM, Walter Bender wrote: > We plan to set up a server tomorrow at the Gardner School. Can you point to > those instructions you followed to your success? > > thanks. > > -walter > > On Mon, Jul 6, 2009 at 2:34 PM, Dave Bauer wrote: > >> Success! >> >> I did a new XS 0.6d2 install and added the gadget RPM. I configured it >> correctly an gadget is running and I can see gadget communicating with >> Soas-strawberry! >> >> I have not been able to see what is different on this install, it is 0.6d2 >> instead of 0.5.2. >> >> Dave >> >> >> >> On Fri, Apr 17, 2009 at 4:57 AM, Guillaume Desmottes < >> guillaume.desmot...@collabora.co.uk> wrote: >> >>> Le mercredi 15 avril 2009 à 11:45 -0400, Dave Bauer a écrit : >>> > >>> > >>> > On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes >>> > wrote: >>> > Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : >>> > >>> > > >>> > > AHA! gadget.config. >>> > > >>> > > Can we add the startup and gadget.config to the README? >>> > >>> > >>> > I didn't realise this file was not documented, sorry for that. >>> > >>> > I wrote some words about it in this patch: >>> > >>> > >>> http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 >>> > >>> > Could you review it please? Then I'll merge it to master. >>> > >>> > >>> > thanks, >>> > >>> > >>> >G. >>> > >>> > Tried this based on the documentation you added >>> > less /etc/gadget/gadget.config >>> >>> What's the domain of your ejabberd server? >>> >>> Look for something like that in ejabbed.cfg: >>> %% Hostname >>> {hosts, ["jabber.sugarlabs.org"]}. >>> >>> >>> > server_host = 'localhost' >>> > server_port = 5560 >>> > domain = 'sugarlabs.org' >>> >>> In my case the domain here is then: >>> domain = 'gadget.jabber.sugarlabs.org' >>> >>> > password = 'X' >>> > roster_path = 'gadget.roster' >>> > >>> > >>> > ejabberd-xs.cfg >>> > >>> > {5560, ejabberd_service, [ >>> > {ip, {127, 0, 0, 1}}, >>> > {access, all}, >>> > {host, "gadget.localhost", [{password, "X"}]}]} >>> >>> and here: >>> {5560, ejabberd_service, [ >>> {ip, {127, 0, 0, 1}}, >>> {access, all}, >>> {host, "gadget.jabber.sugarlabs.org", [{password, "X"}]}]}, >>> >>> >>> >>> >> >> >> -- >> Dave Bauer >> d...@solutiongrove.com >> http://www.solutiongrove.com >> >> ___ >> Server-devel mailing list >> Server-devel@lists.laptop.org >> http://lists.laptop.org/listinfo/server-devel >> >> > > > -- > Walter Bender > Sugar Labs > http://www.sugarlabs.org > > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
We plan to set up a server tomorrow at the Gardner School. Can you point to those instructions you followed to your success? thanks. -walter On Mon, Jul 6, 2009 at 2:34 PM, Dave Bauer wrote: > Success! > > I did a new XS 0.6d2 install and added the gadget RPM. I configured it > correctly an gadget is running and I can see gadget communicating with > Soas-strawberry! > > I have not been able to see what is different on this install, it is 0.6d2 > instead of 0.5.2. > > Dave > > > > On Fri, Apr 17, 2009 at 4:57 AM, Guillaume Desmottes < > guillaume.desmot...@collabora.co.uk> wrote: > >> Le mercredi 15 avril 2009 à 11:45 -0400, Dave Bauer a écrit : >> > >> > >> > On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes >> > wrote: >> > Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : >> > >> > > >> > > AHA! gadget.config. >> > > >> > > Can we add the startup and gadget.config to the README? >> > >> > >> > I didn't realise this file was not documented, sorry for that. >> > >> > I wrote some words about it in this patch: >> > >> > >> http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 >> > >> > Could you review it please? Then I'll merge it to master. >> > >> > >> > thanks, >> > >> > >> >G. >> > >> > Tried this based on the documentation you added >> > less /etc/gadget/gadget.config >> >> What's the domain of your ejabberd server? >> >> Look for something like that in ejabbed.cfg: >> %% Hostname >> {hosts, ["jabber.sugarlabs.org"]}. >> >> >> > server_host = 'localhost' >> > server_port = 5560 >> > domain = 'sugarlabs.org' >> >> In my case the domain here is then: >> domain = 'gadget.jabber.sugarlabs.org' >> >> > password = 'X' >> > roster_path = 'gadget.roster' >> > >> > >> > ejabberd-xs.cfg >> > >> > {5560, ejabberd_service, [ >> > {ip, {127, 0, 0, 1}}, >> > {access, all}, >> > {host, "gadget.localhost", [{password, "X"}]}]} >> >> and here: >> {5560, ejabberd_service, [ >> {ip, {127, 0, 0, 1}}, >> {access, all}, >> {host, "gadget.jabber.sugarlabs.org", [{password, "X"}]}]}, >> >> >> >> > > > -- > Dave Bauer > d...@solutiongrove.com > http://www.solutiongrove.com > > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > > -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Success! I did a new XS 0.6d2 install and added the gadget RPM. I configured it correctly an gadget is running and I can see gadget communicating with Soas-strawberry! I have not been able to see what is different on this install, it is 0.6d2 instead of 0.5.2. Dave On Fri, Apr 17, 2009 at 4:57 AM, Guillaume Desmottes < guillaume.desmot...@collabora.co.uk> wrote: > Le mercredi 15 avril 2009 à 11:45 -0400, Dave Bauer a écrit : > > > > > > On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes > > wrote: > > Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : > > > > > > > > AHA! gadget.config. > > > > > > Can we add the startup and gadget.config to the README? > > > > > > I didn't realise this file was not documented, sorry for that. > > > > I wrote some words about it in this patch: > > > > > http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 > > > > Could you review it please? Then I'll merge it to master. > > > > > > thanks, > > > > > >G. > > > > Tried this based on the documentation you added > > less /etc/gadget/gadget.config > > What's the domain of your ejabberd server? > > Look for something like that in ejabbed.cfg: > %% Hostname > {hosts, ["jabber.sugarlabs.org"]}. > > > > server_host = 'localhost' > > server_port = 5560 > > domain = 'sugarlabs.org' > > In my case the domain here is then: > domain = 'gadget.jabber.sugarlabs.org' > > > password = 'X' > > roster_path = 'gadget.roster' > > > > > > ejabberd-xs.cfg > > > > {5560, ejabberd_service, [ > > {ip, {127, 0, 0, 1}}, > > {access, all}, > > {host, "gadget.localhost", [{password, "X"}]}]} > > and here: > {5560, ejabberd_service, [ > {ip, {127, 0, 0, 1}}, > {access, all}, > {host, "gadget.jabber.sugarlabs.org", [{password, "X"}]}]}, > > > > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Le mercredi 15 avril 2009 à 11:45 -0400, Dave Bauer a écrit : > > > On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes > wrote: > Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : > > > > > AHA! gadget.config. > > > > Can we add the startup and gadget.config to the README? > > > I didn't realise this file was not documented, sorry for that. > > I wrote some words about it in this patch: > > > http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 > > Could you review it please? Then I'll merge it to master. > > > thanks, > > >G. > > Tried this based on the documentation you added > less /etc/gadget/gadget.config What's the domain of your ejabberd server? Look for something like that in ejabbed.cfg: %% Hostname {hosts, ["jabber.sugarlabs.org"]}. > server_host = 'localhost' > server_port = 5560 > domain = 'sugarlabs.org' In my case the domain here is then: domain = 'gadget.jabber.sugarlabs.org' > password = 'X' > roster_path = 'gadget.roster' > > > ejabberd-xs.cfg > > {5560, ejabberd_service, [ > {ip, {127, 0, 0, 1}}, > {access, all}, > {host, "gadget.localhost", [{password, "X"}]}]} and here: {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, "gadget.jabber.sugarlabs.org", [{password, "X"}]}]}, ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Mon, Apr 13, 2009 at 5:48 AM, Guillaume Desmottes < guillaume.desmot...@collabora.co.uk> wrote: > Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : > > > > > AHA! gadget.config. > > > > Can we add the startup and gadget.config to the README? > > I didn't realise this file was not documented, sorry for that. > > I wrote some words about it in this patch: > > > http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 > > Could you review it please? Then I'll merge it to master. > > > thanks, > > >G. > Tried this based on the documentation you added less /etc/gadget/gadget.config server_host = 'localhost' server_port = 5560 domain = 'sugarlabs.org' password = 'X' roster_path = 'gadget.roster' ejabberd-xs.cfg {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, "gadget.localhost", [{password, "X"}]}]} Same result in the gadget log. Restarted ejabbderd and gadget services. Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Le mercredi 08 avril 2009 à 15:53 -0400, Dave Bauer a écrit : > > > On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes > wrote: > > > > Did you properly configured ejabberd as explained in Gadget's > README? > You should have something like that: > > {5560, ejabberd_service, [ > {ip, {127, 0, 0, 1}}, > {access, all}, > {host, "gadget.jabber.sugarlabs.org", [{password, > ""}]}]}, > > Your gadget.config should match these params. > > Then don't forget to restart ejabberd to reload the new > configuration. > > > This is what my jabber config looks like > {5560, ejabberd_service, [ > {ip, {206, 192, 23, 224}}, > {access, all}, > {host, "gadget.jabber.sugarlabs.org", [{password, ""}]}]}, > > > and my gadget.config > > server_host = 'jabber' > server_port = 5560 > domain = 'sugarlabs.org' > password = '' > roster_path = 'gadget.roster' Seems Gadget can't connect to ejabberd. Is Gadget running on the same machine as ejabberd? If yes then you should use "localhost" instead of the server public IP. I'm not sure ejabberd will be happy with an empty password. Try to set one. G. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Le vendredi 03 avril 2009 à 10:40 -0400, Dave Bauer a écrit : > > AHA! gadget.config. > > Can we add the startup and gadget.config to the README? I didn't realise this file was not documented, sorry for that. I wrote some words about it in this patch: http://git.collabora.co.uk/?p=user/cassidy/gadget;a=commitdiff;h=711fddfc4bdfad75582af776baa3beb532dea083 Could you review it please? Then I'll merge it to master. thanks, G. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes < guillaume.desmot...@collabora.co.uk> wrote: > > > Did you properly configured ejabberd as explained in Gadget's README? > You should have something like that: > > {5560, ejabberd_service, [ > {ip, {127, 0, 0, 1}}, > {access, all}, > {host, "gadget.jabber.sugarlabs.org", [{password, ""}]}]}, > > Your gadget.config should match these params. > > Then don't forget to restart ejabberd to reload the new configuration. > > This is what my jabber config looks like {5560, ejabberd_service, [ {ip, {206, 192, 23, 224}}, {access, all}, {host, "gadget.jabber.sugarlabs.org", [{password, ""}]}]}, and my gadget.config server_host = 'jabber' server_port = 5560 domain = 'sugarlabs.org' password = '' roster_path = 'gadget.roster' Startup in log says 2009/04/08 15:52 -0400 [-] Log opened. 2009/04/08 15:52 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up 2009/04/08 15:52 -0400 [-] reactor class: 2009/04/08 15:52 -0400 [-] Loading /usr/share/gadget/gadget.tac... 2009/04/08 15:52 -0400 [-] Loaded. 2009/04/08 15:52 -0400 [-] Starting factory 2009/04/08 15:52 -0400 [Uninitialized] will retry in 2 seconds 2009/04/08 15:52 -0400 [Uninitialized] Stopping factory 2009/04/08 15:52 -0400 [-] Starting factory 2009/04/08 15:52 -0400 [Uninitialized] will retry in 5 seconds 2009/04/08 15:52 -0400 [Uninitialized] Stopping factory 2009/04/08 15:52 -0400 [-] Starting factory 2009/04/08 15:52 -0400 [Uninitialized] will retry in 16 seconds 2009/04/08 15:52 -0400 [Uninitialized] Stopping factory Thanks Dave > >G. > > > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Fri, Apr 3, 2009 at 10:15 AM, Guillaume Desmottes < guillaume.desmot...@collabora.co.uk> wrote: > Le vendredi 03 avril 2009 à 09:41 -0400, Dave Bauer a écrit : > > > > > > On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes > > wrote: > > Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit : > > > Hi, > > > > > > I am trying to get gadget working on my XS at > > > schoolserver.solutiongrove.com > > > > > > First I downloaded the source and built it, but I could not > > find any > > > indication that gadget was installed. How can I tell if it > > is working? > > > > > > Next I tried the gadget package > > > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 > > RPM but it > > > required ejabberd package. RPM says this is not installed. > > (I did > > > install python-twisted which was another requirement of the > > RPM). > > > > > > Does anyoe have any advice on getting gadget working? > > > > > > Basically you have to install the gadget service, launch it > > (it's a > > separated process), modify your ejabberd.cfg as explained in > > the Gadget > > README and then restart your ejabberd. > > > > You can see if Gadget is working by looking at the XMPP > > traffic > > exchanged between clients and the server. > > > > Gadget started /etc/init.d/gadget start > > > > logs on server say > > > > 2009/04/03 09:37 -0400 [-] Log opened. > > 2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) > > starting up > > 2009/04/03 09:37 -0400 [-] reactor class: > 'twisted.internet.selectreactor.SelectReactor'> > > 2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac... > > 2009/04/03 09:37 -0400 [-] Loaded. > > 2009/04/03 09:37 -0400 [-] Starting factory > > > 0x8a8644c> > > 2009/04/03 09:37 -0400 [Uninitialized] > instance at 0x8a8bb4c> will retry in 2 seconds > > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory > > > 0x8a8644c> > > 2009/04/03 09:37 -0400 [-] Starting factory > > > 0x8a8644c> > > 2009/04/03 09:37 -0400 [Uninitialized] > instance at 0x8a8bb4c> will retry in 9 seconds > > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory > > > 0x8a8644c> > > 2009/04/03 09:37 -0400 [-] Starting factory > > > 0x8a8644c> > > 2009/04/03 09:37 -0400 [Uninitialized] > instance at 0x8a8bb4c> will retry in 24 seconds > > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory > > > 0x8a8644c> > > 2009/04/03 09:38 -0400 [-] Starting factory > > > 0x8a8644c> > > 2009/04/03 09:38 -0400 [Uninitialized] > instance at 0x8a8bb4c> will retry in 70 seconds > > 2009/04/03 09:38 -0400 [Uninitialized] Stopping factory > > > 0x8a8644c> > > 2009/04/03 09:39 -0400 [-] Starting factory > > > 0x8a8644c> > > 2009/04/03 09:39 -0400 [Uninitialized] > instance at 0x8a8bb4c> will retry in 183 seconds > > 2009/04/03 09:39 -0400 [Uninitialized] Stopping factory > > > 0x8a8644c> > > > > and so on. Not sure where to look. is this OK? > > Did you properly configured ejabberd as explained in Gadget's README? > You should have something like that: > > {5560, ejabberd_service, [ > {ip, {127, 0, 0, 1}}, > {access, all}, > {host, "gadget.jabber.sugarlabs.org", [{password, ""}]}]}, > > Your gadget.config should match these params. > AHA! gadget.config. Can we add the startup and gadget.config to the README? Thanks Dave > > Then don't forget to restart ejabberd to reload the new configuration. > > > >G. > > > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Le vendredi 03 avril 2009 à 09:41 -0400, Dave Bauer a écrit : > > > On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes > wrote: > Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit : > > Hi, > > > > I am trying to get gadget working on my XS at > > schoolserver.solutiongrove.com > > > > First I downloaded the source and built it, but I could not > find any > > indication that gadget was installed. How can I tell if it > is working? > > > > Next I tried the gadget package > > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 > RPM but it > > required ejabberd package. RPM says this is not installed. > (I did > > install python-twisted which was another requirement of the > RPM). > > > > Does anyoe have any advice on getting gadget working? > > > Basically you have to install the gadget service, launch it > (it's a > separated process), modify your ejabberd.cfg as explained in > the Gadget > README and then restart your ejabberd. > > You can see if Gadget is working by looking at the XMPP > traffic > exchanged between clients and the server. > > Gadget started /etc/init.d/gadget start > > logs on server say > > 2009/04/03 09:37 -0400 [-] Log opened. > 2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) > starting up > 2009/04/03 09:37 -0400 [-] reactor class: 'twisted.internet.selectreactor.SelectReactor'> > 2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac... > 2009/04/03 09:37 -0400 [-] Loaded. > 2009/04/03 09:37 -0400 [-] Starting factory > 0x8a8644c> > 2009/04/03 09:37 -0400 [Uninitialized] instance at 0x8a8bb4c> will retry in 2 seconds > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory > 0x8a8644c> > 2009/04/03 09:37 -0400 [-] Starting factory > 0x8a8644c> > 2009/04/03 09:37 -0400 [Uninitialized] instance at 0x8a8bb4c> will retry in 9 seconds > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory > 0x8a8644c> > 2009/04/03 09:37 -0400 [-] Starting factory > 0x8a8644c> > 2009/04/03 09:37 -0400 [Uninitialized] instance at 0x8a8bb4c> will retry in 24 seconds > 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory > 0x8a8644c> > 2009/04/03 09:38 -0400 [-] Starting factory > 0x8a8644c> > 2009/04/03 09:38 -0400 [Uninitialized] instance at 0x8a8bb4c> will retry in 70 seconds > 2009/04/03 09:38 -0400 [Uninitialized] Stopping factory > 0x8a8644c> > 2009/04/03 09:39 -0400 [-] Starting factory > 0x8a8644c> > 2009/04/03 09:39 -0400 [Uninitialized] instance at 0x8a8bb4c> will retry in 183 seconds > 2009/04/03 09:39 -0400 [Uninitialized] Stopping factory > 0x8a8644c> > > and so on. Not sure where to look. is this OK? Did you properly configured ejabberd as explained in Gadget's README? You should have something like that: {5560, ejabberd_service, [ {ip, {127, 0, 0, 1}}, {access, all}, {host, "gadget.jabber.sugarlabs.org", [{password, ""}]}]}, Your gadget.config should match these params. Then don't forget to restart ejabberd to reload the new configuration. G. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes < guillaume.desmot...@collabora.co.uk> wrote: > Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit : > > Hi, > > > > I am trying to get gadget working on my XS at > > schoolserver.solutiongrove.com > > > > First I downloaded the source and built it, but I could not find any > > indication that gadget was installed. How can I tell if it is working? > > > > Next I tried the gadget package > > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it > > required ejabberd package. RPM says this is not installed. (I did > > install python-twisted which was another requirement of the RPM). > > > > Does anyoe have any advice on getting gadget working? > > Basically you have to install the gadget service, launch it (it's a > separated process), modify your ejabberd.cfg as explained in the Gadget > README and then restart your ejabberd. > > You can see if Gadget is working by looking at the XMPP traffic > exchanged between clients and the server. > Gadget started /etc/init.d/gadget start logs on server say 2009/04/03 09:37 -0400 [-] Log opened. 2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1) starting up 2009/04/03 09:37 -0400 [-] reactor class: 2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac... 2009/04/03 09:37 -0400 [-] Loaded. 2009/04/03 09:37 -0400 [-] Starting factory 2009/04/03 09:37 -0400 [Uninitialized] will retry in 2 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory 2009/04/03 09:37 -0400 [-] Starting factory 2009/04/03 09:37 -0400 [Uninitialized] will retry in 9 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory 2009/04/03 09:37 -0400 [-] Starting factory 2009/04/03 09:37 -0400 [Uninitialized] will retry in 24 seconds 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory 2009/04/03 09:38 -0400 [-] Starting factory 2009/04/03 09:38 -0400 [Uninitialized] will retry in 70 seconds 2009/04/03 09:38 -0400 [Uninitialized] Stopping factory 2009/04/03 09:39 -0400 [-] Starting factory 2009/04/03 09:39 -0400 [Uninitialized] will retry in 183 seconds 2009/04/03 09:39 -0400 [Uninitialized] Stopping factory and so on. Not sure where to look. is this OK? Dave > > >G. > > ___ > Server-devel mailing list > Server-devel@lists.laptop.org > http://lists.laptop.org/listinfo/server-devel > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Error On Fri, Apr 3, 2009 at 9:35 AM, Dave Bauer wrote: > > > On Fri, Apr 3, 2009 at 9:26 AM, Martin Langhoff > wrote: > >> On Tue, Mar 31, 2009 at 8:06 PM, Martin Langhoff >> wrote: >> > If you are running 0.5.2, you should have >> > ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the >> > ejabberd-xs package should say it 'provides:ejabberd' but it doesn't. >> > That's a bug on my side. >> >> Which is now fixed. >> >> David, can you go back to yoursetup and try to install ejabberd-xs >> from the testing repo: >> yum --enablerepo=olpcxs-testing install ejabberd-xs >> > Error installing new ejabberd Downloading Packages: ejabberd-xs-2.0.3-3.fc9.olpc.i386.rpm| 728 kB 00:00 Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: ejabberd conflicts with ejabberd-xs-2.0.3-3.fc9.olpc.i386 Complete! BTW, I forced the install of gadget to ignore the dependencies so it should be ok for now. Dave ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Fri, Apr 3, 2009 at 9:26 AM, Martin Langhoff wrote: > On Tue, Mar 31, 2009 at 8:06 PM, Martin Langhoff > wrote: > > If you are running 0.5.2, you should have > > ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the > > ejabberd-xs package should say it 'provides:ejabberd' but it doesn't. > > That's a bug on my side. > > Which is now fixed. > > David, can you go back to yoursetup and try to install ejabberd-xs > from the testing repo: > yum --enablerepo=olpcxs-testing install ejabberd-xs > > and then install gadget? > > I am also curious to hear how things have fared with Gadget. How many > users do you have? Have you seen any different in memory usage? CPU > usage? Actually gadget is not working b/c I haven't found how to start it yet! (I didn't really look). I recently saw in a thread gone by that is must be started so I need to figure that out. Dave > > > Is the 'random' network view usablefor your user group? > > cheers, > > > martin > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Tue, Mar 31, 2009 at 8:06 PM, Martin Langhoff wrote: > If you are running 0.5.2, you should have > ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the > ejabberd-xs package should say it 'provides:ejabberd' but it doesn't. > That's a bug on my side. Which is now fixed. David, can you go back to yoursetup and try to install ejabberd-xs from the testing repo: yum --enablerepo=olpcxs-testing install ejabberd-xs and then install gadget? I am also curious to hear how things have fared with Gadget. How many users do you have? Have you seen any different in memory usage? CPU usage? Is the 'random' network view usablefor your user group? cheers, martin -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Le mercredi 01 avril 2009 à 12:53 +0200, Martin Langhoff a écrit : > On Wed, Apr 1, 2009 at 12:50 PM, Guillaume Desmottes > wrote: > > If you're using a recent Sugar it should request a view containing > > random activities and buddies. So you should see people/activities in > > your roster even if the shared roster is not configured. > > Cool! And does it evolve (learn?) from random to "people you've > interacted with" or something similar? No, atm it's pure random. Gadget also supports contact and activity search but Sugar doesn't have UI for it currently. If user want to be able to always see a buddy, the right way is to add him as a friend. G. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Wed, Apr 1, 2009 at 12:50 PM, Guillaume Desmottes wrote: > If you're using a recent Sugar it should request a view containing > random activities and buddies. So you should see people/activities in > your roster even if the shared roster is not configured. Cool! And does it evolve (learn?) from random to "people you've interacted with" or something similar? cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Le mercredi 01 avril 2009 à 12:45 +0200, Martin Langhoff a écrit : > On Wed, Apr 1, 2009 at 12:36 PM, Guillaume Desmottes > > Basically you have to install the gadget service, launch it (it's a > > separated process), modify your ejabberd.cfg as explained in the Gadget > > README and then restart your ejabberd. > > I suspect he's done that already... > > > You can see if Gadget is working by looking at the XMPP traffic > > exchanged between clients and the server. > > And as an end-user, what things work better / differently? If you're using a recent Sugar it should request a view containing random activities and buddies. So you should see people/activities in your roster even if the shared roster is not configured. > As an > end-user-administrator, does it expose any info, stats, knobs, etc? You can redirect Gadget log to a file. The Debian package write logs to /var/log/gadget.log iirc; don't know for the RPM. G. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Wed, Apr 1, 2009 at 12:36 PM, Guillaume Desmottes > Basically you have to install the gadget service, launch it (it's a > separated process), modify your ejabberd.cfg as explained in the Gadget > README and then restart your ejabberd. I suspect he's done that already... > You can see if Gadget is working by looking at the XMPP traffic > exchanged between clients and the server. And as an end-user, what things work better / differently? As an end-user-administrator, does it expose any info, stats, knobs, etc? CC'ing Sugar-dev, as probably part of the answer is on what the new Sugar does when it finds that the server speaks Gadget... cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Le mardi 31 mars 2009 à 13:45 -0400, Dave Bauer a écrit : > Hi, > > I am trying to get gadget working on my XS at > schoolserver.solutiongrove.com > > First I downloaded the source and built it, but I could not find any > indication that gadget was installed. How can I tell if it is working? > > Next I tried the gadget package > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it > required ejabberd package. RPM says this is not installed. (I did > install python-twisted which was another requirement of the RPM). > > Does anyoe have any advice on getting gadget working? Basically you have to install the gadget service, launch it (it's a separated process), modify your ejabberd.cfg as explained in the Gadget README and then restart your ejabberd. You can see if Gadget is working by looking at the XMPP traffic exchanged between clients and the server. G. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
2009/3/31 Dave Bauer : > Ok I have the gadget RPM installed. What should I see in the admin > interface? I looked at virtual hosts -> nodes -> modules and I don't see > anything likely. > How can I tell if gadget is doing anything interesting? If you're on IRC, ask daf or cassidy in #sugar or #telepathy (on freenode). They are the Gadget developers. Otherwise, contact them on the sugar-devel list or o...@collabora.co.uk - AFAIK they're not on laptop.org mailing lists any more. Regards Morgan ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
Ok I have the gadget RPM installed. What should I see in the admin interface? I looked at virtual hosts -> nodes -> modules and I don't see anything likely. How can I tell if gadget is doing anything interesting? Thanks Dave -- Dave Bauer d...@solutiongrove.com http://solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
On Tue, Mar 31, 2009 at 2:06 PM, Martin Langhoff wrote: > 2009/3/31 Dave Bauer : > > Next I tried the gadget package > > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it > > required ejabberd package. RPM says this is not installed. (I did install > > python-twisted which was another requirement of the RPM). > > What version of the XS have you got? > > If you are running 0.5.2, you should have > ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the > ejabberd-xs package should say it 'provides:ejabberd' but it doesn't. > That's a bug on my side. > > > Does anyoe have any advice on getting gadget working? > > Options > - Lie to rpm about the dependency (for now) while I fix the ejabberd-xs > pkg...? Ah I see, yeah I can try this and let you know. Conceivable gadget can coexist with the Moodle/Ejabberd integration you are working on. We are also contemplating using this as a public collaboration server, so we are not following the XS recommendations completely. Dave > > - Replace ejabberd-xs with a vanilla fedora ejabberd that is at least > 2.0.3 > > If you post about your adventures with Gadget, I'll sure be following > your notes. As most people know, I am a bit hesitant about whether > Gadget is the right thing for the XS. > > cheers, > > > > m > -- > martin.langh...@gmail.com > mar...@laptop.org -- School Server Architect > - ask interesting questions > - don't get distracted with shiny stuff - working code first > - http://wiki.laptop.org/go/User:Martinlanghoff > -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Gadget on XS
2009/3/31 Dave Bauer : > Next I tried the gadget package > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it > required ejabberd package. RPM says this is not installed. (I did install > python-twisted which was another requirement of the RPM). What version of the XS have you got? If you are running 0.5.2, you should have ejabberd-xs-2.0.3-2.fc9.olpc.i386 . The problem is that the ejabberd-xs package should say it 'provides:ejabberd' but it doesn't. That's a bug on my side. > Does anyoe have any advice on getting gadget working? Options - Lie to rpm about the dependency (for now) while I fix the ejabberd-xs pkg...? - Replace ejabberd-xs with a vanilla fedora ejabberd that is at least 2.0.3 If you post about your adventures with Gadget, I'll sure be following your notes. As most people know, I am a bit hesitant about whether Gadget is the right thing for the XS. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Gadget on XS
Hi, I am trying to get gadget working on my XS at schoolserver.solutiongrove.com First I downloaded the source and built it, but I could not find any indication that gadget was installed. How can I tell if it is working? Next I tried the gadget package http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886 RPM but it required ejabberd package. RPM says this is not installed. (I did install python-twisted which was another requirement of the RPM). Does anyoe have any advice on getting gadget working? Thanks! Dave -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel