Re: XFT emacs rocks on the XO...

2009-02-11 Thread Martin Langhoff
On Wed, Feb 11, 2009 at 7:10 PM, Samuel Klein s...@laptop.org wrote:
 Also, the XO ships with a very limited vim. yum install vim-enhanced
 has improved my part-time vim usage.

 can we fix this in the next refresh?  how much extra space did it
 take?  vim is useful.

We do have vim-minimal, which works, but has no help, and no python
mode that I can find (but I'm not a big vim user, so it might be
there...)

Getting vim-enhanced takes 22MB more, which is a fair bit for
something 99.9% of our users won't want or need.

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
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: XFT emacs rocks on the XO...

2009-02-11 Thread Bastien
Martin Langhoff martin.langh...@gmail.com writes:

 Getting vim-enhanced takes 22MB more, which is a fair bit for
 something 99.9% of our users won't want or need.

99.9%

-- 
 Bastien
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Activities migration status

2009-02-11 Thread Tomeu Vizoso
On Tue, Feb 10, 2009 at 01:29, S Page i...@skierpage.com wrote:
 Ed McNierney wrote:

 On the other hand, anyone working on Sugar efforts such as Activity
 development should be encouraged to put all those efforts under the
 Sugar Labs roof where they can be more readily available to the entire
 Sugar community (not just the OLPC portion of it).

 Then http://wiki.laptop.org/go/Project_hosting  is obsolete.  What's the
 equivalent page on sugarlabs.org?

 Parts of http://wiki.laptop.org/go/Creating_an_activity are also
 out-of-date.

You have some information here:
http://sugarlabs.org/go/ActivityTeam/How_to_migrate_from_OLPC

Note that you don't need to ask permission to anyone in order to get a
source repository created.

Regards,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] XFT emacs rocks on the XO...

2009-02-11 Thread Gary C Martin
On 11 Feb 2009, at 05:59, Martin Langhoff wrote:

 Stock F9 emacs isn't very usable on the XO screen, unfortunately. Lack
 of fonts and high dpi make it rather painful. After struggling a bit
 to get a comfy hacking/editing environment on my XOs, I ended up
 installing the precooked Xft-enabled emacs rpms, as per:

http://wiki.laptop.org/go/Emacs

 and after setting a nice readable font... I'm very happy with the  
 setup.

 Also, the XO ships with a very limited vim. yum install vim-enhanced
 has improved my part-time vim usage.

Yea, sudo yum install of vim, git, pylint, and nethack ;-) are about  
the first things I do after a clean flash of an XO I plan to develop  
code on.

--Gary

P.S. For the record vim is 22Mb (most of which is perl), git is 3.8Mb  
(shares some of the aforementioned perl), pylint is 5Mb (almost all of  
that is mx), and nethack is just 1.3Mb (press ? for help).

 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
 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] XFT emacs rocks on the XO...

2009-02-11 Thread Tomeu Vizoso
On Wed, Feb 11, 2009 at 16:52, Gary C Martin g...@garycmartin.com wrote:
 On 11 Feb 2009, at 05:59, Martin Langhoff wrote:

 Stock F9 emacs isn't very usable on the XO screen, unfortunately. Lack
 of fonts and high dpi make it rather painful. After struggling a bit
 to get a comfy hacking/editing environment on my XOs, I ended up
 installing the precooked Xft-enabled emacs rpms, as per:

http://wiki.laptop.org/go/Emacs

 and after setting a nice readable font... I'm very happy with the
 setup.

 Also, the XO ships with a very limited vim. yum install vim-enhanced
 has improved my part-time vim usage.

 Yea, sudo yum install of vim, git, pylint, and nethack ;-) are about
 the first things I do after a clean flash of an XO I plan to develop
 code on.

 --Gary

 P.S. For the record vim is 22Mb (most of which is perl), git is 3.8Mb
 (shares some of the aforementioned perl), pylint is 5Mb (almost all of
 that is mx), and nethack is just 1.3Mb (press ? for help).

