Uff, that is fairly dated! I would install latest Fedora with the
Sugar Desktop Group as my first attempt. It won't be "OLPC-pretty",
it'll expect users to log in with username/password, but other than
that it should work.
hth,
m
On Tue, Apr 8, 2014 at 12:39 PM, Christoph Derndorfer
wrote:
> H
On Wed, Mar 26, 2014 at 7:59 AM, Gonzalo Odiard wrote:
> I think was done to preserve space.
> Not sure if that is a concern now.
>
Yep. It was definitely a concern for XO-1 and for XO-1.5 images for 2GB
machines.
m
--
martin.langh...@gmail.com
- ask interesting questions
- don't get dis
On Mon, Mar 10, 2014 at 8:46 AM, Gonzalo Odiard wrote:
> Activity startup time is in the shell.log if sugar have debug enabled.
+100 on Gonzalo's recommendations. Also a couple of notes, from memory,
- Gobject Introspection turned out to be slow to instantiate (IIRC,
dsd posted analysis this to
On Wed, Mar 5, 2014 at 12:11 PM, Christian Stroetmann
wrote:
> The referenced summary on marc.info can not be understood without prior
> knowledge and reading the whole threads.
Oh, I think anyone reading your trolling emails should get some
background on you based on your prior posts (
http://ma
On Wed, Mar 5, 2014 at 10:07 AM, Martin Langhoff
wrote:
> Your website is also a piece of art.
Actually, I feel bad. Seems like Apple stole his copyrighted ideas,
right down to the ID,
http://www.ontolinux.com/community/hardware.htm
Christian, you should get in touch with Steve J
On Sat, Mar 1, 2014 at 10:33 AM, Christian Stroetmann
wrote:
> Please, respect our trademarks and our copyrights.
Hi Christian!
Have you registered your trademarks anywhere? USPTO doesn't know about
them, but you could have a registration elsewhere.
And I googled your name/email address, and I
On Sat, Mar 1, 2014 at 11:11 AM, Christian Stroetmann
wrote:
> Yes indeed we have created a new concept that is basically the
> transformation of the Sugar learning environment developed solely for very
If all you have is a concept, and you are trying to register
trademarks based on the work of S
On Fri, Feb 28, 2014 at 12:00 PM, Christian Stroetmann
wrote:
> In this respect I wrote before, that I do not think that Lego is in control
> over its registered trademark 'LEGO' anymore,
This has nothing to do with Sugar, nor OLPC. Perhaps a mailing list
about trademarks is more appropriate (hin
On Tue, Jan 21, 2014 at 3:48 PM, Sam Parkinson wrote:
> - Android has a really simple system where you can say go to
> www.abc.blogs.org in any app that can open it. That opens it in a web
> browser or in the blogs.org app if installed. This works because the
> blogs.org app says it can handle the
Same here -- sugar-devel, IAEP and server-devel. Taught my gmail some manners.
thanks for the heads up,
m
On Thu, Dec 19, 2013 at 8:43 AM, Peter Robinson wrote:
> On Thu, Dec 19, 2013 at 12:11 PM, Gonzalo Odiard wrote:
>> Today I have found almost 10 mails from sugar-devel
>> caught as spam
On Mon, Oct 28, 2013 at 11:01 PM, David Farning
wrote:
> I would like to thank everyone who has provided valuable feedback by
> participating on this thread.
Ahem. You are casting fugly accusations, you can't stand back and
thank everyone for their valuable feedback.
> 2. Martin's point about th
On Mon, Oct 28, 2013 at 8:14 PM, David Farning
wrote:
> In a private conversation with an Association employee they told me
> that they conciser Activity Central a competitor because Activity
> Central increased deployments expectations. Their strategy with regard
> to Activity Central was to _not
On Wed, Oct 23, 2013 at 12:26 PM, Walter Bender wrote:
> On Wed, Oct 23, 2013 at 12:04 PM, David Farning
> wrote:
>> I just wanted to bump this line of questions as, it is the critical
>
> I don't speak on behalf of the Association, but I think your positions
> are overstated. As far as I know, t
On Mon, Oct 7, 2013 at 12:41 PM, David Farning
wrote:
> As a more incremental approach, Activity Central will continue our
> deployment-centric work by porting Dextrose to Ubuntu.
>From a "deploy to XOs PoV" that sounds like a ton of work. You'll
grind against a lot of little problems.
Fedora is
On Sun, Aug 11, 2013 at 1:15 PM, Jerry Vonau wrote:
> Good to hear from you Martin. Just to finish this thread off, I was not able
> to reproduce this behavior with the XO-1s that I have. This appears to
> affect Anna's machines only. Thanks for the hints to what might be the root
> cause.
Thanks
On Tue, Aug 6, 2013 at 3:32 PM, Jerry Vonau wrote:
> This behavior was noted with XO-1s only, all others(1.5,1.75,4) appear work
> fine in testing.
That is _very_ weird. Does the affected unit have any problem reading
its own serial number or uuid? Does the Sugar Control Panel show the
serial num
On Mon, Mar 25, 2013 at 11:48 AM, Manuel Quiñones wrote:
> My first impression is that this feature can potentially hurt the
> clean design of Sugar at some points:
>
> - the icons color semantic
> - high contrast, accesibility
Agreed. IMHO it can be improved by applying a "washout" -- mix the
im
On Mon, Feb 25, 2013 at 12:22 PM, Daniel Drake wrote:
> This didn't happen on older versions of Sugar (haven't checked why,
> maybe the "failed to start" screen didn't exist before?)
This patch seems related:
http://git.sugarlabs.org/sugar/mainline/commit/dc8f6ed7852f919fe7123d458706fb82430257e9
Thanks for the report! Jon Nettlelton is working on that particular
driver, and there was a big overhaul that landed in OS29.
Could you create a ticket on dev.laptop.org, against 13.1.0? This has
nothing to do with Sugar itself...
thanks!
m
On Thu, Feb 21, 2013 at 12:07 PM, Ajay Garg wrote:
On Thu, Jan 24, 2013 at 12:02 PM, Gonzalo Odiard wrote:
> Write does not know what is the ebook switch state, that logic is in the
> osk.
And that's correct.
ebook mode is one reason to show the OSK. There are other reasons --
for example,
- accesibility
- typing in a different language from
On Thu, Jan 24, 2013 at 10:13 AM, Paul Fox wrote:
> i believe sugar already has code to detect the two modes, since
> that's how it knows whether to present the OSK or not.
Yep. Ajay, I think Write shows you the way :-)
m
--
martin.langh...@gmail.com
mar...@laptop.org -- Software Architect
On Mon, Dec 31, 2012 at 6:20 AM, wrote:
> Do you already know this issue?
> What could be the next step to analyze the issue?
What happens if you retry registration from the XO? OS versions on XO, XS?
If the XO OS is recent, nothing comes to mind, except a transient
network issue. Older XO OSs
On Wed, Dec 19, 2012 at 5:14 AM, Jerry Vonau wrote:
> Think I found the problem, in powerd we're setting WOL based on this
> string:
>
> if grep -qi ": :14B2" /proc/net/tcp
>
> but that string is not present in /proc/net/tcp so WOL is not set
> according to ethtool, but that string can be
:
> Thanks, Martin. Btw, where did you deduce the name "Rajiv" from? :)
>
> RJv
>
> On Wed, Dec 12, 2012 at 1:13 AM, Martin Langhoff
> wrote:
>>
>> Implement a shell -- replacing the standard Android shell -- that
>> has the main features of Sugar sh
Hi Rajiv,
your plan seems to have good goals, but is missing some understanding
of what you can and cannot do.
You cannot run Sugar (a Python-based window manager, based on
traditional Linux sw stack) on the Android stack. Way too different.
To reach your goals, however, you could try something
On Tue, Nov 27, 2012 at 11:42 AM, Ajay Garg wrote:
> http://bugs.sugarlabs.org/ticket/4274
> http://bugs.sugarlabs.org/ticket/4275
Looks like I can play this game too :-/
# 4281 - Activity updater - crashes updating activity
m
--
martin.langh...@gmail.com
mar...@laptop.org -- Software Archite
On Wed, Nov 21, 2012 at 3:07 AM, Alan Jhonn Aguiar Schwyn
wrote:
>> is there a way to block suspend when a class of USB device is plugged?
>
> This will be very important.. Disable the "automatic power-save" (AKA power
> off usb..)
It is already done in many cases.
> if one device is using the u
On Wed, Nov 21, 2012 at 2:40 AM, James Cameron wrote:
>> I don't think having an end-user with no experience with USB IDs add
>> an entry to the usb-inhibits file, or having to remember to turn off
>> a major feature is the correct long term solution IMHO.
You guys are driving OOB, so you short-t
Ajay, folks,
please indicate OS version, XO model, steps to repro (even if
intermittent), and collect kernel logs so we can see WTH is going on.
Otherwise we can only say "maybe" and speculate -- good stuff for idle
converstation at a bar, but not productive if you want to see the
problem diagnos
On Mon, Nov 19, 2012 at 11:58 PM, Chris Leonard
wrote:
> As I recall, this activity was already renamed once from xoscope after
> it became clear it was colliding in name space with an oscilloscpe
> activity.
Renames are a pain in infrastructure, and in upgrade handling for users.
I would say pr
On Fri, Nov 16, 2012 at 12:10 PM, Daniel Narvaez wrote:
> * Much cleaner source code. I got rid of jhbuild and replaced it with
> a simple python script which covers our need (and it's much easier to
> customize).
Whooo! After _years_ of discussion about getting rid of jhbuild, it's done!
I
How about filing a bug? :-)
m
On Fri, Nov 16, 2012 at 12:26 PM, Ajay Garg wrote:
> Hi all.
>
> On XO-1.75s, os11 image, the "Send to Friend" feature isn't working.
>
> Is it a known issue?
> Doing a simple textual "send to" search on bugs.sugarlabs.org did not yield
> anything useful.
>
>
> Reg
Thanks for the heads up! Fix attached,
m
On Thu, Nov 8, 2012 at 1:11 PM, Daniel Narvaez wrote:
> Not sure if it breaks anything but it doesn't sound good, with the latest git:
>
> Traceback (most recent call last):
> File
> "/home/buildbot/slave/fedora-17-32bit/build/install/lib/python2.7/s
Hmmm, mkdir??? I'd suggest
touch /home/user/.sugar/default/datastore/index
m
On Wed, Nov 7, 2012 at 2:35 PM, Ignacio Rodríguez wrote:
> ¡For repair!:
> mkdir /home/user/.sugar/default/datastore/index
> :)
>
>
> 2012/11/7 Martin Langhoff
>>
>> On
On Wed, Nov 7, 2012 at 11:51 AM, Simon Schampijer wrote:
> On 11/07/2012 02:45 PM, Daniel Narvaez wrote:
>> Buildbot tests are failing, apparently because of a datastore issue
I owe you two a beer. A mighty big beer. Thanks for spotting this
thinko before it landed in an OS build.
> We fail bec
On Wed, Nov 7, 2012 at 2:31 AM, Simon Schampijer wrote:
> Thanks Martin, Sam and Manuel for your work on this. The datastore runs here
> fine. I pushed the changes. Will be available in 0.97.2.
Great! I was going to write a longer thank-you for the review, but I
ran out of space.
:-)
m
--
ma
On Sun, Nov 4, 2012 at 8:29 PM, Bert Freudenberg wrote:
> Ah, thanks. I wasn't even going to file a bug report about the aliasing
> because that is a limitation inherent to the kind of sensor we have.
There are of course limitations, but we are in the process of tuning
and tightening things on t
On Thu, Oct 4, 2012 at 3:15 PM, Gary Martin wrote:
> Martin, could you clarify this example a little more,
> did you have some specific documentation task in mind?
I want to clarify that I see this patch as a big improvement, even
with localized sorting. +100.
We often prepare some screenshots f
On Thu, Oct 4, 2012 at 11:25 AM, Gonzalo Odiard wrote:
> You have less consistency only if you change the language.
I generally agree. My only worry is that documentation screenshots
will be all over the place.
> Have sense use the same order in the listview and in the favorites view too.
yeah.
On Thu, Oct 4, 2012 at 10:33 AM, Gonzalo Odiard wrote:
> We are sorting by localized name.
> It's true than the order will be different if you use a different language,
> but we think is better for the users.
Less consistency in icon location better? How?
I agree alphabetical is better for list
On Thu, Oct 4, 2012 at 8:06 AM, wrote:
> The change is done in the favorites view and in the list view
What was the sorting before in the fav view?
More importantly -- Is this sorting over the English names, or the
localized names? I am not sure what we would desire, but I'll note
that if it's
On Wed, Oct 3, 2012 at 5:12 PM, Manuel Quiñones wrote:
> And enlarging a bit:
>
> http://dev.laptop.org/~manuq/shell-port/icon-hover2.png
> http://dev.laptop.org/~manuq/shell-port/icon-tap2.png
I am partial towards the enlarged ones :-)
cheers,
m
--
martin.langh...@gmail.com
mar...@laptop.
On Wed, Oct 3, 2012 at 4:53 PM, Manuel Quiñones wrote:
> Add a light grey background, which is the same size as the grey
> outline that appears when the icon is hovered.
Yes! This stuff is needed. Touch feedback needs to be bright, clear,
and clearly larger than your finger so that you see it.
On Wed, Oct 3, 2012 at 11:54 AM, Peter Robinson wrote:
> You can still port to gstreamer 1.0 on 13.1.0 and just test with non
> ugly codecs (vorbis / webm etc).
Yep. Work now with the ugly codecs. Once vmeta is ready we'll have to
retest & debug, as it seems to be more fragile.
Extra work :-(
On Wed, Oct 3, 2012 at 6:52 AM, Manuel Kaufmann wrote:
> On Tue, Oct 2, 2012 at 5:35 PM, Martin Langhoff
> wrote:
>> Actually, the answer is to avoid datetime. It's fine for high level
>> work; when you care about times defined as epoch values, you
>
> Yes, you ar
On Tue, Oct 2, 2012 at 3:51 PM, Martin Langhoff
wrote:
> Works as pseudocode. But I took a quick look at the datetime docs and
> it is... horrible. We want to be doing math on the epoch (seconds
> since 1970).
>
> They refuse to document it properly, but the answer t
On Tue, Oct 2, 2012 at 2:52 PM, Manuel Kaufmann wrote:
> On Tue, Oct 2, 2012 at 1:43 PM, Martin Langhoff
> wrote:
>>> +except:
>>> +logging.warning('/proc/uptime could not be read')
>>> +uptime = None
>
> Should
On Tue, Oct 2, 2012 at 9:59 AM, Manuel Kaufmann wrote:
> +try:
> +uptime_proc = open('/proc/uptime', 'r').read()
> +uptime_seconds = float(uptime_proc.split()[0])
> +uptime = datetime.timedelta(seconds=uptime_seconds)
> +except:
> +lo
On Tue, Oct 2, 2012 at 8:24 AM, Manuel Kaufmann wrote:
> On Tue, Oct 2, 2012 at 6:40 AM, Martin Langhoff
> wrote:
>> Good, but not enough. Compare mtime also to our boot time (ie: now -
>> uptime). If the file is from before we booted, needs to be nuked.
>
> You say tha
On Mon, Oct 1, 2012 at 3:14 PM, Manuel Kaufmann wrote:
> This patch is a workaround to that behaviour. Every time that Browse
> is started it looks for all the ".goutputstream" files in the
> "instance" directory and checks its mtime. If it greater than 1 day it
> removes the old temporary file.
On Mon, Oct 1, 2012 at 12:59 PM, Martin Langhoff wrote:
>> From that section I understand that we are encoding the data into
>> utf-8 if value is "unicode", but if it is just a "basestring", why we
>> are doing "str()"?
>
> That's ac
On Mon, Oct 1, 2012 at 12:46 PM, Manuel Kaufmann wrote:
> Sorry for the Top-Posting, maybe you didn't see the section that I
> included in my last email.
Ah, yeah, didn't catch that.
> From that section I understand that we are encoding the data into
> utf-8 if value is "unicode", but if it is j
tadata files atomically, to avoid corrupting
existing data in case of an error
With this patch, we no longer corrupt metadata when trying
to edit/update a ds entry with the system hitting ENOSPC.
Signed-off-by: Martin Langhoff
--
now, if you read carefully, it is the same thing I say in th
On Sun, Sep 30, 2012 at 12:24 PM, Manuel Kaufmann wrote:
> On Fri, Sep 21, 2012 at 12:55 AM, Martin Langhoff wrote:
>> This gives us more complete coverage of cases where ENOSPC or
>> other errors are hit when creating/updating datastore entries.
>
> I reviewed this patch a
On Mon, Oct 1, 2012 at 7:06 AM, Manuel Kaufmann wrote:
> Just a comment: this patch removes the possibility to have a property
> named "..property", right? is this OK?
I hope it is. I don't know, I'm not an experienced Sugar hacker :-)
What I can tell you is that I have never seen a property, in
On Fri, Sep 28, 2012 at 12:26 PM, Manuel Quiñones wrote:
> 2012/9/28 Walter Bender :
>> I am hoping to get this into the OLPC 13.1 build. Any change of
>> getting it into Sugar 0.98?
>
> Looks like a good addition for me and patch looks fine.
Hmmm, lunch time! Ah, ooops!
I would add the field to
On Thu, Sep 27, 2012 at 11:46 AM, Gary Martin
wrote:
> + exposing URLs for touch users. The cursor hover is the only way to expose
> URLs when browsing (unless tap to editing them)
Tap-to-switch-to-URL-and-edit, starting with "full URL is selected" is
fine IMHO.
You are missing a key "-", which
On Thu, Sep 27, 2012 at 10:40 AM, Manuel Kaufmann wrote:
> I'm working on my 1.75 XO with os3 and I feel it really slow. There
> are some examples:
At least part of this will be due to a much slower video driver we are
using temporarily.
But yeah, it hurts and we need to have that fixed.
m
--
#x27;t find the discussion now.
> CC both
>
> Gonzalo
>
> On Thu, Sep 27, 2012 at 11:25 AM, Martin Langhoff
> wrote:
>>
>> Is this really an improvement in behaviour?
>>
>> - The tabs are often too small to show the title.
>> - The title is more impo
Is this really an improvement in behaviour?
- The tabs are often too small to show the title.
- The title is more important for the user than the URL. No?
cheers,
m
On Mon, Sep 24, 2012 at 5:09 PM, Manuel Kaufmann wrote:
> The Title of the current page is no longer shown in the URL
> entry.
Sugar{,-toolkit,toolkit3,datastore} sources have a mix of direct calls
to the logging module, and calls to it via the sugar logger instance
of the logging module, which is configured.
Early in sugar-session, I understand the use of logging before
sugar.logger is setup. But after that... is there a
This patch changes the strategy used by optimize.
Instead of maintaining a 'checksum' field for every
file, and maintaining metadata about whether they are
linked in the 'checksums' dir, it will only ever hash
files that match size _exactly_ with a new file.
A DS that does not see 2 files of ident
On Sat, Sep 22, 2012 at 10:09 PM, Martin Langhoff wrote:
> On Fri, Sep 21, 2012 at 11:36 AM, Martin Langhoff
> wrote:
>> Reviews are boring. Testing is more fun! rpms for ARM at
Reviews are boring, but necessary.
As these patches have seen some reviews, and the ml is a bit awkward
On Tue, Sep 25, 2012 at 12:43 PM, Manuel Kaufmann wrote:
> ** Message: console message: @0: Not allowed to load local resource:
> file:///home/humitos/src/browse/browse.png
>
> What do you think? Should I go for the file:// approach anyway?
Hmmm, security, tiny performance tweak, what should I c
On Fri, Sep 21, 2012 at 11:36 AM, Martin Langhoff
wrote:
> Reviews are boring. Testing is more fun! rpms for ARM at
>
>http://dev.laptop.org/~martin/ds-enospc/
New rpms for testing, including "datastore: handle low-disk and ENOSPC
conditions gracefully - v2". This is
On Fri, Sep 21, 2012 at 6:56 PM, Manuel Kaufmann wrote:
> I'm not sure to understand what you are saying here. I'm not doing
> this each time the function is called. Here, I just showed what I did
> to get the base64 file encoded. I mean, I did this just once and I put
> the result inside the HTML
edora and OLPC builds, this is a tmpfs). It is only moved
to disk if we are not in low-disk-space-available conditions.
Signed-off-by: Martin Langhoff
---
This is v2 of the patch, making sure the move to internal disk
works in more cases, and that failure is recorded.
Thanks Sam for the report!
On Thu, Sep 20, 2012 at 11:55 PM, Martin Langhoff wrote:
> -f = open(os.path.join(metadata_path, key), 'w')
> -try:
> -if isinstance(value, unicode):
> -value = value.encode('utf-8')
> -
On Thu, Sep 20, 2012 at 11:55 PM, Martin Langhoff wrote:
> In conditions of very low disk space available, or ENOSPC, the datastore
> misbehaves grossly:
Reviews are boring. Testing is more fun! rpms for ARM at
http://dev.laptop.org/~martin/ds-enospc/
How to test:
- Set Sugar to v
is is normally caused by
running into ENOSPC during a session, and
is unrecoverable. dbus will respawn the
process, the new spawn has a chance at
cleanup, moving things to tmpfs.
Signed-off-by: Martin Langhoff
---
This is v2 of the patch, making sure that later sessions
rebuild the on-disk
edora and OLPC builds, this is a tmpfs). It is only moved
to disk if we are not in low-disk-space-available conditions.
Signed-off-by: Martin Langhoff
---
src/carquinyol/datastore.py | 87 +++
1 file changed, 71 insertions(+), 16 deletions(-)
diff --
- use try/except to catch and log errors in datastore.log
(instead of echoing them to callers over dbus)
- use rmtree() to more reliably remove the entry
- get_entry_path() before we delete all the related
metadata.
Signed-off-by: Martin Langhoff
---
src/carquinyol/datastore.py
is is normally caused by
running into ENOSPC during a session, and
is unrecoverable. dbus will respawn the
process, the new spawn has a chance at
cleanup, moving things to tmpfs.
Signed-off-by: Martin Langhoff
---
src/carquinyol/indexstore.py | 52
the system hitting ENOSPC.
Signed-off-by: Martin Langhoff
---
src/carquinyol/metadatastore.py | 51 ++-
1 file changed, 34 insertions(+), 17 deletions(-)
diff --git a/src/carquinyol/metadatastore.py b/src/carquinyol/metadatastore.py
index 5967017..52cc10f
Ignore any file with a filename starting with a '.' -- metadatastore
writes its tempfiles prefixed with a '.' .
Signed-off-by: Martin Langhoff
---
Note: this one needs a bit of testing.
---
src/carquinyol/metadatareader.c |7 ++-
1 file changed, 2 insertions(+),
When operating close to ENOSPC, we sometimes end up with
incomplete or invalid on-disk entries. So we prune these
during index rebuild.
Signed-off-by: Martin Langhoff
---
src/carquinyol/datastore.py |8
1 file changed, 8 insertions(+)
diff --git a/src/carquinyol/datastore.py b/src
(Xapian DB).
With this patch, failure to complete create/update/delete forces
an index rebuild on restart.
Signed-off-by: Martin Langhoff
---
src/carquinyol/datastore.py | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/src/carquinyol/datastor
ses where we do rebuild it
- the index recovers gracefully on restart when there is free disk space
Martin Langhoff (7):
Add ds_clean flag to trigger index rebuilds #2095, #2317
Remove invalid/corrupt on-disk entries #2317
metadatastore: store/change files on disk defensively #2317
metadat
Things I am working on
- Add ds_clean flag to trigger index rebuilds - patch posted for review
- Remove invalid corrupt disk entries - patch posted for review
- When hitting ENOSPC, use a tmpfs for index database -- working on it...
m
--
martin.langh...@gmail.com
mar...@laptop.org -- So
When operating close to ENOSPC, we sometimes end up with
incomplete or invalid on-disk entries. So we prune these
during index rebuild.
---
src/carquinyol/datastore.py |7 +++
1 file changed, 7 insertions(+)
diff --git a/src/carquinyol/datastore.py b/src/carquinyol/datastore.py
index 6ede
This gives us more complete coverage of cases where ENOSPC or
other errors are hit when creating/updating datastore entries.
Without this patch, using the Journal on ENOSPC sometimes leads
to an "empty" Journal after restart. Datastore entries exist on
disk but are not in the index (Xapian DB).
W
On Wed, Sep 19, 2012 at 6:54 AM, Manuel Kaufmann wrote:
> On Tue, Sep 18, 2012 at 10:58 PM, James Cameron wrote:
>> Neat. What method did you use to convert the image?
>
> Python... It is my best friend :)
>
import base64
base64.b64encode(open('browse-logo.png', 'r').read())
You have
On Wed, Sep 19, 2012 at 4:54 PM, Gonzalo Odiard wrote:
> You already have the line
> export SUGAR_LOGGER_LEVEL=debug
> uncommented in .sugar/debug, right?
Yes. And with that, datastore.log is very chatty, which is good.
But when the datastore code hits an unhandled exception, the exception
does
On Wed, Sep 19, 2012 at 4:15 PM, Martin Langhoff
wrote:
> I'm debugging odd situations w Sugar datastore, and I wonder whether
> there is any tricks to debugging python programs that are run under
> dbus.
>
> I can see the sugar-datastore PID growing steadily while I test, whi
I'm debugging odd situations w Sugar datastore, and I wonder whether
there is any tricks to debugging python programs that are run under
dbus.
I can see the sugar-datastore PID growing steadily while I test, which
means that it's dying and respawning plenty, likely from unhandled
exceptions...
th
On Sat, Sep 15, 2012 at 8:03 AM, Sascha Silbe wrote:
> Martin Langhoff writes:
>
>> Manuel Kaufmann has been looking at SL#394, and looking at the bug
>> report, it struck me that it was reported backwards. I would have
>> written: "I filled up my disk and it
On Tue, Sep 18, 2012 at 8:42 AM, Manuel Kaufmann wrote:
> We where discussing about this last week[1] and we found the "root"
> issue of this problem: Sugar is not handling ENOSPC error. This could
> cause some problems at boot time when the XO is restarted, but as we
> discussed[2], Linux has mad
On Wed, Sep 12, 2012 at 9:22 PM, Samuel Greenfeld wrote:
>> 1. Is there a security problem/concern with having our project's lease.sig
>> file publicly available? (we only generate activations for non-stolen XOs)
Should be ok, as long as you're comfortable with the validity period
(ie: not too lo
Manuel Kaufmann has been looking at SL#394, and looking at the bug
report, it struck me that it was reported backwards. I would have
written: "I filled up my disk and it knocked the system out, Sugar
would not start again, etc. Oh, btw, it was with Browse".
Maybe I'm the only one who thinks this w
On Wed, Sep 12, 2012 at 8:24 AM, Manuel Kaufmann wrote:
> On Wed, Sep 12, 2012 at 9:21 AM, Martin Langhoff
> wrote:
>> That's very good handling on webkit's side. And does it remove the
>> file? IOWs, when you get the signal, what do you see in the tmpfs? Is
>&g
On Wed, Sep 12, 2012 at 8:20 AM, Manuel Kaufmann wrote:
> OK. I was taking a look at the datastore source code and I understood
> that the file is copied, using the traditional way and when the copy
> finishes the source file is unlinked.
Ouch! I haven't reviewed the code (have to run some person
On Wed, Sep 12, 2012 at 7:50 AM, Manuel Kaufmann wrote:
> I'm attaching an example that downloads a file with WebKit.
>
> I tried it setting up a tmpfs with 1Mb as you suggested and aftert
> that, I ran this script. WebKit tells us about the insufficient space
> on the disk by raising the "error"
On Tue, Sep 11, 2012 at 9:07 PM, Manuel Kaufmann wrote:
> This is what I got:
>
> [olpc@xo-07-30-50 ~]$ mkdir /tmp/foo
> [olpc@xo-07-30-50 ~]$ sudo mount -t tmpfs -o size=1M none /tmp/foo
> [olpc@xo-07-30-50 ~]$ python
> Python 2.7.3 (default, Apr 30 2012, 23:07:00)
> [GCC 4.7.0 20120416 (Red Hat
On Tue, Sep 11, 2012 at 4:32 PM, Manuel Kaufmann wrote:
> I didn't find an exception raised by Sugar when this happens. The
> check is done[1] when a new Model is created[2] or updated[3] inside
> the Journal, and if there are less than 50Mb a ModelAlert is shown but
> no exception is raised. Mayb
On Tue, Sep 11, 2012 at 9:01 AM, Manuel Kaufmann wrote:
> If we are going to use this approach, I have to change the logic about
> "where" I should check this.
+200. I hadn't realized this. The main two things you absolutely need are
- check at the start of the download that it'll fit (with X r
On Mon, Sep 10, 2012 at 6:39 PM, James Cameron wrote:
> Some users pay for data by volume. I don't think that cancelling a
> download is the right approach. It should be paused, giving the user
> a chance to clean up.
Rather complex -- I haven't seen any webbrowser correctly implement
that corr
On Mon, Sep 10, 2012 at 6:02 PM, Manuel Kaufmann wrote:
> On Mon, Sep 10, 2012 at 9:49 PM, Martin Langhoff
> wrote:
>> Perhaps it is a stupid question but... in many HTTP requests you get
>> the size of the transfer in the HTTP headers, in the form of the
>> Content-Len
On Mon, Sep 10, 2012 at 10:07 AM, Gonzalo Odiard wrote:
> "Actual size" is used in Read too.
http://imgs.xkcd.com/store/imgs/actual_size_200.png
m
--
martin.langh...@gmail.com
mar...@laptop.org -- Software Architect - OLPC
- ask interesting questions
- don't get distracted with shiny stu
On Mon, Sep 10, 2012 at 5:49 PM, Martin Langhoff
wrote:
> Perhaps it is a stupid question but... in many HTTP requests you get
s/question/suggestion/
m
--
martin.langh...@gmail.com
mar...@laptop.org -- Software Architect - OLPC
- ask interesting questions
- don't get distrac
On Mon, Sep 10, 2012 at 5:33 PM, Manuel Kaufmann wrote:
> If there are less than 50Mb free on the Hard Disk the downloading
> process is canceled and this is informed to the user via an Alert.
Perhaps it is a stupid question but... in many HTTP requests you get
the size of the transfer in the HTT
1 - 100 of 797 matches
Mail list logo