Changes

no edit summary
Line 38: Line 38:  
==Week by week milestones==
 
==Week by week milestones==
 
====4/24====
 
====4/24====
* [[Image:Checkmark.gif]]'''Brendan - '''Setup development environment (Git, Eclipse + Pydev | SoaS).
+
* '''Brendan - '''Setup development environment (Git, Eclipse + Pydev | SoaS).
* [[Image:Checkmark.gif]]'''Dennis - '''Get in contact with developer of Assimilate.
+
* '''Dennis - '''Get in contact with developer of Assimilate.
* [[Image:Checkmark.gif]]'''James - '''Figure out how to edit the "Activities" tab since it isn't listed in the toolbars.py file
+
* '''James - '''Figure out how to edit the "Activities" tab since it isn't listed in the toolbars.py file
* [[Image:Checkmark.gif]]'''Everyone - '''Decide who will work on exactly which parts of the project for the next few weeks.
+
* '''Everyone - '''Decide who will work on exactly which parts of the project for the next few weeks.
    
====5/1====
 
====5/1====
Line 80: Line 80:  
* Dennis updated the wiki.
 
* Dennis updated the wiki.
 
* As soon as we get the original code running in our development environment, we will start making the changes which we prepared for this week so that we can catch up with our milestones.
 
* As soon as we get the original code running in our development environment, we will start making the changes which we prepared for this week so that we can catch up with our milestones.
 +
 +
====5/8====
 +
* SoaS did not end up working out. We were able to get Assimilate installed, but when we ran it from the circle of programs, it would just hang and then crash and go back to the main screen. We initially tried using code from git, but when that didn't work, we also tried extracting the code from the .xo file (which worked on the OLPC). However, this did not work either. Then we tried copying the code from the OLPC since we knew that worked and it still wouldn't load the program in SoaS. Of course, we also tried installing Assimilate from the .xo file (just as we did on the OLPC) and that didn't work either. Our conclusion is that Assimilate will not run on SoaS.
 +
* We discovered that Synergy supposedly works on the OLPC. Dennis is trying to get it working at the moment. However, this only works if you have a wireless network since the OLPC doesn't have an ethernet port. See these [http://wiki.sugarlabs.org/index.php?title=Flash_Card_Game_-_Assimilate&action=submit#Synergy two resources] for info about synergy.
    
==Our Plan==
 
==Our Plan==
Line 107: Line 111:  
*[http://wiki.laptop.org/go/Sugar.graphics.toolbox Toolbox code]
 
*[http://wiki.laptop.org/go/Sugar.graphics.toolbox Toolbox code]
 
*[http://dev.laptop.org/git/projects/measure/tree/toolbar_top.py Example code for a toolbar listener]
 
*[http://dev.laptop.org/git/projects/measure/tree/toolbar_top.py Example code for a toolbar listener]
 +
===Synergy===
 +
* http://wiki.laptop.org/go/Coding_on_the_xo
 +
* http://wiki.laptop.org/go/Synergy
 
===Development Environment===
 
===Development Environment===
 
====Windows - <b>Does Not Work!</b>====
 
====Windows - <b>Does Not Work!</b>====
Line 115: Line 122:  
*Once that's done, you can load up the project you've cloned to your system with Git by opening Eclipse and going to File --> Import --> Select General --> Existing Projects into Workspace. Select the Assimilate root folder. Then go to Window --> Preferences --> Pydev --> Interpreter - Python --> Add (a python interpreter) and specify the path to python.exe. (Mine was C:\Python31\python.exe.)
 
*Once that's done, you can load up the project you've cloned to your system with Git by opening Eclipse and going to File --> Import --> Select General --> Existing Projects into Workspace. Select the Assimilate root folder. Then go to Window --> Preferences --> Pydev --> Interpreter - Python --> Add (a python interpreter) and specify the path to python.exe. (Mine was C:\Python31\python.exe.)
 
If you do all of this and try to run Assimilate, it will give you an error because it can't import hippo. We have not found a way around this. If you do, please update this wiki with instructions on how to do so.
 
If you do all of this and try to run Assimilate, it will give you an error because it can't import hippo. We have not found a way around this. If you do, please update this wiki with instructions on how to do so.
====Sugar on a Stick (SoaS)====
+
 
 +
====Sugar on a Stick (SoaS) - <b>Does Not Work!</b>====
 
*Follow the instruction on the [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick SoaS page].
 
*Follow the instruction on the [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick SoaS page].
 
*Git can be downloaded to Sugar with the following commands:
 
*Git can be downloaded to Sugar with the following commands:
Line 126: Line 134:  
*When I try to interpret the application with "python Assimilate.py" the following error is generated:
 
*When I try to interpret the application with "python Assimilate.py" the following error is generated:
 
**"ImportError: cannot import name AlreadyVoted." This is in response to line 13 of cardpanel.py: "from cardbox.import(AlreadyVoted, NoQuestion, NoAnswer)". AlreadyVoted is a class of Exception declared in cardbox.py. I am currently troubleshooting this issue.
 
**"ImportError: cannot import name AlreadyVoted." This is in response to line 13 of cardpanel.py: "from cardbox.import(AlreadyVoted, NoQuestion, NoAnswer)". AlreadyVoted is a class of Exception declared in cardbox.py. I am currently troubleshooting this issue.
*<b>Note: So far Brendan has not been able to save any work after restarting SoaS. We need to make sure that we have a way to save our work if it isn't saved automatically.</b>
     −
====Sugar on a Stick (SoaS) -- working====
+
====Sugar on a Stick (SoaS) - updated?====
 
*Download the Assimilate .xo and make a copy of the source
 
*Download the Assimilate .xo and make a copy of the source
 
*Remove the original installation
 
*Remove the original installation
 
*python setup.py dev
 
*python setup.py dev
 
*python setup.py install
 
*python setup.py install
99

edits