I guess the advantage of nethack is that once you install it you don't
need nor vim, nor git nor pylint anymore.

Regards,

Tomeu

 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
 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Build intrastructure

2009-02-11 Thread Bernie Innocenti
[cc += sugar-de...@]

Marco Pesenti Gritti wrote:
 As Peter suggested, I should look at getting nightly builds set up soon.
 Would you like to share infrastructure so that the build run spits out
 SoaS images at the same as F11-XO images?  If so, any preference for
 whether to do it on an OLPC machine or on something like sunjammer?
 
 Sharing infra on this makes a lot of sense to me. Personally I have no
 preference about where to host it. Bernie, what do you think? Is this
 something we can host? I guess we will need a rawhide box/VM.

We can provide shell accounts on our buildslaves to anyone interested
in running nightly builds.  We currently have 4 of them:

 buildslave1.sugarlabs.orgFedora 10 x86_64
 buildslave2.sugarlabs.orgFedora rawhide x86_64
 buildslave3.sugarlabs.orgOFFLINE
 buildslave4.sugarlabs.orgUbuntu 8.10

Please, avoid using your shell accounts on sunjammer for heavy-duty
jobs such as daily rebuilds.  If you must, at least run these things
with nice -n 15 ionice -n 5 -c 3 to keep it from slowing down other
users too much.

Please also avoid using shell accounts on solarsail and trinity as
we're going to phase them out at some point.

-- 
   // Bernie Innocenti - http://www.codewiz.org/
 \X/  Sugar Labs   - http://www.sugarlabs.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] XFT emacs rocks on the XO...

2009-02-11 Thread Gary C Martin
On 11 Feb 2009, at 16:25, Tomeu Vizoso wrote:

 On Wed, Feb 11, 2009 at 16:52, Gary C Martin g...@garycmartin.com  
 wrote:
 On 11 Feb 2009, at 05:59, Martin Langhoff wrote:

 Stock F9 emacs isn't very usable on the XO screen, unfortunately.  
 Lack
 of fonts and high dpi make it rather painful. After struggling a bit
 to get a comfy hacking/editing environment on my XOs, I ended up
 installing the precooked Xft-enabled emacs rpms, as per:

   http://wiki.laptop.org/go/Emacs

 and after setting a nice readable font... I'm very happy with the
 setup.

 Also, the XO ships with a very limited vim. yum install vim-enhanced
 has improved my part-time vim usage.

 Yea, sudo yum install of vim, git, pylint, and nethack ;-) are about
 the first things I do after a clean flash of an XO I plan to develop
 code on.

 --Gary

 P.S. For the record vim is 22Mb (most of which is perl), git is 3.8Mb
 (shares some of the aforementioned perl), pylint is 5Mb (almost all  
 of
 that is mx), and nethack is just 1.3Mb (press ? for help).

 I guess the advantage of nethack is that once you install it you don't
 need nor vim, nor git nor pylint anymore.

Well, I recommend it purely for putting the hjkl cursor navigation  
keys into your muscle memory, ready for heavy vim coding sessions, and  
for acclimatising n00bs to the idea that, text can be fun too! :-p

--G

P.S. As an infovis, GUI, graphic, 3d Gouraud shaded, open GL, pixel  
necked geek kind'a guy – this is clearly the dark hidden side to my  
personality.

 Regards,

 Tomeu

 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
 ___
 Sugar-devel mailing list
 sugar-de...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Activities migration status

2009-02-11 Thread Luke Faraone
On Wed, Feb 11, 2009 at 3:26 PM, Samuel Klein meta...@gmail.com wrote:

 I like that part.  Are there criteria for removing someone's project
 if it's deemed inappropriate?


Not yet, but I assume if someone thinks that somebody else's use of SL
infrastrucutre is not under the project scope we'll discuss it on the
sugar-devel or IAEP mailing list.

-- 
Luke Faraone
http://luke.faraone.cc
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Guidance sought on collaboration techniques

