Re: [Sugar-devel] New Activity Proposal

2020-04-22 Thread Abhishek Tanwar
Sugarizer doesn't have mancala as of now . I proposed to develop mancala
for sugarizer but you said it would be good if I can develop the activity
to work on both sugarizer and sugar . (You can check the very first message
in this thread.)
Mancala would be using datastore and presence on sugarizer as per my
planning.

On Thu, Apr 23, 2020 at 4:09 AM James Cameron  wrote:

> Thanks.  I don't think it matters which activities are used as
> reference, except that they should be as small as possible so that
> issues unrelated to the sugar-web API are not an obstacle, and yet
> large enough so that they use all relevant features of the API.
>
> I've not reviewed the Mancala activiy on Sugarizer, but if it does not
> fully use the datastore API it would not be suitable as a reference.
>
> We do have a Mancala activity in Python.
>
> On Thu, Apr 23, 2020 at 03:59:39AM +0530, Abhishek Tanwar wrote:
> > Oh sorry . I just realized after sending the last email where I was
> > missing something .
> > I have figured it out .
> >
> > Also moving ahead. For updating the sugar-web of sugarlabs what I plan
> is to do
> > it by taking an activity as a reference.
> > We can start by developing the mancala activity using the sugar-web of
> > sugarizer and then test it with the sugar-web of sugarlabs on
> sugar-desktop to
> > get the same functionality of sugar-web on both sugarizer and sugar
> desktop .
> >
> > What do you think?
> >
> > Thank You
> >
> > On Thu, Apr 23, 2020 at 3:46 AM James Cameron <[1]qu...@laptop.org>
> wrote:
> >
> > Sorry, I don't understand what you are missing.  Why can't you find a
> > way to run this activity using sugar-web of sugarlabs?
> >
> > On Thu, Apr 23, 2020 at 03:43:15AM +0530, Abhishek Tanwar wrote:
> > > Hello ,
> > >
> > > I went through this [1][2]
> https://github.com/sugarlabs/sugar-docs/blob/
> > master/src/
> > > web-activity.md and successfully run the basic activity on sugar
> desktop
> > . But
> > > since the ActivityTemplate folder was copied from sugarizer
> repository ,
> > the
> > > activity ran using the sugar-web of sugarizer although the stop
> button in
> > the
> > > frame didn't work (I saw this issue github) .
> > >
> > > I am not able to find the way to run this activity using the
> sugar-web of
> > > sugarlabs so that I can find the error and compare two repositories
> > (sugar-web
> > > of sugarlabs with that of sugar-web of sugarizer).
> > > If you could help me to run the activity in [2]this tutorial using
> > sugar-web of
> > > sugarlabs.
> > >
> > > Thank You
> > >
> > > On Wed, Apr 22, 2020 at 7:24 AM James Cameron <[3][3]
> qu...@laptop.org>
> > wrote:
> > >
> > > You asked if the sugar-web repository of Sugar Labs should be
> the
> > same
> > > as that of Lionel, or the files inside Sugarizer.
> > >
> > > Yes, that would be ideal.  But it is not enough just to change
> the
> > > files.  The activities must use the files and must also work
> properly
> > > on Sugarizer and Sugar.
> > >
> > > You asked what the basis of testing an activity would be.  We
> have a
> > > checklist in our guide to contributing;
> > >
> > > [4][4]https://github.com/sugarlabs/sugar-docs/blob/master/src/
> > contributing.md#
> > > testing
> > >
> > > The environment for testing would be Sugarizer and Sugar.  If
> you
> > have
> > > not yet used and analysed these environments, please do so.
> > >
> > > An example of an activity being developed now which has been
> tested
> > in
> > > both Sugarizer and Sugar, despite not being finished;
> > > [5][5]https://github.com/llaske/sugarizer/pull/784
> > >
> > > Please also watch the repositories you mentioned, and review
> pull
> > > requests.
> > > [6][6]https://github.com/sugarlabs/sugar-docs/blob/master/src/
> > contributing.md#
> > > guide-for-reviewers
> > >
> > > On Tue, Apr 21, 2020 at 10:07:56PM +0530, Abhishek Tanwar
> wrote:
> > > > Hello,
> > > > Sorry for being away for some time from this topic as I was

Re: [Sugar-devel] New Activity Proposal

2020-04-22 Thread Abhishek Tanwar
Oh sorry . I just realized after sending the last email where I was
missing something .
I have figured it out .

Also moving ahead. For updating the sugar-web of sugarlabs what I plan is
to do it by taking an activity as a reference.
We can start by developing the mancala activity using the sugar-web of
sugarizer and then test it with the sugar-web of sugarlabs on sugar-desktop
to get the same functionality of sugar-web on both sugarizer and sugar
desktop .

What do you think?

Thank You

On Thu, Apr 23, 2020 at 3:46 AM James Cameron  wrote:

> Sorry, I don't understand what you are missing.  Why can't you find a
> way to run this activity using sugar-web of sugarlabs?
>
> On Thu, Apr 23, 2020 at 03:43:15AM +0530, Abhishek Tanwar wrote:
> > Hello ,
> >
> > I went through this [1]
> https://github.com/sugarlabs/sugar-docs/blob/master/src/
> > web-activity.md and successfully run the basic activity on sugar desktop
> . But
> > since the ActivityTemplate folder was copied from sugarizer repository ,
> the
> > activity ran using the sugar-web of sugarizer although the stop button
> in the
> > frame didn't work (I saw this issue github) .
> >
> > I am not able to find the way to run this activity using the sugar-web of
> > sugarlabs so that I can find the error and compare two
> repositories(sugar-web
> > of sugarlabs with that of sugar-web of sugarizer).
> > If you could help me to run the activity in [2]this tutorial using
> sugar-web of
> > sugarlabs.
> >
> > Thank You
> >
> > On Wed, Apr 22, 2020 at 7:24 AM James Cameron <[3]qu...@laptop.org>
> wrote:
> >
> > You asked if the sugar-web repository of Sugar Labs should be the
> same
> > as that of Lionel, or the files inside Sugarizer.
> >
> > Yes, that would be ideal.  But it is not enough just to change the
> > files.  The activities must use the files and must also work properly
> > on Sugarizer and Sugar.
> >
> > You asked what the basis of testing an activity would be.  We have a
> > checklist in our guide to contributing;
> >
> > [4]
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#
> > testing
> >
> > The environment for testing would be Sugarizer and Sugar.  If you
> have
> > not yet used and analysed these environments, please do so.
> >
> > An example of an activity being developed now which has been tested
> in
> > both Sugarizer and Sugar, despite not being finished;
> > [5]https://github.com/llaske/sugarizer/pull/784
> >
> > Please also watch the repositories you mentioned, and review pull
> > requests.
> > [6]
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#
> > guide-for-reviewers
> >
> > On Tue, Apr 21, 2020 at 10:07:56PM +0530, Abhishek Tanwar wrote:
> > > Hello,
> > > Sorry for being away for some time from this topic as I was
> working on an
> > > activity for sugarizer . Now I have the time to dedicate to this
> task.
> > >
> > > I am still not able to get a crystal clear image of the task. As
> > originally I
> > > proposed an activity for sugarizer and James suggested that I
> would be
> > great if
> > > the activity could work on both sugar and sugarizer which is
> actually
> > really
> > > good.
> > >
> > > I have two understanding of this task.
> > > First one : Sugar-web repository of sugar labs is outdated and
> need to to
> > > update to the level of sugar-web of sugarizer . OR Is it to update
> the
> > > sugar-web of sugarizer to make it compatible with both sugar and
> > sugarizer
> > > Firstly,
> > > I can find two sugar-web repositories one of sugar labs
> ([1][7]https://
> > github.com/
> > > sugarlabs/sugar-web) and one of sugarizer([2][8]
> https://github.com/llaske
> > /
> > > sugar-web) . What I understand is to bring the sugar web
> repository of
> > sugar
> > > labs to the save level as that of sugarizer . Am I correct?
> > >
> > > Secondly, here [3][9]
> https://github.com/sugarlabs/sugar-docs/blob/master/
> > src/
> > > web-activity.md to run the basic activity of sugarizer on sugar
> (ubuntu)
> > it is
> > > using sugar-web of sugarizer ,which I think should not be the case
> . We
> > should
> > > be running it by updating the sugar-web of sugarlabs re

