[Sugar-devel] [RELEASE] sugar-toolkit-0.94.1

2012-03-19 Thread Simon Schampijer
== Source ==

http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.94.1.tar.bz2

== News ==

* Release 0.94.1 (Simon Schampijer)
* icon: use GDK for pixbuf-to-cairo conversion, should fix a Sugar crasher on 
Fedora 16, https://bugzilla.redhat.com/show_bug.cgi?id=797374 (Daniel Drake)
* Commit from Sugar Labs: Translation System by user dram.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user Jasmine.: 40 of 40 
messages translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user anush.mkrtchyan.: 40 of 40 
messages translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 39 of 40 messages 
translated (1 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 34 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 39 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user cjl.: 40 of 40 messages 
translated (0 fuzzy). (Pootle daemon)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as Unknown fix to SL#3097

2012-03-19 Thread Gonzalo Odiard
Pushed and the ticket closed.
Thanks again, and if is your first patch... welcome!

Gonzalo

On Sat, Mar 17, 2012 at 5:16 PM, Kalpa Welivitigoda callka...@gmail.comwrote:

 On Sun, Mar 18, 2012 at 1:06 AM, Gonzalo Odiard gonz...@laptop.org
 wrote:
  Thanks Kalpa,
  What do you think about replacing:
 
  -catbox = gtk.Label(c)
  +# If there is no category, display as Unknown
  +if c is '':
  +catbox = gtk.Label(_('Unknown'))
  +else:
  +catbox = gtk.Label(c)
 
  by:
 
  +# If there is no category, display as Unknown
  +description = c
  +if c is '':
  +description = _('Unknown')
   catbox = gtk.Label(description)
 
  Looks simpler, right?
 

 and much better.

 I've attached the new patch.


  Gonzalo
 
  On Sat, Mar 17, 2012 at 4:21 PM, callka...@gmail.com wrote:
 
  From: Kalpa Pathum Welivitigoda callka...@gmail.com
 
  ---
   budgetscreen.py |6 +-
   chartscreen.py  |7 +--
   2 files changed, 10 insertions(+), 3 deletions(-)
 
  diff --git a/budgetscreen.py b/budgetscreen.py
  index 0e2cd98..bcbceb5 100644
  --- a/budgetscreen.py
  +++ b/budgetscreen.py
  @@ -96,7 +96,11 @@ class BudgetScreen(gtk.VBox):
 
  # Build categories.
  for c in self.sorted_categories:
  -catbox = gtk.Label(c)
  +# If there is no category, display as Unknown
  +if c is '':
  +catbox = gtk.Label(_('Unknown'))
  +else:
  +catbox = gtk.Label(c)
  catbox.set_padding(10, 0)
 
  color = finance.get_category_color_str(c)
  diff --git a/chartscreen.py b/chartscreen.py
  index 129be9b..b6d1977 100644
  --- a/chartscreen.py
  +++ b/chartscreen.py
  @@ -89,8 +89,11 @@ class ChartScreen(gtk.HBox):
  for c in self.sorted_categories:
  hbox = gtk.HBox()
 
  -catlabel = gtk.Label()
  -catlabel.set_markup(c)
  +# If there is no category, display as Unknown
  +if c is '':
  +catlabel = gtk.Label(_('Unknown'))
  +else:
  +catlabel = gtk.Label(c)
  catgroup.add_widget(catlabel)
 
  color = finance.get_category_color_str(c)
  --
  1.7.7.6
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 



 --
 Best Regards,

 Kalpa Pathum Welivitigoda
 http://about.me/callkalpa

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


Re: [Sugar-devel] [SoaS] Fedora-17-Beta-TC2-i686-Live-SoaS testing results

2012-03-19 Thread Peter Robinson
On Sun, Mar 18, 2012 at 11:15 PM, Thomas C Gilliard
satel...@bendbroadband.com wrote:
 Please look at this:
 These activities need to be fixed
  Abacus
  etoys

Both of the above are known problems.

  read

What specifically is the issue? It seems to work fine for me.

Most of the out of date activities should be up to date soon.

Regards,
Peter

 Tom Gilliard
 satellit_ on #sugar

 Test results:

  http://wiki.sugarlabs.org/go/Community/Distributions/Fedora-SoaS#Fedora-17-Beta-TC2-i686-Live-SoaS


 Fedora-17-Beta-TC2-i686-Live-SoaS

 http://koji.fedoraproject.org/koji/getfile?taskID=3907156name=Fedora-17-Beta-TC2-i686-Live-SoaS.iso

 Tested CD usingPenguin Libre GNU / Linux Notebook i3. (all free drivers)

 Boots to name___; Color___

 Wireless AP (WEP) Connects and stays connected

 Sees Jabber

 About my Computer

 Build Sugar on a Stick 7
   Fedora release 17 (Beefy Miracle)
 Sugar 0.95.4
 Firmware  2.60

 Activities

 2-) Tested in VirtualBox 4.1.10 install to 8 GB HD
  Use whole Disk
  [x]use LVM

 key  =not favorite; ok=starts and saves; == updates to:
 etoys  116 no DBusError: Process /usr/bin/sugar-presence-service
 exited with status 1 (pulsing in top bar after quit)
 visual match35 ok
 chat73 ok ==74 ok
 maze15 ok
 moon13 ok
 abacus  31 no failed to start  AttributeError: 'AbacusActivity'
 object has no attribute 'set_toolbox' are we shipping too new a version
 here?
 turtle art 136 ok
 write   77 ok ==78 ok
 typing turtle   29 ok
 speak   36 ok ==37 ok
 jukebox 23 ok
 irc 10 ok
 pippy   45 ok?* ==46 ok fixed*(Physics does not start in
 45)
 memorize39 ok
  portfolio 21 ok
 image viewer19 ok? no matching entries
 log 26 ok ==27 ok
 calculate   38 ok
 record  93==94 ok sees VirtualBox USB Camera
 ruler   19 ok
 clock7 ok
 physics  9 ok
 terminal35 ok
  read  97 no failed to start
  browse   131 ok ==132 ok

 tools_livecd-iso-to-disk Persistent USB-stick

 4 GB EMTEC USB-stick

 sudo ./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 500
 --home-size-mb 900 --delete-home --unencrypted-home
 Fedora-17-Beta-TC2-i686-Live-SoaS.iso /dev/sd(x)1

 Verifying image...
 ./tools_livecd-iso-to-disk.sh: line 806: checkisomd5: command not found
 Are you SURE you want to continue?
 Press Enter to continue or ctrl-c to abort

 Copying live image to target device.
 squashfs.img