2009-02-11 Thread Benjamin M. Schwartz
James Simmons wrote:
 When I wrote collaboration into the View Slides activity I just copied 
 the code from the base Read activity so I could copy an entire slideshow 
 from one machine to another.  That didn't work all that well

No?  It would be good to know why.  Also, Telepathy now has a high-level
File Transfer API.  If you can afford to depend on the development builds
of Sugar (soon to be released as 0.84), then this might make your life
much easier regardless of which solution you choose.

 , so now I'm 
 considering something that I think is both more practical and a better 
 use of collaboration.  The idea is to have buddies that join a slideshow 
 passively view a show being navigated by the master user, sort of like 
 looking over someone's shoulder when he reads.

As has been noted elsewhere, this might one day be available to all
Activities, by having Sugar provide a view-only VNC server.  That isn't
tremendously difficult (VNC over Telepathy has already been demonstrated)
but no one's stepped up to implement it.  In fact, implementing this might
be easier than writing your own image-sharing system.

 What I have in mind is this:
...
 It occurred to me that the Chat activity must be doing something kind of 
 like this, but I haven't been able to figure out the code in that 
 Activity.

Remember that Telepathy is providing an abstraction layer over Jabber.
Chat is simply using Jabber's basic IM functionality.  I doubt you'll be
able to use Chat as a model for sharing images.

--Ben



signature.asc
Description: OpenPGP digital signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Keep tabs on Sugar development

2009-02-11 Thread Bernie Innocenti
 2009/2/10 Wade Brainerd wad...@gmail.com:
 PS- If you don't have an RSS reader already, try out Google Reader.
 Its List view works pretty well for this feed.

RSS support in Thunderbird is also very good.

Simon Schampijer wrote:
 Awesome, one missing piece for me!

Can we add a tip somewhere in the DevelopmentTeam pages?

-- 
   // Bernie Innocenti - http://www.codewiz.org/
 \X/  Sugar Labs   - http://www.sugarlabs.org/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Guidance sought on collaboration techniques

2009-02-11 Thread Wade Brainerd
Hey James,
I can help you out with this if you want.

Your collaboration design sounds fine to me.  I did something similar in
Colors! where certain parts of the UI are disabled on the joining instances.

What point are you at now?  Do you need an example to get started with, or
feedback about existing code, or just ideas about which APIs to use?

Best,
Wade

On Wed, Feb 11, 2009 at 4:55 PM, James Simmons jim.simm...@walgreens.comwrote:

 Benjamin,

 I had been using two machines to develop my Activities.  One ran Xubuntu
 and used the sugar packages provided with the Sugar Live CD that someone
 made up.  These were not perfect, but it was a simpler way to set up a
 Sugar test environment than anything else available at the time.  My
 second box was running openSUSE 10.2 and I attempted to install
 Sugar-jhbuild on it with middling success.  I had both pointing to the
 Collabora server to test sharing, and what I found was the sharing
 through that server worked OK for small files (like Read Etexts used)
 but took forever for slideshows, and frequently ran out of gas in the
 middle of a transfer.  As for collaboration between two instances of
 Sugar with no jabber server between them, that never worked at all, even
 a little bit.

 As of last night both machines have Fedora 10 with the Sugar RPMs
 installed, so this should eliminate lots of problems I had in the past.
 I don't expect it to make large file transfers through the jabber server
 any faster, though.  Plus, in my opinion copying a file from one XO to
 another would be better done as a function of the Journal.  It isn't my
 idea of what real collaboration should be.  The VNC idea, while
 worthwhile, doesn't excite me either.

 As an XO user I have no use for collaboration.  I have nobody to play
 with.  I could strip the collaboration code out of both my Activities
 and have something more than adequate for my own use.  My goal is to
 create Activities that will get other kids excited about using them.  My
 idea is a modest step in that direction.  If I get that much working
 other ideas may come.

 I would like to stick with API's that are currently available for a
 couple of reasons:

 1).  I want to use the Sugar environment in Fedora 10.  Now that I
 finally have a robust test environment I don't want to lose it.
 2).  I want to make the Activity available to the largest number of
 users possible.

 I think telepathy might do the job for me if I just understood it
 better.  All I'm asking it to do is send some messages to a list of
 buddies and have them initiate some file transfers.  Chat is already
 doing the first part, I think, and the Read code might be persuaded to
 do the second.

 Thanks,

 James Simmons


 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: What's going on with Text To Speech on the XO?