Re: [Sugar-devel] New Activity Proposal

2020-04-22 Thread Abhishek Tanwar
Hello ,

I went through this
https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md and
successfully run the basic activity on sugar desktop . But since the
*ActivityTemplate
*folder was copied from sugarizer repository , the activity ran using the
sugar-web of sugarizer although the stop button in the frame didn't work (I
saw this issue github) .

I am not able to find the way to run this activity using the sugar-web of
sugarlabs so that I can find the error and compare two
repositories(sugar-web of sugarlabs with that of sugar-web of sugarizer).
If you could help me to run the activity in this
<https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md>
tutorial
using sugar-web of sugarlabs.

Thank You

On Wed, Apr 22, 2020 at 7:24 AM James Cameron  wrote:

> You asked if the sugar-web repository of Sugar Labs should be the same
> as that of Lionel, or the files inside Sugarizer.
>
> Yes, that would be ideal.  But it is not enough just to change the
> files.  The activities must use the files and must also work properly
> on Sugarizer and Sugar.
>
> You asked what the basis of testing an activity would be.  We have a
> checklist in our guide to contributing;
>
>
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#testing
>
> The environment for testing would be Sugarizer and Sugar.  If you have
> not yet used and analysed these environments, please do so.
>
> An example of an activity being developed now which has been tested in
> both Sugarizer and Sugar, despite not being finished;
> https://github.com/llaske/sugarizer/pull/784
>
> Please also watch the repositories you mentioned, and review pull
> requests.
>
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md#guide-for-reviewers
>
> On Tue, Apr 21, 2020 at 10:07:56PM +0530, Abhishek Tanwar wrote:
> > Hello,
> > Sorry for being away for some time from this topic as I was working on an
> > activity for sugarizer . Now I have the time to dedicate to this task.
> >
> > I am still not able to get a crystal clear image of the task. As
> originally I
> > proposed an activity for sugarizer and James suggested that I would be
> great if
> > the activity could work on both sugar and sugarizer which is actually
> really
> > good.
> >
> > I have two understanding of this task.
> > First one : Sugar-web repository of sugar labs is outdated and need to to
> > update to the level of sugar-web of sugarizer . OR Is it to update the
> > sugar-web of sugarizer to make it compatible with both sugar and
> sugarizer
> > Firstly,
> > I can find two sugar-web repositories one of sugar labs ([1]
> https://github.com/
> > sugarlabs/sugar-web) and one of sugarizer([2]https://github.com/llaske/
> > sugar-web) . What I understand is to bring the sugar web repository of
> sugar
> > labs to the save level as that of sugarizer . Am I correct?
> >
> > Secondly, here [3]
> https://github.com/sugarlabs/sugar-docs/blob/master/src/
> > web-activity.md to run the basic activity of sugarizer on sugar (ubuntu)
> it is
> > using sugar-web of sugarizer ,which I think should not be the case . We
> should
> > be running it by updating the sugar-web of sugarlabs repository if I am
> > not mistaken.
> >
> > Lastly, what would be the basis to update the sugar-web of sugar labs I
> mean
> > what would be the basis of test?
> >
> > Thank You
> > On Tue, Apr 7, 2020 at 9:30 PM <[4]
> sugar-devel-requ...@lists.sugarlabs.org>
> > wrote:
> >
> > Send Sugar-devel mailing list submissions to
> > [5]sugar-devel@lists.sugarlabs.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > [6]http://lists.sugarlabs.org/listinfo/sugar-devel
> > or, via email, send a message with subject or body 'help' to
> > [7]sugar-devel-requ...@lists.sugarlabs.org
> >
> > You can reach the person managing the list at
> > [8]sugar-devel-ow...@lists.sugarlabs.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Sugar-devel digest..."
> >
> > Today's Topics:
> >
> >1. Re: New Activity Proposal (Lionel Laské)
> >
> >
>  --
> >
> > Message: 1
> > Date: Tue, 7 Apr 2020 17:46:44 +0200
> > From: Lionel Laské <[9]lionel.la...@gmail.com>
> > To: Sugar-dev Devel <[10]sugar-devel@lists.sugarlabs.org>
> > Subject: Re: [Sugar-devel] New Activity Pro

Re: [Sugar-devel] New Activity Proposal

2020-04-21 Thread Abhishek Tanwar
Hello,
Sorry for being away for some time from this topic as I was working on an
activity for sugarizer . Now I have the time to dedicate to this task.

I am still not able to get a crystal clear image of the task. As
originally I proposed an activity for sugarizer and James suggested that I
would be great if the activity could work on both sugar and sugarizer which
is actually really good.

I have two understanding of this task.
First one : Sugar-web repository of sugar labs is outdated and need to to
update to the level of sugar-web of sugarizer . OR Is it to update the
sugar-web of sugarizer to make it compatible with both sugar and sugarizer
Firstly,
I can find two sugar-web repositories one of sugar labs (
https://github.com/sugarlabs/sugar-web) and one of sugarizer(
https://github.com/llaske/sugar-web) . What I understand is to bring the
sugar web repository of sugar labs to the save level as that of sugarizer .
Am I correct?

Secondly, here
https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md to
run the basic activity of sugarizer on sugar (ubuntu) it is using sugar-web
of sugarizer ,which I think should not be the case . We should be running
it by updating the sugar-web of sugarlabs repository if I am not mistaken.

Lastly, what would be the basis to update the sugar-web of sugar labs I
mean what would be the basis of test?


Thank You
On Tue, Apr 7, 2020 at 9:30 PM 
wrote:

> Send Sugar-devel mailing list submissions to
> sugar-devel@lists.sugarlabs.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.sugarlabs.org/listinfo/sugar-devel
> or, via email, send a message with subject or body 'help' to
> sugar-devel-requ...@lists.sugarlabs.org
>
> You can reach the person managing the list at
> sugar-devel-ow...@lists.sugarlabs.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Sugar-devel digest..."
>
>
> Today's Topics:
>
>1. Re: New Activity Proposal (Lionel Laské)
>
>
> --
>
> Message: 1
> Date: Tue, 7 Apr 2020 17:46:44 +0200
> From: Lionel Laské 
> To: Sugar-dev Devel 
> Subject: Re: [Sugar-devel] New Activity Proposal
> Message-ID:
>  fs...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Just few elements to give you some context.
>
> Sugarizer was designed initially to host Sugar activities written with
> Sugar-Web. A brief history of Sugarizer is here:
> https://github.com/llaske/sugarizer/blob/dev/docs/credits.md
> So the Sugar-Web implementation in Sugarizer was compatible with Sugar.
> It's why today, the activity template to write a new Sugarizer activity (
> https://github.com/llaske/sugarizer/tree/dev/activities/ActivityTemplate)
> use in Sugarizer Development Tutorial, still include Python stuff.
> Just zip the content of your Sugarizer activities into a .xo file (explain
> here:
>
> https://github.com/sugarlabs/sugar-docs/blob/master/src/web-activity.md#ready-to-release
> )
> and you should be able to install it on Sugar and run it. At least,
> theoretically.
>
> Unfortunately the compatibility between Sugarizer and Sugar-Web was lost
> during the development of Sugarizer. The Sugar-Web implementation in
> Sugarizer was never merged in Sugar-Web, Sugarizer added new features
> (presence, Journal chooser, ...) not directly compatible with Sugar and no
> one worked to maintain the compatibility.
>
> BTW it will be interesting to retrieve this compatibility, even if some
> features are not directly mappable, at least to allow a Sugarizer activity
> to be launched on Sugar and run basic features of the activity.
>
> It's not necessary a very complex task but it require rigor and patience.
> The thread here: https://github.com/sugarlabs/sugar-web/pull/133 explain
> the process if you're volunteer to work on this task. Of course, both
> people from the Sugar side and from the Sugarizer side on this list will be
> able to help you.
>
> Regards.
>
>   Lionel.
>
>
>
> Le mar. 7 avr. 2020 à 15:56,  a
> écrit :
>
> > Date: Tue, 7 Apr 2020 13:14:28 +0530
> > From: Abhishek Tanwar 
> > To: James Cameron 
> > Cc: Sugar-dev Devel 
> > Subject: Re: [Sugar-devel] New Activity Proposal
> > Message-ID:
> > <
> > calhjuuh2vowxmwb4nmn9r8fuwofaassksuzfm22zge6kxha...@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Thanks for the clarification James.
> > What I am not able to understand is that if I make an activity by
> following
> > this https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md ,
> 

Re: [Sugar-devel] New Activity Proposal

2020-04-07 Thread Abhishek Tanwar
Thanks for the clarification James.
What I am not able to understand is that if I make an activity by following
this https://github.com/llaske/sugarizer/blob/master/docs/tutorial.md , how
will the activity work in both sugarizer as well as in sugar .
I have developed activities for sugarizer earlier and have decent
experience in it but I am not sure if I am correctly understanding what you
are looking for.
I have gone through the discussions in
https://github.com/sugarlabs/sugar-web/issues/127 and
https://github.com/sugarlabs/sugar-web/pull/133 . Sugarizer activities use
the sugar-web library , I can't find the relevant documentation for
developing activities for both sugar and sugarizer, if you could help me
with some documentation that would be great.

Maybe I am not understanding what you intend to tell. Please let me know
what direction to head in.

Thank You

On Tue, Apr 7, 2020 at 3:42 AM James Cameron  wrote:

> Yes.  Sugar is a Linux environment that can run any language.
> Sugarizer is a JavaScript environment inside browser.  An activity can
> be written to run in both Sugar and Sugarizer.  The Sugar Web library
> facilitates that.  You will have seen the post here earlier about work
> on Sugar Web.
>
> On Tue, Apr 07, 2020 at 03:19:00AM +0530, Abhishek Tanwar wrote:
> > Hello ,
> > I did not quite understand everything .
> > By saying "include sugar as a platform for sugarizer activity" I did not
> > understand what you are trying to say .
> > Are you saying to make mancala for both sugar and sugarizer?
> >
> > Thank you
> >
> > On Tue, 7 Apr, 2020, 3:10 am James Cameron, <[1]qu...@laptop.org> wrote:
> >
> > We have a Sugar activity for Mancala, written in Python.
> >
> > [2]https://github.com/sugarlabs/mancala-activity
> >
> > License is GPLv3+, but Peter Hewitt has delegated an authority to me
> > to relicense his activities as we require.  Sugarizer activities use
> a
> > different license in order to maximise distribution.
> >
> > Please do include Sugar as a platform for your JavaScript activity.
> >
> > On Tue, Apr 07, 2020 at 02:11:21AM +0530, Abhishek Tanwar wrote:
> > > Hello,
> > >
> > > I have been searching for games that could help the children to
> develop
> > their
> > > brains and work in teams as well to incorporate the values of a
> good team
> > > player.
> > >
> > > Mancala(or Mangala) is one such game that I came
> across. [1]https://
> > > [3]en.wikipedia.org/wiki/Mancala
> > > [2][4]https://mancala.playdrift.com/
> > > Mancala on sugarizer can be played between computer vs player ,
> player vs
> > > player (offline ),player vs player (online using presence).
> > > I think this could be a good addition to sugarizer for children of
> age 6
> > and
> > > above.
> > > I want to make this game for sugarizer and would like the
> community to
> > share
> > > feedback on this if it would be good addition.
> > >
> > > Thank You
> > >
> > > References:
> > >
> > > [1] [5]https://en.wikipedia.org/wiki/Mancala
> > > [2] [6]https://mancala.playdrift.com/
> >
> > > ___
> > > Sugar-devel mailing list
> > > [7]Sugar-devel@lists.sugarlabs.org
> > > [8]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > --
> > James Cameron
> > [9]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] mailto:qu...@laptop.org
> > [2] https://github.com/sugarlabs/mancala-activity
> > [3] http://en.wikipedia.org/wiki/Mancala
> > [4] https://mancala.playdrift.com/
> > [5] https://en.wikipedia.org/wiki/Mancala
> > [6] https://mancala.playdrift.com/
> > [7] mailto:Sugar-devel@lists.sugarlabs.org
> > [8] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [9] http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] New Activity Proposal

2020-04-06 Thread Abhishek Tanwar
Hello ,
I did not quite understand everything .
By saying "include sugar as a platform for sugarizer activity" I did not
understand what you are trying to say .
Are you saying to make mancala for both sugar and sugarizer?

Thank you

On Tue, 7 Apr, 2020, 3:10 am James Cameron,  wrote:

> We have a Sugar activity for Mancala, written in Python.
>
> https://github.com/sugarlabs/mancala-activity
>
> License is GPLv3+, but Peter Hewitt has delegated an authority to me
> to relicense his activities as we require.  Sugarizer activities use a
> different license in order to maximise distribution.
>
> Please do include Sugar as a platform for your JavaScript activity.
>
> On Tue, Apr 07, 2020 at 02:11:21AM +0530, Abhishek Tanwar wrote:
> > Hello,
> >
> > I have been searching for games that could help the children to develop
> their
> > brains and work in teams as well to incorporate the values of a good team
> > player.
> >
> > Mancala(or Mangala) is one such game that I came across. [1]https://
> > en.wikipedia.org/wiki/Mancala
> > [2]https://mancala.playdrift.com/
> > Mancala on sugarizer can be played between computer vs player , player vs
> > player (offline ),player vs player (online using presence).
> > I think this could be a good addition to sugarizer for children of age 6
> and
> > above.
> > I want to make this game for sugarizer and would like the community to
> share
> > feedback on this if it would be good addition.
> >
> > Thank You
> >
> > References:
> >
> > [1] https://en.wikipedia.org/wiki/Mancala
> > [2] https://mancala.playdrift.com/
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] New Activity Proposal