489975808 100%6.98MB/s0:01:06 (xfer#1, to-check=0/1)

 sent 490035693 bytes  received 31 bytes  7259788.50 bytes/sec
 total size is 489975808  speedup is 1.00
 osmin.img
 8192 100%0.00kB/s0:00:00 (xfer#1, to-check=0/1)

 sent 8265 bytes  received 31 bytes  16592.00 bytes/sec
 total size is 8192  speedup is 0.99
 Updating boot config file
 Initializing persistent overlay file
 500+0 records in
 500+0 records out
 524288000 bytes (524 MB) copied, 86.1616 s, 6.1 MB/s
 Initializing persistent /home
 900+0 records in
 900+0 records out
 943718400 bytes (944 MB) copied, 211.095 s, 4.5 MB/s
 Formatting unencrypted /home
 mke2fs 1.41.11 (14-Mar-2010)
 Filesystem label=
 OS type: Linux
 Block size=4096 (log=2)
 Fragment size=4096 (log=2)
 Stride=0 blocks, Stripe width=0 blocks
 57600 inodes, 230400 blocks
 11520 blocks (5.00%) reserved for the super user
 First data block=0
 Maximum filesystem blocks=239075328
 8 block groups
 32768 blocks per group, 32768 fragments per group
 7200 inodes per group
 Superblock backups stored on blocks:
   32768, 98304, 163840, 229376

 Writing inode tables: done
 Creating journal (4096 blocks): done
 Writing superblocks and filesystem accounting information: done

 This filesystem will be automatically checked every 39 mounts or
 180 days, whichever comes first.  Use tune2fs -c or -i to override.
 tune2fs 1.41.11 (14-Mar-2010)
 Setting maximal mount count to -1
 Setting interval between checks to 0 seconds
 Installing boot loader
 Target device is now set up with a Live image!


 ___
 SoaS mailing list
 s...@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/soas

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


Re: [Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as Unknown fix to SL#3097

2012-03-19 Thread Kalpa Welivitigoda
On Mon, Mar 19, 2012 at 4:28 PM, Gonzalo Odiard gonz...@laptop.org wrote:
 Pushed and the ticket closed.
 Thanks again, and if is your first patch... welcome!


that's wow. yes it is my first to sugar.
Thanks

 Gonzalo


 On Sat, Mar 17, 2012 at 5:16 PM, Kalpa Welivitigoda callka...@gmail.com
 wrote:

 On Sun, Mar 18, 2012 at 1:06 AM, Gonzalo Odiard gonz...@laptop.org
 wrote:
  Thanks Kalpa,
  What do you think about replacing:
 
  -            catbox = gtk.Label(c)
  +            # If there is no category, display as Unknown
  +            if c is '':
  +                catbox = gtk.Label(_('Unknown'))
  +            else:
  +                catbox = gtk.Label(c)
 
  by:
 
  +            # If there is no category, display as Unknown
  +            description = c
  +            if c is '':
  +                description = _('Unknown')
               catbox = gtk.Label(description)
 
  Looks simpler, right?
 

 and much better.

 I've attached the new patch.


  Gonzalo
 
  On Sat, Mar 17, 2012 at 4:21 PM, callka...@gmail.com wrote:
 
  From: Kalpa Pathum Welivitigoda callka...@gmail.com
 
  ---
   budgetscreen.py |    6 +-
   chartscreen.py  |    7 +--
   2 files changed, 10 insertions(+), 3 deletions(-)
 
  diff --git a/budgetscreen.py b/budgetscreen.py
  index 0e2cd98..bcbceb5 100644
  --- a/budgetscreen.py
  +++ b/budgetscreen.py
  @@ -96,7 +96,11 @@ class BudgetScreen(gtk.VBox):
 
          # Build categories.
          for c in self.sorted_categories:
  -            catbox = gtk.Label(c)
  +            # If there is no category, display as Unknown
  +            if c is '':
  +                catbox = gtk.Label(_('Unknown'))
  +            else:
  +                catbox = gtk.Label(c)
              catbox.set_padding(10, 0)
 
              color = finance.get_category_color_str(c)
  diff --git a/chartscreen.py b/chartscreen.py
  index 129be9b..b6d1977 100644
  --- a/chartscreen.py
  +++ b/chartscreen.py
  @@ -89,8 +89,11 @@ class ChartScreen(gtk.HBox):
          for c in self.sorted_categories:
              hbox = gtk.HBox()
 
  -            catlabel = gtk.Label()
  -            catlabel.set_markup(c)
  +            # If there is no category, display as Unknown
  +            if c is '':
  +                catlabel = gtk.Label(_('Unknown'))
  +            else:
  +                catlabel = gtk.Label(c)
              catgroup.add_widget(catlabel)
 
              color = finance.get_category_color_str(c)
  --
  1.7.7.6
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 



 --
 Best Regards,

 Kalpa Pathum Welivitigoda
 http://about.me/callkalpa





-- 
Best Regards,

Kalpa Pathum Welivitigoda
http://about.me/callkalpa
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as Unknown fix to SL#3097

2012-03-19 Thread Chris Leonard
After the crob job runs the POT updater script tonight and and updates
Pootle's POT,  I will update the language projects and land this in
Pootle for L10n and commit.

cjl

On Mon, Mar 19, 2012 at 6:58 AM, Gonzalo Odiard gonz...@laptop.org wrote:
 Pushed and the ticket closed.
 Thanks again, and if is your first patch... welcome!

 Gonzalo

 On Sat, Mar 17, 2012 at 5:16 PM, Kalpa Welivitigoda callka...@gmail.com
 wrote:

 On Sun, Mar 18, 2012 at 1:06 AM, Gonzalo Odiard gonz...@laptop.org
 wrote:
  Thanks Kalpa,
  What do you think about replacing:
 
  -            catbox = gtk.Label(c)
  +            # If there is no category, display as Unknown
  +            if c is '':
  +                catbox = gtk.Label(_('Unknown'))
  +            else:
  +                catbox = gtk.Label(c)
 
  by:
 
  +            # If there is no category, display as Unknown
  +            description = c
  +            if c is '':
  +                description = _('Unknown')
               catbox = gtk.Label(description)
 
  Looks simpler, right?
 

 and much better.

 I've attached the new patch.


  Gonzalo
 
  On Sat, Mar 17, 2012 at 4:21 PM, callka...@gmail.com wrote:
 
  From: Kalpa Pathum Welivitigoda callka...@gmail.com
 
  ---
   budgetscreen.py |    6 +-
   chartscreen.py  |    7 +--
   2 files changed, 10 insertions(+), 3 deletions(-)
 
  diff --git a/budgetscreen.py b/budgetscreen.py
  index 0e2cd98..bcbceb5 100644
  --- a/budgetscreen.py
  +++ b/budgetscreen.py
  @@ -96,7 +96,11 @@ class BudgetScreen(gtk.VBox):
 
          # Build categories.
          for c in self.sorted_categories:
  -            catbox = gtk.Label(c)
  +            # If there is no category, display as Unknown
  +            if c is '':
  +                catbox = gtk.Label(_('Unknown'))
  +            else:
  +                catbox = gtk.Label(c)
              catbox.set_padding(10, 0)
 
              color = finance.get_category_color_str(c)
  diff --git a/chartscreen.py b/chartscreen.py
  index 129be9b..b6d1977 100644
  --- a/chartscreen.py
  +++ b/chartscreen.py
  @@ -89,8 +89,11 @@ class ChartScreen(gtk.HBox):
          for c in self.sorted_categories:
              hbox = gtk.HBox()
 
  -            catlabel = gtk.Label()
  -            catlabel.set_markup(c)
  +            # If there is no category, display as Unknown
  +            if c is '':
  +                catlabel = gtk.Label(_('Unknown'))
  +            else:
  +                catlabel = gtk.Label(c)
              catgroup.add_widget(catlabel)
 
              color = finance.get_category_color_str(c)
  --
  1.7.7.6
 
  ___
  Sugar-devel mailing list
  Sugar-devel@lists.sugarlabs.org
  http://lists.sugarlabs.org/listinfo/sugar-devel
 
 



 --
 Best Regards,

 Kalpa Pathum Welivitigoda
 http://about.me/callkalpa



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

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


[Sugar-devel] Sugar crash on F16 (system install and jhbuild)

2012-03-19 Thread Simon Schampijer

Hi,

if you pull in the latest updates on Fedora 16 you have to update 
sugar-toolkit as well. Here is an rpm [1] that hopefully gets into an 
update soon, and in jhbuild you need to pull and build sugar-toolkit.


Regards,
   Simon

[1] http://koji.fedoraproject.org/koji/buildinfo?buildID=308045
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Simon Schampijer

On 03/15/2012 06:07 PM, Manuel Kaufmann wrote:

On Thu, Mar 15, 2012 at 11:38, Gonzalo Odiardgonz...@laptop.org  wrote:

Hmm, I don't know.
Have you tried do yum update or you have only the package versions
included in the initial F16 installation?


Yes. I've already run yum update and the error is still there :S




Maybe you are seeing https://bugzilla.redhat.com/process_bug.cgi, you 
can get the toolkit 
http://koji.fedoraproject.org/koji/buildinfo?buildID=308045 and try if 
that fixes your issue.


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


Re: [Sugar-devel] Sugar crash on F16 (system install and jhbuild)

2012-03-19 Thread Alvar Maciel
great, I will try with this

On Mon, Mar 19, 2012 at 9:56 AM, Simon Schampijer si...@schampijer.de wrote:
 Hi,

 if you pull in the latest updates on Fedora 16 you have to update
 sugar-toolkit as well. Here is an rpm [1] that hopefully gets into an update
 soon, and in jhbuild you need to pull and build sugar-toolkit.

 Regards,
   Simon

 [1] http://koji.fedoraproject.org/koji/buildinfo?buildID=308045
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Manuel Kaufmann
On Mon, Mar 19, 2012 at 10:10, Simon Schampijer si...@schampijer.de wrote:
 Maybe you are seeing https://bugzilla.redhat.com/process_bug.cgi, you can
 get the toolkit http://koji.fedoraproject.org/koji/buildinfo?buildID=308045
 and try if that fixes your issue.

Today I ran yum update, after this downloaded that package and
then ran ./sugar-jhbuild build again but I have the same problem.

That command opens a window Sugar on a window and it crashes :(

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Portfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Gonzalo Odiard
On Mon, Mar 19, 2012 at 10:55 AM, Manuel Kaufmann humi...@gmail.com wrote:

 On Mon, Mar 19, 2012 at 10:10, Simon Schampijer si...@schampijer.de
 wrote:
  Maybe you are seeing https://bugzilla.redhat.com/process_bug.cgi, you
 can
  get the toolkit
 http://koji.fedoraproject.org/koji/buildinfo?buildID=308045
  and try if that fixes your issue.

 Today I ran yum update, after this downloaded that package and
 then ran ./sugar-jhbuild build again but I have the same problem.

 That command opens a window Sugar on a window and it crashes :(



try updating your sugar-toolkit:

cd source/sugar-toolkit/
git pull
make install

And try again

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


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Manuel Kaufmann
On Mon, Mar 19, 2012 at 11:07, Gonzalo Odiard gonz...@laptop.org wrote:

 try updating your sugar-toolkit:

Sorry, I forgot to mention. I ran ./sugar-jhbuild update before
running ./sugar-jhbuild build.


 cd source/sugar-toolkit/
 git pull
 make install

After running these commands, I get the same error but another error
occurs in the make install command:

/bin/mkdir: cannot create directory `/usr/local/lib/python2.7':
Permission denied

Should I run this command as root? I suppose no.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Portfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Gonzalo Odiard


 After running these commands, I get the same error but another error
 occurs in the make install command:

 /bin/mkdir: cannot create directory `/usr/local/lib/python2.7':
 Permission denied

 Should I run this command as root? I suppose no.


No.
'make install' should not try to install in  `/usr/local/lib/python2.7':
did you './configure' ?
The target should be sugar-jhbuild/install/

Gonzalo



 --
 Kaufmann Manuel
 Blog: http://humitos.wordpress.com/
 Portfolio: http://fotos.mkaufmann.com.ar/
 PyAr: http://www.python.com.ar/

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


Re: [Sugar-devel] [ASLO] Release Wikipedia-33.5

2012-03-19 Thread Daniel Drake
On Sat, Mar 17, 2012 at 1:29 PM, Gonzalo Odiard gonz...@laptop.org wrote:
 It's a consequence of updating the data.
 The english wikipedia has grow from 1.5M articles in 2007 to almost 4M now
 [1],
 and the articles are longer too.

If I remember correctly, the process used originally was:
1. Rank all wikipedia page according to some criteria of popularity
(page views)?
2. Take articles from the top of the list, one by one, going down the
list until 100mb of space was used.

Perhaps the same process can be run again, to not only bring in new
content but also consider updated popularity?

This would also solve the space usage issue. The growth of Wikipedia
and WikipediaES means that we are no longer able to produce 2GB disk
images due to not having enough space. Some of this bloat is
undoubtedly due to F17 bloat, however the combined 90mb growth of
these 2 activities is a lot to ask for in any case.

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


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Manuel Kaufmann
On Mon, Mar 19, 2012 at 11:54, Gonzalo Odiard gonz...@laptop.org wrote:
 'make install' should not try to install in  `/usr/local/lib/python2.7':
 did you './configure' ?
 The target should be sugar-jhbuild/install/

Yes, I tried both. Without running ./configure and running ./configure

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Portfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Manuel Kaufmann
On Mon, Mar 19, 2012 at 12:00, Manuel Kaufmann humi...@gmail.com wrote:
 Yes, I tried both. Without running ./configure and running ./configure

OK.

I ran:

./configure --prefix=/home/humitos/sugar-jhbuild/install
make install

It worked!

I ran ./sugar-jhbuild run sugar-emulator and I got the same error
related with xephyr

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Portfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Michael Stone

On Thu, 15 Mar 2012 at 11:08:51 -0300, Manuel Kaufmann humi...@gmail.com 
wrote:


Hello,

After compiling sugar with jhbuild in Fedora 16, I'm tryin to run the
emulator but I'm getting this error:

Failed to start server. Please check output above for any message

A window appears and dissappears twice with the title Sugar in a
window and then this:

 * http://www.diigo.com/item/image/1msf9/rojc?size=o

I'm running Fedora 16 inside a VM with QEMU (kvm).

Do you know what's happening here and how to solve it?


Manuel (and other folks CC'ed),

Based on your screenshot and the fact that you're running Xephyr inside KVM, I
suspect that you're running into the (still open!) Xephyr-in-KVM-segfault bug:

  https://bugs.freedesktop.org/show_bug.cgi?id=32765

in its Fedora form:

  https://bugzilla.redhat.com/show_bug.cgi?id=518960

If I'm right, then you can probably fix the segfault you're seeing with a patch
similar to the one attached to the second ticket.

As for getting this fixed upstream:

  @Matthew: according to bugs.fd.o, #32765 is assigned to you. Are you in fact
the right owner for this ticket?

  @Keith: in http://patchwork.freedesktop.org/patch/1327/, you asked Ajax for a
tweak to his patch. Could you please spell out a little bit more explicitly
what changes are needed, e.g., for those of us who are not yet expert X
hackers but who might nevertheless be able to rebase, tweak, and test the
patch...?

  @others -- I've added you to the CC list since you've all been previously
involved in conversations about this bug...

Regards,

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


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Manuel Kaufmann
On Mon, Mar 19, 2012 at 12:48, Michael Stone mich...@laptop.org wrote:
 If I'm right, then you can probably fix the segfault you're seeing with a
 patch
 similar to the one attached to the second ticket.

I downloaded the source running:

git clone git://anongit.freedesktop.org/git/xorg/xserver

and I downloaded the patch from the last email but an error occurs
because it seems the patch is too old and git couldn't find the
correct chunk of code to add / replace / remove.

I don't know what to do, I'm trying to install sugar since one week ago.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Portfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Fedora-17-Beta-TC2-i686-Live-SoaS testing results

2012-03-19 Thread Thomas C Gilliard



On 03/19/2012 08:03 AM, Art Hunkins wrote:
FWIW, this version fails to install correctly to a 2GB USB stick via 
Live-USB-Creator.

The log report:
Traceback (most recent call last):
  File liveusb\gui.pyc, line 420, in status
TypeError: QTextEdit.append(QString): argument 1 has unexpected type 'int'
The stick also fails to boot on a computer.
I suspect the problem has more to do with the compatibility between 
Live-USB-Creator and the TC2-Beta .iso however.

Am I correct?
reported bug: liveusb-creator fails to start in f17[1] use 
/tools_livecd-iso-to-disk.sh (as listed below) for a persistent USB-stick


[1] https://bugzilla.redhat.com/show_bug.cgi?id=796489

Art Hunkins

- Original Message -
*From:* Thomas C Gilliard mailto:satel...@bendbroadband.com
*To:* SoaS mailto:s...@lists.sugarlabs.org ; Sugar Devel
mailto:sugar-devel@lists.sugarlabs.org
*Sent:* Sunday, March 18, 2012 7:15 PM
*Subject:* [Sugar-devel] Fedora-17-Beta-TC2-i686-Live-SoaS testing
results

Please look at this:
These activities need to be fixed
 Abacus
 etoys
 read

Tom Gilliard
satellit_ on #sugar

Test results:

* 
http://wiki.sugarlabs.org/go/Community/Distributions/Fedora-SoaS#Fedora-17-Beta-TC2-i686-Live-SoaS



Fedora-17-Beta-TC2-i686-Live-SoaS

* 
http://koji.fedoraproject.org/koji/getfile?taskID=3907156name=Fedora-17-Beta-TC2-i686-Live-SoaS.iso
  
http://koji.fedoraproject.org/koji/getfile?taskID=3907156name=Fedora-17-Beta-TC2-i686-Live-SoaS.iso


Tested CD usingPenguin Libre GNU / Linux Notebook i3. (all free
drivers)

   *

  Boots to name___; Color___

   *

  Wireless AP (WEP) Connects and stays connected

   *

  Sees Jabber

About my Computer

Build Sugar on a Stick 7
   Fedora release 17 (Beefy Miracle)
Sugar 0.95.4
Firmware  2.60

Activities

2-) Tested in VirtualBox 4.1.10 install to 8 GB HD
  Use whole Disk
  [x]use LVM

key=not favorite; ok=starts and saves; ==  updates to:
etoys  116*no*  DBusError: Process 
/usr/bin/sugar-presence-service exited with status 1 (pulsing in top bar after 
quit)
visual match35 ok
chat73 ok ==74 ok
maze15 ok
moon13 ok
abacus  31*no*  failed to start  AttributeError: 
'AbacusActivity' object has no attribute 'set_toolbox'*are we shipping too new 
a version here?*
turtle art 136 ok
write   77 ok ==78 ok
typing turtle   29 ok
speak   36 ok ==37 ok
jukebox 23 ok
irc 10 ok
pippy   45 ok?* ==46 ok fixed*(Physics does not start in 
45)
memorize39 ok
  portfolio 21 ok
image viewer19 ok? no matching entries
log 26 ok ==27 ok
calculate   38 ok
record  93==94 ok sees VirtualBox USB Camera
ruler   19 ok
clock7 ok
physics  9 ok
terminal35 ok
  read  97*no*  failed to start
  browse   131 ok ==132 ok

tools_livecd-iso-to-disk Persistent USB-stick

4 GB EMTEC USB-stick

sudo ./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb
500 --home-size-mb 900 --delete-home --unencrypted-home
Fedora-17-Beta-TC2-i686-Live-SoaS.iso /dev/sd(x)1

Verifying image...
./tools_livecd-iso-to-disk.sh: line 806: checkisomd5: command not found
Are you SURE you want to continue?
Press Enter to continue or ctrl-c to abort

Copying live image to target device.
squashfs.img
489975808 100%6.98MB/s0:01:06 (xfer#1, to-check=0/1)

sent 490035693 bytes  received 31 bytes  7259788.50 bytes/sec
total size is 489975808  speedup is 1.00
osmin.img
 8192 100%0.00kB/s0:00:00 (xfer#1, to-check=0/1)

sent 8265 bytes  received 31 bytes  16592.00 bytes/sec
total size is 8192  speedup is 0.99
Updating boot config file
Initializing persistent overlay file
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 86.1616 s, 6.1 MB/s
Initializing persistent /home
900+0 records in
900+0 records out
943718400 bytes (944 MB) copied, 211.095 s, 4.5 MB/s
Formatting unencrypted /home
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
57600 inodes, 230400 blocks
11520 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=239075328
8 block groups
32768 blocks per group, 32768 fragments per group
7200 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376

Writing inode 

[Sugar-devel] [PATCH] Change string formatting in downloadmanager to use named arguments

2012-03-19 Thread Manuel Quiñones
Fixes this warning in Pootle: 'msgid' format string with unnamed
arguments cannot be properly localized:

Signed-off-by: Manuel Quiñones ma...@laptop.org
---
 downloadmanager.py |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/downloadmanager.py b/downloadmanager.py
index e6d..9950c16 100644
--- a/downloadmanager.py
+++ b/downloadmanager.py
@@ -199,8 +199,10 @@ class Download(object):
 
 def _create_journal_object(self):
 self.dl_jobject = datastore.create()
-self.dl_jobject.metadata['title'] = _('Downloading %s from \n%s.') % \
-(self._download.get_suggested_filename(), self._source)
+self.dl_jobject.metadata['title'] = \
+_('Downloading %(filename)s from \n%(source)s.') % \
+{'filename': self._download.get_suggested_filename(),
+ 'source': self._source}
 
 self.dl_jobject.metadata['progress'] = '0'
 self.dl_jobject.metadata['keep'] = '0'
-- 
1.7.7.6

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


[Sugar-devel] [PATCH sugar-toolkit-gtk3] configure.ac: Require gobject-introspection

2012-03-19 Thread Sascha Silbe
configure.ac already checked if gobject-introspection is installed, but
instead of aborting with an error it continued and silently omitted crucial
parts of the build system, confusing the user with the error message

make[4]: *** No rule to make target `SugarExt-1.0.gir', needed by `all-am'.  
Stop.

much later in the build. Fix this by using the appropriate autoconf macro.

Signed-off-by: Sascha Silbe si...@activitycentral.com
---
 configure.ac |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index ea782c3..bbe28c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, $GETTEXT_PACKAGE, [Gettext package])
 AM_GLIB_GNU_GETTEXT
 
-GOBJECT_INTROSPECTION_CHECK([1.30.0])
+GOBJECT_INTROSPECTION_REQUIRE([1.30.0])
 
 AC_OUTPUT([
 Makefile
-- 
1.7.9

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


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Sascha Silbe
Excerpts from Manuel Kaufmann's message of 2012-03-15 15:08:51 +0100:

 After compiling sugar with jhbuild in Fedora 16, I'm tryin to run the
 emulator but I'm getting this error:
 
 Failed to start server. Please check output above for any message

Well, like it says, the actual error message is elsewhere, so we can't
help you much without further information. Can you post the full
output, please?

Please make sure to update sugar-jhbuild and install anything
./sugar-jhbuild depscheck mentions (except for gnome-python2-evince
- I still need to fix the Read dependencies) before trying again.

If there's no error message (or just something unhelpful), please try
running the following command directly:

Xephyr :100 -ac -title 'Sugar in a window' -screen 800x600 -noreset

I expect it to fail, but once you tried that you can use the Fedora
support channels to get help; there's nothing Sugar-specific about it
then.


Your now-working Debian Wheezy setup should be better than a Fedora 16
one (at least Fedora 17 seems to be required for everything to work),
though. ;)

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


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


Re: [Sugar-devel] Some questions about root and olpc logins.

2012-03-19 Thread Sascha Silbe
Excerpts from Ajay Garg's message of 2012-03-16 20:10:11 +0100:

 I just compared the root and olpc logins functioning on os883.img, and
 my F14 laptop; and I am curious about the following things ::

[User can become root without password and related behaviour]

In addition to what others have said already, I'd like to point you to
Bitfrost [1], which is the security design for the XOs and for
Sugar. While not all parts have been implemented (yet?) and others have
(sadly!) fallen into disuse because of lack of resources to keep them
working in the constantly changing world that is Gnome, both the
introduction [1] and the specification [2] are a good read to understand
why certain decisions (like allowing the user to become root without
requiring any kind of authentication) have been made and in what ways we
can expect it to develop. Bitfrost tries to protect the user against
(buggy or malicious software or data from) other users, not the software
from the user.

Sascha

[1] http://wiki.laptop.org/go/Bitfrost
[2] http://wiki.laptop.org/go/OLPC_Bitfrost
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


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


Re: [Sugar-devel] xephyr error on Fedora 16

2012-03-19 Thread Manuel Kaufmann
On Mon, Mar 19, 2012 at 19:34, Sascha Silbe si...@activitycentral.com wrote:
 Your now-working Debian Wheezy setup should be better than a Fedora 16
 one (at least Fedora 17 seems to be required for everything to work),
 though. ;)

Yes, thanks. I will work on my Debian installation :)

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Portfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Error compiling with jhbuild

2012-03-19 Thread Manuel Kaufmann
On Mon, Mar 12, 2012 at 16:47, Manuel Kaufmann humi...@gmail.com wrote:
 On Mon, Mar 12, 2012 at 16:45, Gonzalo Odiard gonz...@laptop.org wrote:
 What distro are you using?

 Oh sorry, I forgot to mention this.

 I'm using Debian Testing

I wrote a Post on my blog explaining how to compile sugar in Debian
Testing using what I discover and I learn from silbe. Thanks!

http://humitos.wordpress.com/2012/03/19/compile-sugar-on-debian-testing-wheezy/

Hope it helps!

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Portfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Installing gstreamer media codecs on XO-1

2012-03-19 Thread David Leeming

I have tried to install media codecs on an XO-1 running 11.3.0 so that we
can play FLV video files directly (from a flashdrive, school server or
network location)., in either Sugar or GNOME. 

I had trouble getting it work using the instructions at
http://wiki.laptop.org/go/GStreamer#Totem_plugin - I think it is outdated. 

After some research and trial and error (lots!!) I have it working, some
using XO-1 may find useful 

The below works on an XO-1 running 11.3.0 freshly installed. It works in
Gnome using Totem/Movie Player and in Sugar using Jukebox Activity. It plays
mp3 audio and FLV video OK (such as the Khan Academy collection, which we
have loaded on the school servers in project schools)  

We also add the Flash plug in for the browser and disable click to view.
This allows embedded flash animations and FLV videos accessed with Browse,
Youtube, etc to play with good performance. Note that Flash version 11 is
much better than v10. 

So bringing it all together, I reproduced the above using the following. 
- XO-1 running 11.3.0, fresh install
- In Gnome view in a terminal, as su 
- wireless Internet connection 

yum localinstall --nogpgcheck
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noa
rch.rpm
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stab
le.noarch.rpm

yum install -y gstreamer-plugins-ugly

yum install -y gstreamer-ffmpeg

rm /home/olpc/Activities/Browse.activity/agent-stylesheet.css 

rm /home/olpc/Activities/Browse.activity/clickToView.xml 

navigate to the flash rpm and run 

rpm -Uhv flash.rpm

where flash.rpm is the Flash verion 11 RPM for Linux 32 bit from Adobe. 

Questions
1. Is the above the right way to do it, if someone with more Fedora
experience than I can verify..
2. In our narrowband countries it takes an hour and downloads a lot per
laptop, this is unworkable in PNG with large numbers of XOs and where the
bandwidth is so expensive and unreliable. Isn't there a way to do this
offline with a download, something we can run on a flashdrive?
3. is the update step above necessary (it requires downloading 33MB) 
4. In doing the above am I violating a ton of licenses?


David Leeming
Solomon Islands Rural Link 
www.rurallink.com.sb



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


[Sugar-devel] Sugar 0.94.1

2012-03-19 Thread Chris Leonard
So Sugar 0.94 is changing to 0.94.1

http://git.sugarlabs.org/sugar-toolkit/mainline/commit/9010760a107e7661e75bec91f4d13da85d384052



### Checking POT for Sugar Toolkit (0.94) ##

From git.sugarlabs.org:sugar-toolkit/mainline
  bab9c63..9010760  sucrose-0.94 - origin/sucrose-0.94
 * [new tag] v0.94.1- v0.94.1
Updating bab9c63..9010760
Fast-forward
 configure.ac   |2 +-
 src/sugar/graphics/icon.py |   24 
 2 files changed, 13 insertions(+), 13 deletions(-)

I presume I should update the Glucose 0.94 language projects, but I
want to check in with the developers first.

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