2009-02-11 Thread Samuel Klein
Hemant, Tomeu, Assim and all,

Has there been any progress on TTS since last summer?  I'd love to see
this project move forward.  Prabhas has also indicated some interest
in working on language-learning support, which is directly related...
It would also be nice to have Listen and Spell among the regularly
tested activities.

SJ


On Tue, Dec 16, 2008 at 4:22 PM, James Simmons
jim.simm...@walgreens.com wrote:
 Ed,

 Thanks for your response.  I never questioned that there was still
 interest in TTS on the XO.  What I was wondering is if there was any
 progress made by Hemant Goyal or anyone else in getting the
 Speech-Dispatcher software included with the Sugar distribution, if the
 newer version of Python that resolved the power management issue was
 included, etc.  I've sent a couple of emails to Hemant and haven't heard
 back from him.  I was wondering if he was still working on these things,
 or if someone else had taken over his work, etc.  He was making RPMs for
 Fedora for installing speech-dispatcher.

 James Simmons

 Edward Cherlin wrote:
 Welcome back. There is significant interest from other organizations
 in our use of TTS with text coloring. I have just started discussions
 with the Doug Engelbart Foundation, Creative Commons ccLearn, Alan
 Kay's Viewpoints Research, and OLE about a new project to create a
 full range of teaching materials around Sugar. TTS-TC is important for
 literacy, of course, and also for language learning.




 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] Activities migration status

2009-02-11 Thread Samuel Klein
On Wed, Feb 11, 2009 at 8:34 PM, David Farning dfarn...@sugarlabs.org wrote:
 On Thu, Feb 12, 2009 at 7:27 PM, Samuel Klein meta...@gmail.com wrote:
 Is there no way to move/create an activity so that the same code push
 will update both sl's gitorious and olpc's git?

 Until there is a policy of sorts in place, and better yet an endowment
 supporting long-term maintenance of a server hosting projects (one of
 the two mentioned so far in this thread, or a dedicated
 project-hosting service elsewhere), I would focus on creating good
 mirrors, rather than on picking any particular single host.  There is
 currently still risk of losing people's work.

 While you wait for a best case scenario We will continue to move
 forward one step at a time.

I was replying to the idea that people move backwards, and not mirror
their code.  SJ
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] XS 0.5.1 RC - Last round of testing...

2009-02-11 Thread Sameer Verma
On Wed, Jan 21, 2009 at 2:06 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 On Wed, Jan 21, 2009 at 8:26 PM, Dave Bauer dave.ba...@gmail.com wrote:
  http://xs-dev.laptop.org/xs/other/OLPC-School-Server-0.5.1-i386.iso

 I checked and the ISO does not appear to be available yet. Should it be
 there now?

 the rsync completed not long ago, so it's there now. Get it while it's hot...

 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


Hi all,

I've been caught up in a new semester, teaching, etc. [paid
employment, so can't complain :-)] so I'm running behind testing 0.5.1
I've been running it for a few nights now, and the main frustration
was with eth0 not showing up. It looks like I am the victim of the
dreaded Realtek 8139 bug. It worked in XS 0.4 but in 0.5.1 it refuses
to show up.

Some references:

http://myy.helia.fi/~karte/realtek_8139.html
http://forums.fedoraforum.org/showthread.php?t=189165
http://www.linuxquestions.org/questions/fedora-35/problems-with-fedora-9-live-cd-no-network-using-dhcp-realtek-nic-how-to-copy2ram-648094/
http://www.dslreports.com/forum/r21127353-SOLVED-Just-installed-Fedora-9-major-networking-issues

I'm looking into it, but as a result of no eth0, nothing else actually works.