2020-04-06 Thread Abhishek Tanwar
Hello,

I have been searching for games that could help the children to develop
their brains and work in teams as well to incorporate the values of a good
team player.

*Mancala*(or Mangala) is one such game that I came across.
https://en.wikipedia.org/wiki/Mancala
https://mancala.playdrift.com/
Mancala on sugarizer can be played between computer vs player , player vs
player (offline ),player vs player (online using presence).
I think this could be a good addition to sugarizer for children of age 6
and above.
I want to make this game for sugarizer and would like the community to
share feedback on this if it would be good addition.

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


[Sugar-devel] New activity proposal

2020-03-30 Thread Abhishek Tanwar
Hello everyone,

How would it be to develop an activity for both sugar and sugarizer which
can help the students to learn different mathematical tricks to improve
their calculation speed?


For example:
Let us find (x5)²
Step 1: Think of the number next to x.
Step 2: x * number next to x
Step 3: Put 25 at the end of the answer.
Answer = Step 2 (concat) 25

Find (45)² =?
Step 1: 45 * 45 = ...25
Step 2: 4*(4+1) = 4*5 = 20 [here number next to 4 is 5(not adjacent but
after 4)]

Hence the answer will be 2025

I would appreciate your feedback.
Thank you
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Proposal Review Request : Sugarizer Game Activity Pack

2020-03-29 Thread Abhishek Tanwar
Hello,
I have shared my proposal on the summer of code website dashboard and also
with Sugar Labs.
I would like the community to review my proposal and provide me the
feedback and suggest if any changes are to be made.
I have also attached the proposal pdf file in this email.

Thank You

 SUGAR GAME ACTIVITY PACK PROPOSAL (1).pdf

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


[Sugar-devel] PROPOSAL REVIEW[James Cameron,Lionel Laske]

2020-03-28 Thread Abhishek Tanwar
Hello
I am sharing the first draft of my proposal. I would like to request the
sugar labs community to please go through it and provide me with valuable
feedback. Also, please let me know if any changes are required.
Thank you


 SUGAR GAME ACTIVITY PACK PROPOSAL (1).pdf

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


[Sugar-devel] Proposal query

2020-03-25 Thread Abhishek Tanwar
In previous mail, James mentioned that sugar labs has received proposals
with status "final" and "draft shared" on the dashboard. How can I share my
proposal on the dashboard?

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


[Sugar-devel] sugarizer-server setup

2020-03-20 Thread Abhishek Tanwar
I am trying to set up a sugarizer server on my local machine as I want to
add some functionalities to it. But for some reason I am not able to launch
the dashboard
I have executed these commands
https://github.com/llaske/sugarizer-server#running-sugarizer-server
did
- 'npm install'
- 'node sugarizer.js'
when I run node sugarizer.js is keep giving output on the terminal that
"Waiting for DB... (MongoServerSelectionError)"

If anyone could help me setup and run the sugarizer server dashboard
locally.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] GCompris Tangram 13 does not start

2020-03-19 Thread Abhishek Tanwar
Yes, I have installed gcompris 15.02-1 . But the same error still persists.

On Fri, Mar 20, 2020 at 12:12 AM Chihurumnaya Ibiam <
ibiamchihurumn...@sugarlabs.org> wrote:

> Check to see if you have gcompris installed.
>
> On Thu, Mar 19, 2020, 6:46 PM Abhishek Tanwar 
> wrote:
>
>> I have downloaded the GCompris Tangram 13 from
>> http://activities.sugarlabs.org/en-US/sugar/addon/4186 . When I run the
>> activity from the journal it does not start.
>>
>> Error in log file :
>> bin/gcompris-activity --drag-mode=both --nolockcheck --sound --sugar
>> --sugarBundleId=net.gcompris.tangramActivity
>> --sugarActivityId=2416e71ae4cceb842f1cda8605aa0e67f8deb3d0
>> /home/geronimo/Activities/GComprisTangram.activity/.0sugar/implementations/sha1new=51e5f6f2ef3238b7cb0dd8f7c9ec89f256fd6d42/bin/gcompris.orig:
>> error while loading shared libraries: libORBit-2.so.0: cannot open shared
>> object file: No such file or directory
>> Exited with status 127, pid 1486 data (None, ', mode
>> 'w' at 0x7fd504169270>, '2416e71ae4cceb842f1cda8605aa0e67f8deb3d0')
>>
>> I am using ubuntu 16.04 .
>> ___
>> 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] GCompris Tangram 13 does not start

2020-03-19 Thread Abhishek Tanwar
I have downloaded the GCompris Tangram 13 from
http://activities.sugarlabs.org/en-US/sugar/addon/4186 . When I run the
activity from the journal it does not start.

Error in log file :
bin/gcompris-activity --drag-mode=both --nolockcheck --sound --sugar
--sugarBundleId=net.gcompris.tangramActivity
--sugarActivityId=2416e71ae4cceb842f1cda8605aa0e67f8deb3d0
/home/geronimo/Activities/GComprisTangram.activity/.0sugar/implementations/sha1new=51e5f6f2ef3238b7cb0dd8f7c9ec89f256fd6d42/bin/gcompris.orig:
error while loading shared libraries: libORBit-2.so.0: cannot open shared
object file: No such file or directory
Exited with status 127, pid 1486 data (None, ', mode
'w' at 0x7fd504169270>, '2416e71ae4cceb842f1cda8605aa0e67f8deb3d0')

I am using ubuntu 16.04 .
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Implode Activity for Sugarizer

2020-03-17 Thread Abhishek Tanwar
Implode activity of sugar can be a very good addition to  Sugarizer in
terms of the values it can inculcate in young students. It is a game based
on 'Tetris'. Implode activity can help the young ones to develop mental
strength and improve their thinking ability and help them think in
different paths without actually performing actions.
One of the biggest values it can inculcate in a young mind is the power of
retention as one needs to remember the sequence of steps followed in case a
situation is experienced in which no further moves can be made. In that
case, the game will have to be started from the beginning and the user will
have to analyze where did he/she go wrong and rectify it.

I have been Reverse Engineering the Implode Activity of sugar and I have
also developed an algorithm for this game which is 70% done.

Please share your thoughts and constructive comments.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Proposal Template

2020-03-17 Thread Abhishek Tanwar
Hello,

I have found two proposal template
*FIRST: *https://wiki.sugarlabs.org/go/Summer_of_Code/Template
*SECOND: *https://github.com/sugarlabs/GSoC/blob/master/Template.md

Proposal Template at github for 2020 lacks some points which are present in
the template at https://wiki.sugarlabs.org/go/Summer_of_Code/Template .I
wish to mention some points from the later .
Can I merge the two proposal templates?

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


[Sugar-devel] Proposal query

2020-03-17 Thread Abhishek Tanwar
Can I take inspiration from previous GSoC idea and project while making my
own proposal?
If yes do I need to mention it in my proposal/give  credits.If anyone could
tell me the proper way to give credits ,I would be grateful to you.

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


Re: [Sugar-devel] Porting sugar activity to sugarizer

2020-03-12 Thread Abhishek Tanwar
Working on it. Thanks for the feedback.

On Fri, 13 Mar, 2020, 1:56 AM James Cameron,  wrote:

> Sorry, no, I can't.  I don't understand it fully myself, and I've a
> lack of time.  My focus is on the reverse; to bring Sugarizer
> activities back into Sugar.
>
> In general, you should spend the time to decompose and document the
> algorithm using your own understanding of Python source code.  The
> documentation you make may not be needed by anyone else other than
> you, but if you do publish it then I'd like to host it in the Implode
> repository for future use in diagnosing any problems.
>
> In terms of sizing this effort, I'd expect a programmer to be able to
> reverse engineer Python code at a rate of between one and ten lines of
> code a minute, depending on the breadth of their experience.  If
> you're not up to that, then either find someone else to do it
> (i.e. not me), or take some other task.
>
> On Thu, Mar 12, 2020 at 06:07:45PM +0530, Abhishek Tanwar wrote:
> > I have been trying to understand the game but it is quite tough .If you
> could
> > provide me with some logic,algorithm and references used ,it would be
> helpful
> > to understand the code.
> > Thank You
> >
> > On Thu, Mar 12, 2020 at 9:07 AM James Cameron <[1]qu...@laptop.org>
> wrote:
> >
> > The board is not random in the beginning.
> >
> > When creating a game to play Implode starts with an empty board state
> > and injects transformations to confuse that state.  The type of
> > transformations are the exact inverse of those the player requests in
> > a winning move sequence.
> >
> >     The code is in boardgen.py
> >
> > The Maze game has a reversible algorithm too.
> >
> > On Thu, Mar 12, 2020 at 08:55:49AM +0530, Abhishek Tanwar wrote:
> > > I am porting Implode activity to sugarizer . I read the code a few
> times
> > and I
> > > partially understood its working . One thing that I am not able to
> > understand
> > > is the logic that the game always have an answer despite of random
> board
> > > formation in the beginning .
> > > Is it that the initial state of board is designed according to
> last state
> > and
> > > the game is played in a reverse order such that there exist no
> state in
> > which
> > > there is no next move to make?
> > >
> >
> > > ___
> > > Sugar-devel mailing list
> > > [2]Sugar-devel@lists.sugarlabs.org
> > > [3]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > --
> > James Cameron
> > [4]http://quozl.netrek.org/
> >
> > References:
> >
> > [1] mailto:qu...@laptop.org
> > [2] mailto:Sugar-devel@lists.sugarlabs.org
> > [3] http://lists.sugarlabs.org/listinfo/sugar-devel
> > [4] http://quozl.netrek.org/
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Porting sugar activity to sugarizer

2020-03-12 Thread Abhishek Tanwar
I have been trying to understand the game but it is quite tough .If you
could provide me with some logic,algorithm and references used ,it would be
helpful to understand the code.
Thank You

On Thu, Mar 12, 2020 at 9:07 AM James Cameron  wrote:

> The board is not random in the beginning.
>
> When creating a game to play Implode starts with an empty board state
> and injects transformations to confuse that state.  The type of
> transformations are the exact inverse of those the player requests in
> a winning move sequence.
>
> The code is in boardgen.py
>
> The Maze game has a reversible algorithm too.
>
> On Thu, Mar 12, 2020 at 08:55:49AM +0530, Abhishek Tanwar wrote:
> > I am porting Implode activity to sugarizer . I read the code a few times
> and I
> > partially understood its working . One thing that I am not able to
> understand
> > is the logic that the game always have an answer despite of random board
> > formation in the beginning .
> > Is it that the initial state of board is designed according to last
> state and
> > the game is played in a reverse order such that there exist no state in
> which
> > there is no next move to make?
> >
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Porting sugar activity to sugarizer

2020-03-11 Thread Abhishek Tanwar
I am porting Implode activity to sugarizer . I read the code a few times
and I partially understood its working . One thing that I am not able to
understand is the logic that the game always have an answer despite of
random board formation in the beginning .
Is it that the initial state of board is designed according to last state
and the game is played in a reverse order such that there exist no state in
which there is no next move to make?
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Porting Activity to Sugarizer

2020-03-11 Thread Abhishek Tanwar
I am porting the Measure activity of Sugar to Sugarizer. Can anyone please
help me understand the logic used in measure Activity .
I would be very thankful to you.

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


Re: [Sugar-devel] Measure activity not working

2020-03-11 Thread Abhishek Tanwar
Thanks for the help. It worked .
Sorry for sharing the image I'll keep that in mind next time.

On Thu, Mar 12, 2020 at 5:28 AM James Cameron  wrote:

> Yes, that won't work.
>
> By following the instructions on ubuntu.md#using-sugar-on-ubuntu you
> will have installed Sugar 0.106, which is Python 2 only.  That's why
> you saw "sugar-activity3: command not found".
>
> Measure activity has been ported to Python 3, and requires Sugar 0.116
> or later.
>
> You have a choice; either use the python2 branch of Measure activity,
> or upgrade to Sugar 0.116.
>
> Ubuntu has not provided update Sugar for 16.04, so you must upgrade to
> a later release of Ubuntu, or use a virtual machine.
>
> I agree with Ibiam, please don't use images to convey something that
> could be copied and pasted as text.  We can't search images easily,
> and data bandwidth is precious for many of us.
>
> On Thu, Mar 12, 2020 at 12:52:39AM +0530, Abhishek Tanwar wrote:
> > I installed sugar on my ubuntu 16.04 using [1]
> https://github.com/sugarlabs/
> > sugar/blob/master/docs/ubuntu.md#using-sugar-on-ubuntu .
> >
> > On Thu, Mar 12, 2020 at 12:44 AM Chihurumnaya Ibiam <[2]
> > ibiamchihurumn...@sugarlabs.org> wrote:
> >
> > How did you install sugar?
> >
> > Also you can send the output next time instead of an image.
> >
> > On Wed, Mar 11, 2020, 8:09 PM Abhishek Tanwar <[3]
> > abhishektanwar...@gmail.com> wrote:
> >
> > I have clone the measure activity from [4]
> https://github.com/sugarlabs/
> > Measure/tree/master in my /usr/share/sugar/activities directory
> on my
> > linux 16.04 .
> > When I run Measure activity it does not start . Logs are also
> clear ,no
> > error appears in logs.
> >
> > When I try to run the activity using terminal this appears in
> terminal.
> > [5][jpeg] measure activity.jpg
> > ___
> > Sugar-devel mailing list
> > [6]Sugar-devel@lists.sugarlabs.org
> > [7]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > References:
> >
> > [1]
> https://github.com/sugarlabs/sugar/blob/master/docs/ubuntu.md#using-sugar-on-ubuntu
> > [2] mailto:ibiamchihurumn...@sugarlabs.org
> > [3] mailto:abhishektanwar...@gmail.com
> > [4] https://github.com/sugarlabs/Measure/tree/master
> > [5]
> https://drive.google.com/file/d/10WeF13lc6t054uDUz8SN7oBQqv-UsmJJ/view?usp=drive_web
> > [6] mailto:Sugar-devel@lists.sugarlabs.org
> > [7] http://lists.sugarlabs.org/listinfo/sugar-devel
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Measure activity not working

2020-03-11 Thread Abhishek Tanwar
I installed sugar on my ubuntu 16.04 using
https://github.com/sugarlabs/sugar/blob/master/docs/ubuntu.md#using-sugar-on-ubuntu
 .

On Thu, Mar 12, 2020 at 12:44 AM Chihurumnaya Ibiam <
ibiamchihurumn...@sugarlabs.org> wrote:

> How did you install sugar?
>
> Also you can send the output next time instead of an image.
>
> On Wed, Mar 11, 2020, 8:09 PM Abhishek Tanwar 
> wrote:
>
>> I have clone the measure activity from
>> https://github.com/sugarlabs/Measure/tree/master in my
>> /usr/share/sugar/activities directory on my linux 16.04 .
>> When I run Measure activity it does not start . Logs are also clear ,no
>> error appears in logs.
>>
>> When I try to run the activity using terminal this appears in terminal.
>>  measure activity.jpg
>> <https://drive.google.com/file/d/10WeF13lc6t054uDUz8SN7oBQqv-UsmJJ/view?usp=drive_web>
>> ___
>> 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] Measure activity not working

2020-03-11 Thread Abhishek Tanwar
I have clone the measure activity from
https://github.com/sugarlabs/Measure/tree/master in my
/usr/share/sugar/activities directory on my linux 16.04 .
When I run Measure activity it does not start . Logs are also clear ,no
error appears in logs.

When I try to run the activity using terminal this appears in terminal.
 measure activity.jpg

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


[Sugar-devel] GSoC 2020

2020-03-08 Thread Abhishek Tanwar
Hello,
I am Abhishek Tanwar ,3rd year IT student from Bharati Vidyapeeth's College
of Engineering, New Delhi ,India .I started contributing to SUGARIZER about
a month ago and I have make quite a few contributions towards Sugarizer
repository.
I am interested in 3 GSoC ideas which are as follows:

   - Sugarizer game activity pack
   
<https://github.com/sugarlabs/GSoC/blob/master/Ideas-2020.md#sugarizer-game-activity-pack>
   - Sugarizer knowledge activity pack
   
<https://github.com/sugarlabs/GSoC/blob/master/Ideas-2020.md#sugarizer-knowledge-activity-pack>
   - Sugarizer School Portal
   
<https://github.com/sugarlabs/GSoC/blob/master/Ideas-2020.md#sugarizer-school-portal>

I want to discuss the above ideas with Lionel Laske sir so that I can start
making my proposal."via Direct Mail" is written with Lionel Laske's name in
Sular Labs GSoC repository but I am afraid if I can e-mail him until he
asks to I am permitted to.
How can I get started? Any help in this direction would be much appreciated.

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


[Sugar-devel] Port to Gtk3: Gdk.Image error

2020-02-08 Thread Abhishek Tanwar
I am porting BOUNCE ACTIVITY (https://github.com/sugarlabs/Bounce) to
Gtk +3 and I have ported it to some extent but I am stuck at a point where
I am not able to find a solution.

Here is the link to my repository for BOUNCE activity :
https://github.com/abhishektanwar/Bounce

I know that Gdk.Image is no more supported in Gdk3 and I have to use Cairo
or Pixbuf but can't figure out how to convert it to Cairo.

Traceback (most recent call last):
  File "/usr/share/sugar/activities/Bounce.activity/bounce.py", line 1634,
in on_drawarea_expose
self.on_drawarea_resize()
  File "/usr/share/sugar/activities/Bounce.activity/bounce.py", line 1623,
in on_drawarea_resize
self.drawimage = Gdk.Image(Gdk.IMAGE_FASTEST, Gdk.visual_get_system(),
rect.width, rect.height)
  File "/usr/lib/python2.7/dist-packages/gi/overrides/_init.py", line 39,
in __getattr_
return getattr(self._introspection_module, name)
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 139, in
_getattr_
self._name_, name))
AttributeError: 'gi.repository.Gdk' object has no attribute 'Image'
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] no module named sugar.activity.activity

2020-01-29 Thread Abhishek Tanwar
Sorry I posted the wrong traceback by mistake. Here is the traceback I
wanted to post . I am really sorry

Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 219, in 
main()
  File "/usr/bin/sugar-activity", line 163, in main
module = _import_(module_name)
  File "/usr/share/sugar/activities/Arithmetic.activity/arithmetic.py",
line 28, in 
import dobject.groupthink.sugar_tools as sugar_tools
  File
"/usr/share/sugar/activities/Arithmetic.activity/dobject/groupthink/sugar_tools.py",
line 20, in 
from sugar.activity.activity import Activity, ActivityToolbox
ImportError: No module named sugar.activity.activity

On Wed, Jan 29, 2020 at 1:30 PM Chihurumnaya Ibiam <
ibiamchihurumn...@gmail.com> wrote:

> The traceback you posted shows you didn't import Gdk but used it, make
> sure Gdk is imported.
>
> On Wed, Jan 29, 2020, 8:33 AM Abhishek Tanwar 
> wrote:
>
>> I am trying to port https://github.com/sugarlabs/arithmetic to GTk3 but
>> when i run the activity to understand the working(with GTK) it throws an
>> error "no module named sugar.activity.activity".I searched google for any
>> potential solutions but could not find anything .
>>
>> Traceback (most recent call last):
>>   File "/usr/bin/sugar-activity", line 219, in 
>> main()
>>   File "/usr/bin/sugar-activity", line 214, in main
>> instance = create_activity_instance(activity_constructor,
>> activity_handle)
>>   File "/usr/bin/sugar-activity", line 48, in create_activity_instance
>> activity = constructor(handle)
>>   File
>> "/usr/share/sugar/activities/compress-activity.activity/Compress.py", line
>> 42, in _init_
>> canvas = PyApp()
>>   File
>> "/usr/share/sugar/activities/compress-activity.activity/CompressCanvas3.py",
>> line 504, in _init_
>> if Gdk.Screen.width() >= 1200:
>> NameError: global name 'Gdk' is not defined
>> Exited with status 1, pid 1692 data (', mode 'w' at
>> 0x7f0fd82a3ae0>, 'f5b6d864dcbea56c6345d8d0394716abe77d46e7')
>>
>>
>> I setup my development environment by following
>> https://github.com/sugarlabs/sugar/blob/master/docs/ubuntu.md and I am
>> working on ubuntu 18.04.
>> ___
>> 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] no module named sugar.activity.activity

2020-01-28 Thread Abhishek Tanwar
I am trying to port https://github.com/sugarlabs/arithmetic to GTk3 but
when i run the activity to understand the working(with GTK) it throws an
error "no module named sugar.activity.activity".I searched google for any
potential solutions but could not find anything .

Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 219, in 
main()
  File "/usr/bin/sugar-activity", line 214, in main
instance = create_activity_instance(activity_constructor,
activity_handle)
  File "/usr/bin/sugar-activity", line 48, in create_activity_instance
activity = constructor(handle)
  File
"/usr/share/sugar/activities/compress-activity.activity/Compress.py", line
42, in _init_
canvas = PyApp()
  File
"/usr/share/sugar/activities/compress-activity.activity/CompressCanvas3.py",
line 504, in _init_
if Gdk.Screen.width() >= 1200:
NameError: global name 'Gdk' is not defined
Exited with status 1, pid 1692 data (', mode 'w' at
0x7f0fd82a3ae0>, 'f5b6d864dcbea56c6345d8d0394716abe77d46e7')


I setup my development environment by following
https://github.com/sugarlabs/sugar/blob/master/docs/ubuntu.md and I am
working on ubuntu 18.04.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Contribution to SUGARLABS

2020-01-22 Thread Abhishek Tanwar
Hello,

Sir I tried installing GTK+2 but it seems it didn't get installed . I am
using Ubuntu 18.04 on my VM.
It would be great if you could help me with the installation of GTK+2
(command or the source from where I can install it with steps).

Thank You

On Thu, Jan 23, 2020 at 8:51 AM James Cameron  wrote:

> You haven't got GTK 2 installed yet, on your VM.  I can't be specific
> about how to install it, because I don't know what operating system
> you are using in the VM.
>
> Immediately after that, you will also face
> https://github.com/sugarlabs/arithmetic/issues/3
>
> On Thu, Jan 23, 2020 at 04:26:48AM +0530, Abhishek Tanwar wrote:
> > I am trying to port the Arithmetic activity to GTK+3 . I downloaded the
> > repository and ran it (GTK version) so that I can see the interface and
> make
> > the same using GTK+3 but it doesnt work.
> > Here are the logs when I run this activity on my sugar desktop on my VM.
> > I am not able to understand the errors,if anyone could show me the
> direction
> > .It would be much appreciated.
> >
> > Thank You
> >
> > 
> > Python 2.7.17: /usr/bin/python
> > Thu Jan 23 04:13:18 2020
> >
> > A problem occurred in a Python script.  Here is the sequence of
> > function calls leading up to the error, in the order they occurred.
> >
> >  /usr/bin/sugar-activity in ()
> >   215
> >   216 if hasattr(instance, 'run_main_loop'):
> >   217 instance.run_main_loop()
> >   218
> >   219 main()
> > main = 
> >
> >  /usr/bin/sugar-activity in main()
> >   161 class_name = splitted_module[1]
> >   162
> >   163 module = __import__(module_name)
> >   164 for comp in module_name.split('.')[1:]:
> >   165 module = getattr(module, comp)
> > module undefined
> > builtin__import__ = 
> > module_name = 'arithmetic'
> >
> >  /usr/share/sugar/activities/Arithmetic.activity/arithmetic.py in
> ()
> >15
> >16 import logging
> >17 import gtk
> >18 import pango
> >19 import random
> > gtk undefined
> > : No module named gtk
> > __class__ = 
> > __delattr__ =  > object>
> > __dict__ = {}
> > __doc__ = "Import can't find module, or can't find name in module."
> > __format__ =  object>
> > __getattribute__ =  > exceptions.ImportError object>
> > __getitem__ =  > object>
> > __getslice__ =  exceptions.ImportError
> > object>
> > __hash__ =  object>
> > __init__ =  object>
> > __new__ = 
> > __reduce__ =  object>
> > __reduce_ex__ =  exceptions.ImportError
> > object>
> > __repr__ =  object>
> > __setattr__ =  > object>
> > __setstate__ =  exceptions.ImportError
> > object>
> > __sizeof__ =  object>
> > __str__ = 
> > __subclasshook__ = 
> > __unicode__ =  > object>
> > args = ('No module named gtk',)
> > message = 'No module named gtk'
> >
> > The above is a description of an error in a Python program.  Here is
> > the original traceback:
> >
> > Traceback (most recent call last):
> >   File "/usr/bin/sugar-activity", line 219, in 
> > main()
> >   File "/usr/bin/sugar-activity", line 163, in main
> > module = __import__(module_name)
> >   File "/usr/share/sugar/activities/Arithmetic.activity/arithmetic.py",
> line
> > 17, in 
> > import gtk
> > ImportError: No module named gtk
> >
> > Exited with status 1, pid 1675 data (', mode 'w' at
> > 0x7f28d7dbc780>, 'e1df43f3e9571a85b2dc8b025ba334c83eff39ea')
> >
> > On Tue, Jan 21, 2020 at 6:52 PM Walter Bender <[1]
> walter.ben...@gmail.com>
> > wrote:
> >
> > On Tue, Jan 21, 2020 at 6:15 AM Abhishek Tanwar <[2]
> > abhishektanwar...@gmail.com> wrote:
> >
> > Hello sir
> > Thank you for your response and valuable information . I have
> found these
> > [3]https://github.com/sugarlabs/arithmetic/issues/4 and
> > [4]https://github.com/sugarlabs/Bounce
> > activities and I feel comfortable with the code and I want to
> port this
> > activity to GTK +3.
> >
> > Is there any certain procedure that I am supposed to follow in
> order to
> > contribute to these two tasks or can I straight away start with
> it.
> >
> > [5]
> https://github.com/sugarlabs/sugar-docs/blob/mas

Re: [Sugar-devel] Contribution to SUGARLABS

2020-01-22 Thread Abhishek Tanwar
I am trying to port the Arithmetic activity to GTK+3 . I downloaded the
repository and ran it (GTK version) so that I can see the interface and
make the same using GTK+3 but it doesnt work.
Here are the logs when I run this activity on my sugar desktop on my VM.
I am not able to understand the errors,if anyone could show me the
direction .It would be much appreciated.

Thank You


Python 2.7.17: /usr/bin/python
Thu Jan 23 04:13:18 2020

A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.

 /usr/bin/sugar-activity in ()
  215
  216 if hasattr(instance, 'run_main_loop'):
  217 instance.run_main_loop()
  218
  219 main()
main = 

 /usr/bin/sugar-activity in main()
  161 class_name = splitted_module[1]
  162
  163 module = __import__(module_name)
  164 for comp in module_name.split('.')[1:]:
  165 module = getattr(module, comp)
module undefined
builtin__import__ = 
module_name = 'arithmetic'

 /usr/share/sugar/activities/Arithmetic.activity/arithmetic.py in ()
   15
   16 import logging
   17 import gtk
   18 import pango
   19 import random
gtk undefined
: No module named gtk
__class__ = 
__delattr__ = 
__dict__ = {}
__doc__ = "Import can't find module, or can't find name in module."
__format__ = 
__getattribute__ = 
__getitem__ = 
__getslice__ = 
__hash__ = 
__init__ = 
__new__ = 
__reduce__ = 
__reduce_ex__ = 
__repr__ = 
__setattr__ = 
__setstate__ = 
__sizeof__ = 
__str__ = 
__subclasshook__ = 
__unicode__ = 
args = ('No module named gtk',)
message = 'No module named gtk'

The above is a description of an error in a Python program.  Here is
the original traceback:

Traceback (most recent call last):
  File "/usr/bin/sugar-activity", line 219, in 
main()
  File "/usr/bin/sugar-activity", line 163, in main
module = __import__(module_name)
  File "/usr/share/sugar/activities/Arithmetic.activity/arithmetic.py",
line 17, in 
import gtk
ImportError: No module named gtk


Exited with status 1, pid 1675 data (', mode 'w' at
0x7f28d7dbc780>, 'e1df43f3e9571a85b2dc8b025ba334c83eff39ea')

On Tue, Jan 21, 2020 at 6:52 PM Walter Bender 
wrote:

>
>
> On Tue, Jan 21, 2020 at 6:15 AM Abhishek Tanwar <
> abhishektanwar...@gmail.com> wrote:
>
>> Hello sir
>> Thank you for your response and valuable information . I have found 
>> thesehttps://github.com/sugarlabs/arithmetic/issues/4 
>> andhttps://github.com/sugarlabs/Bounce
>> activities and I feel comfortable with the code and I want to port this
>> activity to GTK +3.
>>
>> Is there any certain procedure that I am supposed to follow in order to
>> contribute to these two tasks or can I straight away start with it.
>>
>>
> https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md should
> have all the information you need.
>
> regards.
>
> -walter
>
>> Thank you
>>
>> ___
>> Sugar-devel mailing list
>> Sugar-devel@lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> <http://www.sugarlabs.org>
>


arithmetic.logs
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [HELP] Introduction, GSOC 2020

2020-01-21 Thread Abhishek Tanwar
Hello sir
Thank you for your response and valuable information . I have found
thesehttps://github.com/sugarlabs/arithmetic/issues/4
andhttps://github.com/sugarlabs/Bounce
activities and I feel comfortable with the code and I want to port this
activity to GTK +3.

Is there any certain procedure that I am supposed to follow in order to
contribute to these two tasks or can I straight away start with it.

Thank you


On Wed, Jan 15, 2020 at 3:31 AM James Cameron  wrote:

> Welcome Abhishek,
>
> Of the opportunities to contribute, no more than about 2% are registered
> as issues.  You should not use issues alone as a way to contribute.
>
> Other formal opportunities are listed as GitHub projects in the sugarlabs
> organisation account, as GCI tasks, and as TODO or FIXME lines.  We also
> have an instance of trac at bugs.sugarlabs.org with more problem reports
> than we can ever solve.
>
> I've not seen your prior work, so I can't suggest anything in particular.
> I suggest you use my mailing list post "How to get started as a Sugar Labs
> developer [v8]" which you'll find in the mailing list archives on 18th
> November.
>
> On Mon, Jan 13, 2020 at 06:23:19AM +0530, Abhishek Tanwar wrote:
> > Hello everyone
> >
> > I am Abhishek Tanwar, a 3rd year Information Technology(IT) student from
> > Bharati Vidyapeeth's College of Engineering ,New Delhi India . I am very
> > impressed by the mission of Sugar Labs as a community and want to
> contribute
> > for the same to Sugar Labs .
> >
> > I am also looking to do GSOC 2020 with Sugar Labs as I have been
> researching
> > and exploring different branches under Sugar Labs. I have Sugar desktop
> > environment setup and made a couple of activities to get familiar with
> the
> > working environment and Sugar Labs in general.I have a good experience
> with
> > python, javascript , Ethereum(Blockchain).
> >
> > Now I want to start contributing with the sugar labs community but I
> can't find
> > any end to start from. I have gone through the issues listed in Sugar
> Labs
> > Github repository but couldn't contribute.
> > Any help would be appreciated.
> >
> > Also, I am sorry if I made any mistakes in this email . Please
> correct me if I
> > am wrong anywhere.
> >
> > Thank You
> > Abhishek Tanwar
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Contribution to SUGARLABS

2020-01-21 Thread Abhishek Tanwar
Hello sir
Thank you for your response and valuable information . I have found
thesehttps://github.com/sugarlabs/arithmetic/issues/4
andhttps://github.com/sugarlabs/Bounce
activities and I feel comfortable with the code and I want to port this
activity to GTK +3.

Is there any certain procedure that I am supposed to follow in order to
contribute to these two tasks or can I straight away start with it.

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


Re: [Sugar-devel] [HELP] Introduction, GSOC 2020

2020-01-19 Thread Abhishek Tanwar
Hello sir
Thank you for your response and valuable information . I have found these
https://github.com/sugarlabs/arithmetic/issues/4 and
https://github.com/sugarlabs/Bounce
activities and I feel comfortable with the code and I want to port this
activity to GTK +3.

Is there any certain procedure that I am supposed to follow in order to
contribute to these two tasks or can I straight away start with it.

Thank you

On Wed, Jan 15, 2020 at 3:31 AM James Cameron  wrote:

> Welcome Abhishek,
>
> Of the opportunities to contribute, no more than about 2% are registered
> as issues.  You should not use issues alone as a way to contribute.
>
> Other formal opportunities are listed as GitHub projects in the sugarlabs
> organisation account, as GCI tasks, and as TODO or FIXME lines.  We also
> have an instance of trac at bugs.sugarlabs.org with more problem reports
> than we can ever solve.
>
> I've not seen your prior work, so I can't suggest anything in particular.
> I suggest you use my mailing list post "How to get started as a Sugar Labs
> developer [v8]" which you'll find in the mailing list archives on 18th
> November.
>
> On Mon, Jan 13, 2020 at 06:23:19AM +0530, Abhishek Tanwar wrote:
> > Hello everyone
> >
> > I am Abhishek Tanwar, a 3rd year Information Technology(IT) student from
> > Bharati Vidyapeeth's College of Engineering ,New Delhi India . I am very
> > impressed by the mission of Sugar Labs as a community and want to
> contribute
> > for the same to Sugar Labs .
> >
> > I am also looking to do GSOC 2020 with Sugar Labs as I have been
> researching
> > and exploring different branches under Sugar Labs. I have Sugar desktop
> > environment setup and made a couple of activities to get familiar with
> the
> > working environment and Sugar Labs in general.I have a good experience
> with
> > python, javascript , Ethereum(Blockchain).
> >
> > Now I want to start contributing with the sugar labs community but I
> can't find
> > any end to start from. I have gone through the issues listed in Sugar
> Labs
> > Github repository but couldn't contribute.
> > Any help would be appreciated.
> >
> > Also, I am sorry if I made any mistakes in this email . Please
> correct me if I
> > am wrong anywhere.
> >
> > Thank You
> > Abhishek Tanwar
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.netrek.org/
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Introduction ,GSOC 2020

2020-01-12 Thread Abhishek Tanwar
Hello everyone

I am Abhishek Tanwar, a 3rd year Information Technology(IT) student from
Bharati Vidyapeeth's College of Engineering ,New Delhi India . I am very
impressed by the mission of Sugar Labs as a community and want to
contribute for the same to Sugar Labs .

I am also looking to do GSOC 2020 with Sugar Labs as I have been
researching and exploring different branches under Sugar Labs. I have Sugar
desktop environment setup and made a couple of activities to get familiar
with the working environment and Sugar Labs in general.I have a good
experience with python, javascript , Ethereum(Blockchain).

Now I want to start contributing with the sugar labs community but I can't
find any end to start from. I have gone through the issues listed in Sugar
Labs Github repository but couldn't contribute.
Any help would be appreciated.

Also, I am sorry if I made any mistakes in this email . Please correct me
if I am wrong anywhere.

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


[Sugar-devel] [HELP] Introduction, GSOC 2020

2020-01-12 Thread Abhishek Tanwar
Hello everyone

I am Abhishek Tanwar, a 3rd year Information Technology(IT) student from
Bharati Vidyapeeth's College of Engineering ,New Delhi India . I am very
impressed by the mission of Sugar Labs as a community and want to
contribute for the same to Sugar Labs .

I am also looking to do GSOC 2020 with Sugar Labs as I have been
researching and exploring different branches under Sugar Labs. I have Sugar
desktop environment setup and made a couple of activities to get familiar
with the working environment and Sugar Labs in general.I have a good
experience with python, javascript , Ethereum(Blockchain).

Now I want to start contributing with the sugar labs community but I can't
find any end to start from. I have gone through the issues listed in Sugar
Labs Github repository but couldn't contribute.
Any help would be appreciated.

Also, I am sorry if I made any mistakes in this email . Please correct me
if I am wrong anywhere.

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