[Sugar-devel] Moving On.

2010-12-14 Thread Sebastian Dziallas
The Short Version: As many of you might have noticed, my activities within
Sugar Labs have been fading lately. I'd like to take the only responsible
step and hand my responsibilities off.

The Long Version: I didn't expect to see myself writing this email. I'm
currently a student at Olin working really hard to make it through finals
and at the same time fighting RSI and dealing with other things (
http://sdziallas.com/blog/sebastian/2010/11/a-kid-in-the-candy-store.html).
But I also feel that I've been dragging this e-mail out way too long. I'm
sorry. Nevertheless, I'm proud of what we accomplished over the past years.

I have great memories from the initial release of Sugar on a Stick at
LinuxTag (
http://sdziallas.com/blog/sebastian/2009/06/strawberries-for-everyone-now.html)
and I still smile when I think of how we recovered from the ridiculous
unsustainability of the second release (
http://opensource.com/education/09/12/tasty-blueberry) and eventually even
made the third release as a team together (
http://sdziallas.com/blog/sebastian/2010/05/mirabelles-they-are-there.html).
Looking back, I found myself skimming old wiki pages and blog posts (
http://blog.melchua.com/2010/06/04/the-history-of-the-soas-mirabelle-release-learning-from-the-past/
).

I'm particularly thankful for the experiences I had and the people I met.
However, I feel that it's time to move on. I'll be unsubscribing from a
couple of mailing lists, but I'll continue to work on bridging open source
and education on various levels and I'm always open to direct email. Just a
ping away. Email this address.

For Sugar on a Stick, Peter Robinson has alreading been leading the effort
up to the latest Mango Lassi release of Sugar on a Stick and done an
incredible work over the past year, leaving me confident that everything was
taken care of when I had to focus on my studies (both in Germany and the
US). I know from personal experience that taking on this work isn't an easy
task and I don't want to assume that you're just going to continue doing it
infinitely. It is your call. But you've done a great job. Thanks, Peter!

Good luck Sugar Labs. You've come a long way. Don't lose track of your
mission.

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


Re: [Sugar-devel] [PATCH Read] adapt to evince 2.30 API (SL#1900)

2010-12-14 Thread Lucian Branescu
Thanks a lot for finding the time to do this, I've been much more busy
than anyone should be lately. It even took me 10 days to reply to this
:)

On 5 December 2010 12:41, Sascha Silbe  wrote:
> From: Lucian Branescu Mihaila 
>
> PDFs are working fine, EPub support is limited:
>  - search not working
>  - copy to clipboard disabled
>  - zoom disabled
>  - page next/prev disabled
>
> Tested-by: Sascha Silbe 
> [combined into a single patch, wrote patch description, minor style clean-ups]
> Signed-off-by: Sascha Silbe 
> ---
>  Based on my clean-up patches, so those need to be merged first.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ArchLinux packages for Sugar

2010-12-14 Thread Cilyan Olowen
Le 14 décembre 2010 22:49, Christophe Guéret  a écrit :
> Hi,
>
> I just updated sugar and sugar-datastore. Now they both compile and run on
> my desktop (test I did not do before...). Please let me know if they work
> for you as well :)
>
> Christophe
>
>
> On 12/13/2010 05:28 PM, Bastien wrote:
>>
>> Hi Christophe,
>>
>> Christophe Guéret  writes:
>>
>>> The sugar packages for ArchLinux were orphans and outdated.
>>> I just adopted and updated a bunch of them:
>>> http://aur.archlinux.org/packages.php?SeB=m&K=tolgam
>>
>> Fantastic!
>>
>>> If you are an Arch user, please have a look at them and let me know if
>>> they work for you.
>>
>> I'm an Arch user :)
>>
>> I did install this:
>>
>> ~$ yaourt -S sugar
>> ~$ yaourt -S sugar-base
>> ~$ yaourt -S sugar-artwork
>> ~$ yaourt -S sugar-toolkit
>> ~$ yaourt -S sugar-datastore
>> ~$ yaourt -S sugar-presence-service
>>
>> I then tried to add sugar-session to my .xinitrc and run startx from a
>> tty console.
>>
>> No luck.
>>
>> I had an "invalid syntax" error (line 26 in sugar-session).  I have both
>> python 2.7 and 3.1 on my machine.  I s/python/python2 in the first line
>> of sugar-session to get rid of this error, but I run in another one: no
>> module hippo found (I first thought it was related to hippo-canvas so
>> installed this but I guess I'm wrong here.)
>>
>> My ArchLinux is up to date.
>>
>> Is there more logs I can give you?  Any step-by-step install of Sugar on
>> ArchLinux somewhere?
>>
>> I would *really* run Sugar natively on ArchLinux, that'd be awesome.
>>
>> Thanks!
>>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>

Hello Christophe,

The best way for me was always to check all the imports in the python
file. That is quite annoying and long but I unfortunately never found
something accurate enough to be sure not to miss one package. Once I
listed everythings with grep "import" *.py, I wrote the following
script to help me: http://aur.pastebin.com/uEfMNZs8

It's not 100%, but it helps.

Best luck!

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


Re: [Sugar-devel] [PATCH sugar v6] Show busy cursor during session shutdown

2010-12-14 Thread James Cameron
On Tue, Dec 14, 2010 at 07:22:29PM +, Sascha Silbe wrote:
> Show a busy cursor when shutdown, logout, or reboot options are
> selected.  Defer the selected action to an idle task so that the cursor
> change is flushed to the display.
> 
> Co-Authored-By: James Cameron 
> Co-Authored-By: Aleksey Lim 
> Co-Authored-By: Anurag Chowdhury 
> Signed-off-by: Sascha Silbe 

Reviewed-by: James Cameron 

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] ArchLinux packages for Sugar

2010-12-14 Thread Christophe Guéret

Hi,

I just updated sugar and sugar-datastore. Now they both compile and run 
on my desktop (test I did not do before...). Please let me know if they 
work for you as well :)


Christophe


On 12/13/2010 05:28 PM, Bastien wrote:

Hi Christophe,

Christophe Guéret  writes:


The sugar packages for ArchLinux were orphans and outdated.
I just adopted and updated a bunch of them:
http://aur.archlinux.org/packages.php?SeB=m&K=tolgam

Fantastic!


If you are an Arch user, please have a look at them and let me know if
they work for you.

I'm an Arch user :)

I did install this:

~$ yaourt -S sugar
~$ yaourt -S sugar-base
~$ yaourt -S sugar-artwork
~$ yaourt -S sugar-toolkit
~$ yaourt -S sugar-datastore
~$ yaourt -S sugar-presence-service

I then tried to add sugar-session to my .xinitrc and run startx from a
tty console.

No luck.

I had an "invalid syntax" error (line 26 in sugar-session).  I have both
python 2.7 and 3.1 on my machine.  I s/python/python2 in the first line
of sugar-session to get rid of this error, but I run in another one: no
module hippo found (I first thought it was related to hippo-canvas so
installed this but I guess I'm wrong here.)

My ArchLinux is up to date.

Is there more logs I can give you?  Any step-by-step install of Sugar on
ArchLinux somewhere?

I would *really* run Sugar natively on ArchLinux, that'd be awesome.

Thanks!



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


Re: [Sugar-devel] Fwd: Problem developing app

2010-12-14 Thread Aleksey Lim
On Tue, Dec 14, 2010 at 01:59:43PM -0200, Rodrigo Pérez Fulloni wrote:
> I'm trying my project in a XO-1. I've uploaded a file with a bad import, now
> it's fixed, excuses. It should work now (only from command line,
> sugar-launch hMouse).

I tried fresh git clone on XO-1 on sugar-0.84 and it worked fine from
sugar shell (not only from command line).

I also mentioned that your MANIFEST file is outdated (it doesn't have
lib/ dir, at least), ./setup command complains about that. Just remove
MANIFEST file and relaunch `./setup dist_xo` to create .xo file with
entirely activity bundled. I launched activity from .xo file on my XO-1.

> What I will do tomorrow will be remove all the unnecessary things, all the
> math, all the hardware interaction and left only the essential so we could
> find easily the problem (I hope).
> 
> Thanks for the help
> --
> Rodrigo Pérez Fulloni

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


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


Re: [Sugar-devel] [PATCH] make 'setup.py genpot' produce a pot without a full path in filenames #2508

2010-12-14 Thread Sascha Silbe
Excerpts from Simon Schampijer's message of Mon Nov 29 13:21:03 +0100 2010:

[src/sugar/activity/bundlebuilder.py]
> -python_files.append(os.path.join(root, file_name))
> +relpath = os.path.relpath(os.path.join(root, file_name),
> +  config.source_dir)
> +python_files.append(relpath)

Tested-By: Sascha Silbe 

I had to apply the patch manually. Please use git send-email in the
future to avoid malformed patches.

How about "file_path" instead of "relpath"? Or at least "rel_path"?

Reviewed-By: Sascha Silbe 

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


[Sugar-devel] [PATCH sugar v6] Show busy cursor during session shutdown

2010-12-14 Thread Sascha Silbe
Show a busy cursor when shutdown, logout, or reboot options are
selected.  Defer the selected action to an idle task so that the cursor
change is flushed to the display.

Co-Authored-By: James Cameron 
Co-Authored-By: Aleksey Lim 
Co-Authored-By: Anurag Chowdhury 
Signed-off-by: Sascha Silbe 
---
 v5->v6: move cursor manipulation to jarabe.desktop.homewindow, ensure that
 cursor gets reset if shutdown is aborted (Keep Error)

 I still don't like the cross-call from BuddyMenu to HomeWindow (and Python
 shares my dislike - try to use "from jarabe.desktop import homewindow"
 instead of "import jarabe.desktop.homewindow" to see what I mean).
 But at least it's explicit API now instead of BuddyMenu manipulating
 HomeWindow's cursor behind its back.

 src/jarabe/desktop/homewindow.py |   14 ++
 src/jarabe/view/buddymenu.py |   14 --
 2 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/src/jarabe/desktop/homewindow.py b/src/jarabe/desktop/homewindow.py
index 945a9c1..07deff7 100644
--- a/src/jarabe/desktop/homewindow.py
+++ b/src/jarabe/desktop/homewindow.py
@@ -16,6 +16,7 @@

 import logging

+import gobject
 import gtk

 from sugar.graphics import style
@@ -187,6 +188,19 @@ class HomeWindow(gtk.Window):
 def get_home_box(self):
 return self._home_box

+def busy_during_delayed_action(self, action):
+"""Use busy cursor during execution of action, scheduled via idle_add.
+"""
+def action_wrapper(old_cursor):
+try:
+action()
+finally:
+self.get_window().set_cursor(old_cursor)
+
+old_cursor = self.get_window().get_cursor()
+self.get_window().set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
+gobject.idle_add(action_wrapper, old_cursor)
+

 def get_instance():
 global _instance
diff --git a/src/jarabe/view/buddymenu.py b/src/jarabe/view/buddymenu.py
index 61b10e9..f824e70 100644
--- a/src/jarabe/view/buddymenu.py
+++ b/src/jarabe/view/buddymenu.py
@@ -30,6 +30,7 @@ from jarabe.model import shell
 from jarabe.model import friends
 from jarabe.model.session import get_session_manager
 from jarabe.controlpanel.gui import ControlPanel
+import jarabe.desktop.homewindow


 class BuddyMenu(Palette):
@@ -104,17 +105,18 @@ class BuddyMenu(Palette):
 self.menu.append(item)
 item.show()

+def _quit(self, action):
+home_window = jarabe.desktop.homewindow.get_instance()
+home_window.busy_during_delayed_action(action)
+
 def __logout_activate_cb(self, menu_item):
-session_manager = get_session_manager()
-session_manager.logout()
+self._quit(get_session_manager().logout)

 def __reboot_activate_cb(self, menu_item):
-session_manager = get_session_manager()
-session_manager.reboot()
+self._quit(get_session_manager().reboot)

 def __shutdown_activate_cb(self, menu_item):
-session_manager = get_session_manager()
-session_manager.shutdown()
+self._quit(get_session_manager().shutdown)

 def __controlpanel_activate_cb(self, menu_item):
 panel = ControlPanel()
--
1.7.2.3

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


Re: [Sugar-devel] [PATCH] Fix typo in activities downgrade message

2010-12-14 Thread Sascha Silbe
Excerpts from Martin Abente's message of Tue Dec 14 13:57:26 +0100 2010:

[src/jarabe/journal/misc.py]
> -alert.props.msg = _('Do you want to downgrade to version %s\
> -') % (bundle.get_activity_version())
> +alert.props.msg = _('Do you want to downgrade to version %s') % \
> +bundle.get_activity_version()

Reviewed-By: Sascha Silbe 

Please mention the module name ("sugar" in this case) in the subject
prefix for future patches. See the Code Review guidelines [1] in the
wiki for how you can tell git to do that automatically.

Sascha

[1] http://wiki.sugarlabs.org/go/Development_Team/Code_Review
-- 
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] Fwd: Problem developing app

