-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the activity with sugarlabs/turtleart-activity and apply mexico patches #4
Conversation
Thanks, I will review what you did tomorrow, my time. |
@kiy4h, you have committed Tested logs contain Errors. It might be helpful
The Error is caused by the difference in the TurtleArtActivity.py on the master branch of This might help, I am stuck with fixing collaboration. you can cherry pick TelepathyGLib port commits sugarlabs/turtleart-activity#73 |
I agree with everything up to d4e6b9f and have merged that. I'm now working on the next few commits. |
@kiy4h, 5a12889 adds conflict markers, which means you hadn't finished it before making the commit, instead you removed the conflict markers in further commits. Is suboptimal because we can't use Better is to get to the same place but by better series of commits. Please start a new branch as at the new master d4e6b9f and try cherry-pick fbc466be30368b8e2ebd15445a5a5612acfcf231 again, but this time review the conflicts and fix them. Use an IDE that lets you see the change about to be committed, and lets you select specific lines to be included in a commit. I use emacs with magit for this, but there's gotta be other tools out there, I just don't know what they are yet. Also, in comparing @srevinsaju, thanks for testing. Your work on sugarlabs/turtleart-activity#73 to fix the activity for use in GNOME is yet to be merged, but when it is then I'd expect it to be also added to this activity. |
Fixes #2 |
Sorry, that was due to my habit of autosaving a modified file. |
c3de7d5
to
0d0c724
Compare
Signed-off-by: James Cameron <quozl@laptop.org>
Thanks. I've taken your late porting changes that were in c2de7d5 and not in 0d0c724 and added them to the TurtleBlocks master branch as sugarlabs/turtleart-activity@9335bcd ("Late changes for porting to GTK 3"). Next I'll review and test just the two patches you've added here. |
That was quick! Should I also apply the changes to this repository (in this PR)? |
@kiy4h, if you like, doesn't matter, we can do it later. Now to review your two new patches against the previous patches; I set them side by side and scrolled down each pair;
At this point I stopped looking; whatever method you used to cherry-pick and resolve conflicts didn't work, or there has been a huge redesign of the change. So please check you have properly integrated each change from sugarlabs/turtleart-activity@fbc466b adjusted as necessary for changes since that patch. The way I would do this is start a new branch as of 0d0c724, use |
0d0c724
to
3531f67
Compare
File "/home/walter/Activities/TortugadeMexico/TurtleArt/talogo.py", line 26, in Maybe grab the tautils.py from turtle-activity ??? |
Thanks. Reviewed ae927f2 against sugarlabs/turtleart-activity@fbc466b;
I stopped at that point. Please make sure you check your work; set the two patches side by side and work through every change. Don't rely on automation (e.g. git) to achieve this. You have to understand the reason for every change, and if you don't yet then work on that until you do. If you have questions on specific changes in the original patch, point them out and ask. |
@quozl excuse me, why does this error appear when I ran sugar-activity3 and clicked on the snail button in both TortugadeMexico and turtleart-activity?
Is this a known issue, or did I miss installing something? |
can you reproduce the same error on the regular turtle-blocks activity? |
@walterbender Yes, happens on both turtle activities. |
sugarlabs/TortugadeMexico#4 In slow-mode, the value block labels are modified to show the current value. But when there are no value blocks, there is an indexing error.
I pushed a fix to turtle-activity that can also be applied here. walterbender/turtle-activity@d6e04f6 There seem to be more problems with turtle-activity that are resolved in my version. Not sure how we got out of sync. |
sugarlabs#4 In slow-mode, the value block labels are modified to show the current value. But when there are no value blocks, there is an indexing error.
3531f67
to
b6a6477
Compare
sugarlabs#4 In slow-mode, the value block labels are modified to show the current value. But when there are no value blocks, there is an indexing error.
b6a6477
to
b947625
Compare
sugarlabs#4 In slow-mode, the value block labels are modified to show the current value. But when there are no value blocks, there is an indexing error.
abbeadb
to
2a59916
Compare
sugarlabs#4 In slow-mode, the value block labels are modified to show the current value. But when there are no value blocks, there is an indexing error.
2a59916
to
e988199
Compare
During testing, I've encountered many errors and exceptions.
EDIT 1: This happens when you were trying to choose a block palette, and this error makes it impossible to show most of the blocks. EDIT 2: They were already implemented in both turtle activities, https://github.com/sugarlabs/turtleart-activity/blob/9335bcdc64e379da54d051920aaf5319796be9dd/TurtleArt/util/helpbutton.py#L53 is the one from turtle activity. EDIT 3: The only way to switch between block palettes is by using the arrow, clicking from the palette choices does nothing. EDIT 4: After reading https://developer.sugarlabs.org/sugar3/sugar3.graphics.toolbutton.html , I changed
This one often appears in mexico turtle, but it doesn't happen in turtleart-activity:
Should I grab (necessary changes from) the And this one, using the "clean" block:
I'm still trying to find out what caused this one, since it doesn't happen in turtleart-activity. EDIT: The "clean" block only works if you clean (Ctrl+E) first. |
d158bcb
to
3be4df3
Compare
run pygi-convert.sh (cherry picked from commit 5f9ba4c)
change file() to open()
this problem was caused by this commit: sugarlabs/turtleart-activity@5206ca8 who forgot to use len()
f710eab
to
88a1e9a
Compare
instead of set_icon
88a1e9a
to
bc25107
Compare
Rebased by hand based on your branch and pushed to master. Thanks! |
I cloned https://github.com/sugarlabs/turtleart-activity/ to local and cherry-picked those three commits:
from the mexico branch (https://github.com/sugarlabs/turtleart-activity/tree/mexico) and resolved a few merge conflicts, then I ran ./pygi-convert.sh in the directory. And finally, I pushed to the fork of TortugadeMexico. |
I cloned https://github.com/sugarlabs/turtleart-activity/ to local and cherry-picked those three commits:
from the mexico branch (https://github.com/sugarlabs/turtleart-activity/tree/mexico) and resolved a few merge conflicts, then I ran ./pygi-convert.sh in the directory.
And finally, I pushed to the fork of TortugadeMexico.