This is on a Fujitsu P2120 sub-notebook with a 900MHz Crusoe proc and 384MB RAM.

Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
___
Server-devel mailing list
server-de...@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.5.1 RC - Last round of testing...

2009-02-11 Thread Martin Langhoff
On Thu, Feb 12, 2009 at 4:01 PM, Jameson Quinn jameson.qu...@gmail.com wrote:
 The requested URL /xs/other/OLPC-School-Server-0.5.1-i386.iso was not found
 on this server.

It has moved up the foodchain. When it went from RC to final
release, I moved it up one dir.

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
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] XS 0.5.1 RC - Last round of testing...

2009-02-11 Thread Martin Langhoff
On Thu, Feb 12, 2009 at 2:41 PM, Sameer Verma sve...@sfsu.edu wrote:
 was with eth0 not showing up. It looks like I am the victim of the
 dreaded Realtek 8139 bug. It worked in XS 0.4 but in 0.5.1 it refuses
 to show up.

Strange, but it does look like a driver problem.

The links you provide show various different problems with that NIC.
In some cases, irqpoll in the kernel boot line fixes, in others some
fiddling with ethtool was needed...

It'll be good to know which of the fixes helps you :-)

BTW, if you upgraded from XS-0.4, it might be a good idea to rm
/etc/udev/rules.d/70-persistent-net.rules

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
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


[PATCH] webactivity: seed the XS cookie at startup

2009-02-11 Thread martin . langhoff
From: Martin Langhoff mar...@laptop.org

When starting up, call seed_xs_cookie() to
try to add a cookie for the XS with

 - the hashed pubkey of the XO - the sha1 hash
   is much smaller than the whole pubkey

 - the XO colors
---
 webactivity.py |   75 
 1 files changed, 75 insertions(+), 0 deletions(-)

diff --git a/webactivity.py b/webactivity.py
index e17d3b2..f3bc87a 100644
--- a/webactivity.py
+++ b/webactivity.py
@@ -26,6 +26,8 @@ import sha
 import base64
 import time
 import shutil
+import sqlite3
+import cjson
  
 from sugar.activity import activity
 from sugar.graphics import style
@@ -98,6 +100,10 @@ class WebActivity(activity.Activity):
 
 self._browser = Browser()
 
+# call after browser init
+# to ensure the storage dir exists
+self.seed_xs_cookie()
+
 temp_path = os.path.join(self.get_activity_root(), 'instance')
 downloadmanager.init(self._browser, self, temp_path)
 sessionhistory.init(self._browser)
@@ -482,3 +488,72 @@ class WebActivity(activity.Activity):
 downloadmanager.remove_all_downloads()
 self.close(force=True)
 
+def seed_xs_cookie(self):
+
+_logger.debug('seed_xs_cookie')
+db_path = os.path.join(_profile_path, 'cookies.sqlite')
+
+# have we registered with the XS?
+prof = profile.get_profile()
+# profile.jabber_registered is old and buggy
+# - check for jabber_server instead
+if not prof.jabber_server:
+_logger.debug('seed_xs_cookie: not registered yet')
+return
+
+xs_fqdn = prof.jabber_server
+
+# the XS wants a unique identifier - it has
+# the SN and the pubkey. The pubkey is a bit
+# less widely known than the SN. Hash it to
+# make it shorter (590 chars to 40).
+cookie_data = { 'color': prof.color.to_string(),
+'pkey_hash': sha.new(prof.pubkey).hexdigest() }
+
+   # gecko creates the DB at startup
+   # so we seed it after Browse() is invoked
+_logger.debug('cookies file:' + db_path)
+
+try:
+jar_db = sqlite3.connect(db_path)
+c = jar_db.cursor()
+_logger.debug('opened file')
+
+# gecko delays creating the table
+# until it gets a cookie...
+c.execute('''CREATE TABLE IF NOT EXISTS
+ moz_cookies 
+ (id INTEGER PRIMARY KEY,
+  name TEXT,
+  value TEXT,
+  host TEXT,
+  path TEXT,
+  expiry INTEGER,
+  lastAccessed INTEGER,
+  isSecure INTEGER,
+  isHttpOnly INTEGER);''')
+
+c.execute('''SELECT id
+ FROM moz_cookies
+ WHERE name=? AND host=? AND path=?''',
+  ('xoid', xs_fqdn, '/'))
+
+# the row exists, we're done
+if c.fetchone():
+_logger.debug('cookie exists')
+return
+
+expire = int(time.time()) + 10*365*24*60*60
+c.execute('''INSERT INTO moz_cookies (name, value, host, 
+  path, expiry, lastAccessed,
+  isSecure, isHttpOnly)
+ VALUES(?,?,?,?,?,?,?,?)''',
+  ( 'xoid', cjson.encode(cookie_data), xs_fqdn,
+'/', expire, 0,
+0, 0 ))
+jar_db.commit()
+jar_db.close()
+_logger.debug('updated cookies successfully')
+except:
+_logger.error('error seeding cookies file')
+
-- 
1.5.6.6

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Sugar-devel] [PATCH] webactivity: seed the XS cookie at startup