2010-12-14 Thread Rodrigo Pérez Fulloni
I'm trying my project in a XO-1. I've uploaded a file with a bad import, now
it's fixed, excuses. It should work now (only from command line,
sugar-launch hMouse).
What I will do tomorrow will be remove all the unnecessary things, all the
math, all the hardware interaction and left only the essential so we could
find easily the problem (I hope).

Thanks for the help
--
Rodrigo Pérez Fulloni
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] get list of titles in the datastore?

2010-12-14 Thread Erik Blankinship
>
>
> > >
> > > This is a little unexpected.  What is the expected use case for this
> > > implementation?
> >
> > 'query' is intended for arbitrary text search
>
> I mean you can use search operators
> http://xapian.org/docs/queryparser.html
>
>

Got it, thank you.  Those operators are very helpful to refine searches.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [PATCH] Fix typo in activities downgrade message

2010-12-14 Thread Martin Abente
---
 src/jarabe/journal/misc.py |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/jarabe/journal/misc.py b/src/jarabe/journal/misc.py
index b01c671..1431d5f 100644
--- a/src/jarabe/journal/misc.py
+++ b/src/jarabe/journal/misc.py
@@ -271,8 +271,8 @@ def launch(bundle, activity_id=None, object_id=None, 
uri=None, color=None,
 def _downgrade_option_alert(bundle):
 alert = ConfirmationAlert()
 alert.props.title = _('Older Version Of %s Activity') % (bundle.get_name())
-alert.props.msg = _('Do you want to downgrade to version %s\
-') % (bundle.get_activity_version())
+alert.props.msg = _('Do you want to downgrade to version %s') % \
+bundle.get_activity_version()
 alert.connect('response', _downgrade_alert_response_cb, bundle)
 journalwindow.get_journal_window().add_alert(alert)
 alert.show()
-- 
1.7.1

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


Re: [Sugar-devel] Update on recent outreach activities in Universities

2010-12-14 Thread Aleksey Lim
On Mon, Dec 13, 2010 at 06:16:45PM +0530, Arjun Sarwal wrote:
> Hi all,
> 
> Anish and I have recently been putting in efforts to reach out to University
> Students here in New Delhi in an effort to interest more and more talented
> programmers to join Sugar development efforts.
> 
> We observed that there is interest and enthusiasm for students to contribute
> to such projects, when they get to know about them, however there is less
> awareness. After the initial outreach/presentation, we have coached them on
> some of the basics eg getting Fedora up and running, installing
> sugar-jhbuild (some are still facing problems), IRC, asking questions on the
> mailing lists etc

imho, more useful way for newcomers, is staring from activities (and
install sugar core from native packages, in many cases there is no huge need
in recent sugar). Since jhbuild is needed only for coding core modules (but
there are another ways for that as well) that are 1% of entirely sugar.
Moreover jhbuild requires low level knowledge (at the same time, having this
knowledge, people can choose what is more convenient for them, jhbuild or
something else).

> The first batch of 5-7 students who've been interested regularly, will soon
> be joining the list and might be asking questions, as well as looking for
> projects to contribute to :)
> 
> -Arjun
> 
> 
> -- 
> Arjun Sarwal
> ar...@laptop.org
> a...@sugarlabs.org

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


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


Re: [Sugar-devel] get list of titles in the datastore?

2010-12-14 Thread Aleksey Lim
On Tue, Dec 14, 2010 at 11:04:33AM +, Aleksey Lim wrote:
> On Mon, Dec 13, 2010 at 05:29:04PM -0500, Erik Blankinship wrote:
> > As a note..  the function find with a { "query":my_search_string } tokenizes
> > both my_search_string and the datastore entries on white space.  The
> > function returns true on any combination.
> > 
> > Journal Entries
> > Goo Bar
> > Goo Bee
> > 
> > datastore_entries, num_entries = datastore.find( {'query':'goo pretzel'} )
> > print( num_entries )
> > 2
> > 
> > This is a little unexpected.  What is the expected use case for this
> > implementation?
> 
> 'query' is intended for arbitrary text search

I mean you can use search operators
http://xapian.org/docs/queryparser.html

> (within all journal
> metadata items where it makes sense), precise search works only for terms
> that were already mentioned here (uid, activity, etc.).
> 
> > 
> > 
> > 
> > On Sat, Dec 4, 2010 at 6:53 AM, Bert Freudenberg 
> > wrote:
> > 
> > > This limitation was already documented here:
> > >
> > >
> > > http://wiki.sugarlabs.org/go/Development_Team/Low-level_Activity_API#Querying
> > >
> > > To my knowledge that page is reasonably up-to-date. Please correct it if
> > > I'm wrong ;)
> > >
> > > - Bert -
> > >
> > > On 04.12.2010, at 04:03, Erik Blankinship wrote:
> > >
> > > from #sugar...
> > >
> > > *alsroot *: try datastore.find({'query':'coolthings'})
> > >
> > > *alsroot*: for now, only uid, activity, activity_id, mime_type and keep
> > > search term are supported
> > >
> > > On Fri, Dec 3, 2010 at 4:49 PM, Erik Blankinship 
> > > wrote:
> > >
> > >> I tried using this bit of code to get a list of items in the journal by
> > >> their title, but it is returning everything in the journal!
> > >>
> > >> http://bit.ly/fjgpJr
> > >>
> > >> ds_objects, num_objects = datastore.find({'title':'file1.txt'})
> > >>
> > >>
> > >> Any suggestions?
> > >>
> > >>
> > > ___
> > > 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 mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> 
> -- 
> Aleksey

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


Re: [Sugar-devel] get list of titles in the datastore?

2010-12-14 Thread Aleksey Lim
On Mon, Dec 13, 2010 at 05:29:04PM -0500, Erik Blankinship wrote:
> As a note..  the function find with a { "query":my_search_string } tokenizes
> both my_search_string and the datastore entries on white space.  The
> function returns true on any combination.
> 
> Journal Entries
> Goo Bar
> Goo Bee
> 
> datastore_entries, num_entries = datastore.find( {'query':'goo pretzel'} )
> print( num_entries )
> 2
> 
> This is a little unexpected.  What is the expected use case for this
> implementation?

'query' is intended for arbitrary text search (within all journal
metadata items where it makes sense), precise search works only for terms
that were already mentioned here (uid, activity, etc.).

> 
> 
> 
> On Sat, Dec 4, 2010 at 6:53 AM, Bert Freudenberg wrote:
> 
> > This limitation was already documented here:
> >
> >
> > http://wiki.sugarlabs.org/go/Development_Team/Low-level_Activity_API#Querying
> >
> > To my knowledge that page is reasonably up-to-date. Please correct it if
> > I'm wrong ;)
> >
> > - Bert -
> >
> > On 04.12.2010, at 04:03, Erik Blankinship wrote:
> >
> > from #sugar...
> >
> > *alsroot *: try datastore.find({'query':'coolthings'})
> >
> > *alsroot*: for now, only uid, activity, activity_id, mime_type and keep
> > search term are supported
> >
> > On Fri, Dec 3, 2010 at 4:49 PM, Erik Blankinship wrote:
> >
> >> I tried using this bit of code to get a list of items in the journal by
> >> their title, but it is returning everything in the journal!
> >>
> >> http://bit.ly/fjgpJr
> >>
> >> ds_objects, num_objects = datastore.find({'title':'file1.txt'})
> >>
> >>
> >> Any suggestions?
> >>
> >>
> > ___
> > 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 mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


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


Re: [Sugar-devel] Fwd: Problem developing app

2010-12-14 Thread Aleksey Lim
On Mon, Dec 13, 2010 at 11:33:54AM -0200, Rodrigo Pérez Fulloni wrote:
> Hi, this is my first activity and I made it following your manual (it's
> excellent), and I can't find something different in my activity. I've tried
> changing the location as you said, but nothing. Now I tried eliminating
> every import, reducing the activity to minimum, only the GUI and the problem
> persist! So I think the imports could be discarded as possible cause.
> I'm going crazy!!! I don't know what is happening.
> Any idea?

btw I can start your activity (from git) on sugar-0.84

> Thanks
> --
> Rodrigo Pérez Fulloni
> 
> 
> On Wed, Dec 8, 2010 at 5:41 PM, James Simmons  wrote:
> 
> > Rodrigo,
> >
> > If you look at my book example on using PyGame you'll see that I
> > recommend copying the sugargame directory into the root directory of
> > the Activity:
> >
> > http://en.flossmanuals.net/ActivitiesGuideSugar/ActivitiesUsingPyGame
> >
> > You are also doing this.  That's why your import for sugargame is
> > working, not because you're adding anything to the Python path.  You
> > might try the same thing with your version of pygame.  I don't know if
> > that will fix anything, but it's worth trying.  Have a look at my
> > simple pygame example too, and see how it differs from yours.
> >
> > James Simmons
> >
> >

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


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