<div dir="ltr"><div>As you guys were discussing about the math hurdler activity, this activity was built in python2 hence needed minute fixes to convert into python3. I did the fixes and created a pull request. Now math_hurdler.py works fine. Rushabh I did not check the activity thing, it needs some of the filename changes. Please look into it. <br></div><div> <br></div><div>Sincerely <br></div><div>Kushagra Nigam<br></div><div><a href="mailto:kushagra1998@gmail.com">kushagra1998@gmail.com</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 26 Mar 2019 at 04:06, James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks. No, I'm not running the activity from the Terminal. I'm<br>
running it the way a child learner would run it; from the Home View.<br>
If you're not familiar with the user experience of Sugar, please read<br>
through our documentation;<br>
<br>
<a href="https://help.sugarlabs.org/en/sugar_ui.html" rel="noreferrer" target="_blank">https://help.sugarlabs.org/en/sugar_ui.html</a><br>
<a href="https://help.sugarlabs.org/en/home_view.html" rel="noreferrer" target="_blank">https://help.sugarlabs.org/en/home_view.html</a><br>
<br>
How did you fall into this trap; is there some other documentation we<br>
need to change? Let us know!<br>
<br>
When I said "I'm not sure if the activity was finished before it was<br>
added to the Wiki" I'm suggesting that the activity was not finished,<br>
and so you are having to fix problems because the original developers<br>
did not complete their work. You used the Wiki to find the activity,<br>
and so you may have found an unfinished activity. Very brave!<br>
<br>
Regarding the "Create a new set of activities" idea, you should<br>
research to appreciate the breadth and scope of the existing<br>
activities so that you can avoid suggesting an activity we might<br>
already have.<br>
<br>
On Mon, Mar 25, 2019 at 09:36:43PM +0530, Rushabh Vasani wrote:<br>
> Hello !<br>
> I was not getting this kind of any error.<br>
> Are you running your activity from terminal with the command " ./<br>
> math-hurdler.py " after cloning it?<br>
> Or you are doing something else ? I was running it from the terminal and a<br>
> simple pygame window was opening. Even I just tried it once again so that I can<br>
> give you right description . I don't know if there is another way to run the<br>
> activity .Please tell me if there is .<br>
> And I don't understood what do you exactly mean by " I'm not sure if the<br>
> activity was finished before it was added to the Wiki. "<br>
> <br>
> And another question I have for the activity " Create a new set of activities "<br>
> is that ,<br>
> I am planing the activities which I want to create in this three months So<br>
> should there be 12-15 small small activities or 4-5 very nice and bigger <br>
> activities for that . I personally would like to create bigger activities which<br>
> can make a big difference in the skills of students.But I'll plan the<br>
> activities as you say.<br>
> Thank you.<br>
> <br>
> <br>
> On Mon, Mar 25, 2019 at 9:26 AM James Cameron <[1]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
> <br>
> Thanks. That's interesting. The page is automatically generated from<br>
> new pages added to the Wiki. I hadn't thought to check there for new<br>
> activities.<br>
> <br>
> The problem with Math Hurdler at the moment (ff8a15d) is that it does<br>
> not start in Sugar. A message appears "Math Hurdler failed to start."<br>
> Logs show this;<br>
> <br>
> 1553485563.457917 WARNING root: Activity bundle<br>
> /home/guest/Activities/MathHurdler.activity does not specify a license<br>
> Traceback (most recent call last):<br>
> File "/usr/bin/sugar-activity", line 5, in <module><br>
> activityinstance.main()<br>
> File<br>
> "/usr/lib/python2.7/dist-packages/sugar3/activity/activityinstance.py",<br>
> line 178, in main<br>
> module = __import__(module_name)<br>
> ImportError: No module named MathHurdlerActivity<br>
> Exited with status 1, pid 1371 data (<open file '<fdopen>', mode 'w'<br>
> at 0x7fcb9b4c2540>, 'fa4da9b8c4c2eb36f0863d5cbadc72295a506524')<br>
> <br>
> Cause is mismatch between exec in [2]<a href="http://activity.info" rel="noreferrer" target="_blank">activity.info</a> and class name in<br>
> source code.<br>
> <br>
> I'm not sure if the activity was finished before it was added to the<br>
> Wiki.<br>
> <br>
> By the way, your mail wasn't deleted.<br>
> <br>
> On Mon, Mar 25, 2019 at 08:40:28AM +0530, Rushabh Vasani wrote:<br>
> > Hello James,<br>
> > I actually found it on [3]<a href="https://wiki.sugarlabs.org/go/Activities" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Activities</a> .<br>
> > And after installing pygame it was finely working for me. In fact the<br>
> > activities that uses GTK are also working for me now and I have sent<br>
> another<br>
> > mail for that containing [Sugar-devel] in the subject so everyone can<br>
> read that<br>
> > and that's why I deleted the mail above.The problem with that was that I<br>
> was<br>
> > installing packages in my anaconda environment and my editor was using<br>
> another<br>
> > environment so I just installed the packages in that python environment<br>
> and it<br>
> > worked for me.<br>
> ><br>
> > But for your problem can you please tell me the error which you see while<br>
> > running "./math-hurdler.py" .<br>
> > Thank you and I am really looking forward to contribute in another<br>
> activities.<br>
> > Thank you.<br>
> ><br>
> > --Rushabh<br>
> ><br>
> > On Mon 25 Mar, 2019, 6:55 AM James Cameron <[2][4]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a> wrote:<br>
> ><br>
> > Thanks Rushabh, this math-hurdler activity is new to me. How did you<br>
> > find it?<br>
> ><br>
> > Perhaps Craig Cabrey is busy. It has only been four days. Craig is<br>
> > not a regular contributor at Sugar Labs. The activity may have been<br>
> > made by the FOSSRIT team at Rochester Institute of Technology<br>
> > [3][5]<a href="https://rit.edu/" rel="noreferrer" target="_blank">https://rit.edu/</a><br>
> ><br>
> > I've forked the activity to [4][6]<a href="https://github.com/sugarlabs/" rel="noreferrer" target="_blank">https://github.com/sugarlabs/</a><br>
> math-hurdler<br>
> > so we can keep a copy of it.<br>
> ><br>
> > The activity does need GTK. It is mostly implemented in PyGame.<br>
> ><br>
> > Is it working for you? I get an error on import.<br>
> ><br>
> > On Sun, Mar 24, 2019 at 11:35:39AM +0530, Rushabh Vasani wrote:<br>
> > > Hello everyone !<br>
> > > I am facing a problem of "No module named gi " and "No module named<br>
> > > sugar3.activity " when I am trying to run any activity using GTK.<br>
> > > I have solved an issue of an activity named math-hurdler and have<br>
> made a<br>
> > also <br>
> > > [1]Pull Request (Which has not been responded yet Because the<br>
> author of<br>
> > that<br>
> > > activity has not given the authority of that activity to SugarLabs<br>
> and<br>
> > his<br>
> > > GitHub profile is inactive from very long time.And he is not<br>
> answering my<br>
> > mails<br>
> > > also .) .But this activity was not using GTK so I didn't faced any<br>
> > problem<br>
> > > there.<br>
> > > Clarification is that I have installed GTK and all other required<br>
> > dependencies<br>
> > > on my machine.<br>
> > > I am facing this problem from last 2 days if anyone can solve this<br>
> the<br>
> > help<br>
> > > will be appreciated.<br>
> > > Thank you.<br>
> > ><br>
> > > --<br>
> > > Rushabh <br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> [7]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [8]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> <br>
> References:<br>
> <br>
> [1] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [2] <a href="http://activity.info/" rel="noreferrer" target="_blank">http://activity.info/</a><br>
> [3] <a href="https://wiki.sugarlabs.org/go/Activities" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Activities</a><br>
> [4] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [5] <a href="https://rit.edu/" rel="noreferrer" target="_blank">https://rit.edu/</a><br>
> [6] <a href="https://github.com/sugarlabs/math-hurdler" rel="noreferrer" target="_blank">https://github.com/sugarlabs/math-hurdler</a><br>
> [7] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> [8] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br>
<br>
-- <br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</blockquote></div>