2009-02-11 Thread Martin Langhoff
On Thu, Feb 12, 2009 at 6:47 PM,  martin.langh...@gmail.com wrote:
 When starting up, call seed_xs_cookie() to

Hi Simon,

Hoping for some review :-) . Do you think this patch can make it into
the sucrose-0.82 branch? With a tad of elbow grease, it also applies
on top of master.

The reason I ask for it on the 0.82 branch is that

 - It's low low risk -- in fact, the interesting ops are wrapped in a
try/except block so a failure won't stop Browse from starting up.

 - It allows me to do a XS 0.5.2 or 0.6 relatively soon that
integrates smoothly with the XO 0.8.2.x series. Deployments can ensure
that they have an updated Browse.xo...

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
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] XS 0.5.1 RC - Last round of testing...

2009-02-11 Thread Sameer Verma
On Wed, Feb 11, 2009 at 8:42 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 On Thu, Feb 12, 2009 at 2:41 PM, Sameer Verma sve...@sfsu.edu wrote:
 was with eth0 not showing up. It looks like I am the victim of the
 dreaded Realtek 8139 bug. It worked in XS 0.4 but in 0.5.1 it refuses
 to show up.

 Strange, but it does look like a driver problem.

 The links you provide show various different problems with that NIC.
 In some cases, irqpoll in the kernel boot line fixes, in others some
 fiddling with ethtool was needed...

 It'll be good to know which of the fixes helps you :-)

appending irqpoll has fixed that problem. Now, I've hit another bug.
This is yum broken with _sha256 as stated here.
http://fedoraforum.org/forum/showthread.php?t=193507

I'm going to try the workaround.


 BTW, if you upgraded from XS-0.4, it might be a good idea to rm
 /etc/udev/rules.d/70-persistent-net.rules

No, this was a clean install. I'm running the server for testing only,
so I can afford to wipe it clean.

Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


New joyride build 2650

2009-02-11 Thread Build Announcer v2
http://xs-dev.laptop.org/~cscott/olpc/streams/joyride/build2650

Changes in build 2650 from build: 2649

Size delta: 0.00M

-bootfw q2e28-1.olpc2.unsigned
+bootfw q2e31-1.olpc2.unsigned

--- Changes for bootfw q2e31-1.olpc2.unsigned from q2e28-1.olpc2.unsigned ---
  + OLPC keyjector support
  + OLPC trac 9229 - pretty boot was hiding the Windows logo screen.
  + ISO9660 filesystem reader - don't force filenames to upper case
  + OLPC trac 9227 - reset wlan when starting Windows
  + OLPC trac 9226 - virtualize AC97 PCI config base address so Windows XO 
Audio always works
  + Minor GUI icon layout fix.

--
This mail was automatically generated
See http://dev.laptop.org/~rwh/announcer/joyride-pkgs.html for aggregate logs
See http://dev.laptop.org/~rwh/announcer/joyride_vs_update1.html for a 
comparison
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel