Re: [Sugar-devel] Ubuntu 20.10 test report
Had some time, created a PR for the demo animation for logging in (https://github.com/sugarlabs/sugar-docs/pull/202) Something I had not noticed earlier was that the Ubuntu universe repositories are not enabled by default when running Ubuntu Live but are enabled by default after installing the ISO. On Wed, 28 Oct, 2020, 5:02 am James Cameron, wrote: The new gdm3 "one eyed frowning blob monster" is a bit frightening. Very suitable for a pandemic. ;-) https://github.com/sugarlabs/sugar-docs/blob/master/src/images/gdm3-ubuntu-20.10.png Anyone willing to make a demonstration animation to go in our gallery? https://github.com/sugarlabs/sugar-docs/blob/master/src/sugar-logging-in.md -- James Cameron http://quozl.netrek.org/ ___ 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
Re: [Sugar-devel] Documentation update
Hello Jui, There is already a guide to setting up Sugar 0.117 on Debian 11 (https://github.com/sugarlabs/sugar-docs/blob/master/src/sugar-on-debian.md). It was added to the sugar-docs repo as Debian 11/Bullseye is still in 'testing'. Best,Shaan On Monday, September 28, 2020, 9:34:31 AM GMT+5:30, Jui Pradhan wrote: Hi,Thanks for your detailed reply. Yes, I did intend to add a section `Debian 11 (Bullseye) that contains Sugar 0.117`. In Addition to that, the section of pre-built images has a link to Sugar 0.117 but mentions `0.112#Testing` hyperlink. I'm not sure if that needs updating or was put there intentionally. On Mon, Sep 28, 2020, 03:53 James Cameron wrote: Thanks. What do you suggest needs updating? Debian Project has not made a new release beyond Debian 10 (Buster), so for people using Debian GNU/Linux the documentation is current. For further confirmation; 1. Debian 10 (Buster) was released on 6th July 2019. https://en.wikipedia.org/wiki/Debian_version_history#Debian_10_(Buster) 2. Debian 10.6 was released on 26th September 2020. https://www.debian.org/News/2020/20200926 3. Debian 11 (Bullseye) has not been released. https://en.wikipedia.org/wiki/Debian_version_history#Debian_11_(Bullseye) https://www.debian.org/ 4. Debian 10 (Buster) contains Sugar 0.112 https://packages.debian.org/search?keywords=python-jarabe 5. Debian 11 (Bullseye) will contain Sugar 0.117 https://packages.debian.org/search?keywords=python3-jarabe A pull request to add a section for Debian 11 (Bullseye) can be made as a draft now, but I'd like to wait until Debian 11 is released before I merge it. On Sun, Sep 27, 2020 at 11:51:48AM +0530, Jui Pradhan wrote: > Hi, > I came across this documentation which mentions the use of sugar 0.112: [1] > https://github.com/sugarlabs/sugar/blob/master/docs/debian.md > Please confirm that this documentation needs to be updated. > > Regards, > -- > Jui Pradhan > > References: > > [1] https://github.com/sugarlabs/sugar/blob/master/docs/debian.md > ___ > 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 -- Jui Pradhan___ 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
Re: [Sugar-devel] Debian Advocacy for Sugar - Update - Issues found in Memorize Activity v58
This interests me, I'll be going through resources online to get started with it. On Tuesday, July 14, 2020, 3:42:37 PM GMT+5:30, Chihurumnaya Ibiam wrote: I agree it would be of great benefit. -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sun, Jul 12, 2020 at 11:41 PM James Cameron wrote: @Shaan, you've joined the Debian Project as a user, and a bug reporter. As user you have installed Debian and used it. As bug reporter you have detected a problem and created a bug. Joining the Debian Project as a developer would make you more effective in your GSoC role as a Debian advocate for Sugar. You should consider if you have the time in your seven hour day to learn how to do this, on your own. None of your mentors can give you specific instruction, because none of us are Debian Developers. The time you spend learning how to be a Debian Developer can form part of your GSoC project. As a Debian Developer you would contribute to Debian, and report anything of interest to us at Sugar Labs. You could fix the bug you reported. You would be acting alone, and with other Debian Developers. We would evaluate and approve your work as part of GSoC. If the work improves the situation of Sugar on Debian, then it would be positive for your project. But please, don't focus on local packaging. Local packaging will be of little benefit to users of Sugar and Debian. I already do this, and it hasn't helped much at all. @Ibiam, the project idea was written to avoid _requiring_ a student to become a Debian Developer, but it would be of great benefit. https://github.com/sugarlabs/GSoC/blob/master/Ideas-2020.md#debian-advocacy-for-sugar On Sat, Jul 11, 2020 at 02:56:10PM +, shaansubbaiah.c...@bmsce.ac.in wrote: > I can submit bug reports, include PR's in them, but I'm not sure how I would > submit a PR for upstream changes as there are the extra changes required to be > made to get the package working. > Perhaps after some success in packaging and testing locally, I'll be able to > submit those changes aswell. > > The updates are made by the Packaging Team [1]https://salsa.debian.org/groups/ > pkg-sugar-team/-/group_members > > On Saturday, July 11, 2020, 4:50:13 PM GMT+5:30, Chihurumnaya Ibiam > wrote: > > I thought your project was supposed to be you doing downstream updates when > needed. > > Who makes the updates? > > -- > > Ibiam Chihurumnaya > [2]ibiamchihurumn...@gmail.com > > On Sat, Jul 11, 2020 at 12:03 PM Shaan Subbaiah B C <[3] > shaansubbaiah.c...@bmsce.ac.in> wrote: > > No I can't, I'm not part of Debian Sugar Maintainers team. > > On Sat, 11 Jul, 2020, 3:50 pm Chihurumnaya Ibiam, <[4] > ibiamchihurumn...@gmail.com> wrote: > > Can you make the necessary updates downstream? > > -- > > Ibiam Chihurumnaya > [5]ibiamchihurumn...@gmail.com > > > > On Sat, Jul 11, 2020 at 9:42 AM [6]shaansubbaiah.c...@bmsce.ac.in <[7] > shaansubbaiah.c...@bmsce.ac.in> wrote: > > Update, > > 1. sugar-record-activity is v102 in the Debian Archive, and is > based on Python2. The latest release in the Sugar Labs GitHub Repo > is v201, based on Python3. > > 2. Similarly, sugar-finance-activity is v12 in the Debian Archive, > and is based on Python2. The latest release in the Sugar Labs > GitHub Repo is v15, based on Python3. > > The upstream changes haven't been pulled in a while, not sure why. > On Saturday, July 11, 2020, 1:49:29 PM GMT+5:30, [8] > shaansubbaiah.c...@bmsce.ac.in <[9]shaansubbaiah.c...@bmsce.ac.in> > wrote: > > > Sure! I’ll look into the other activities and try to find out why > they aren’t included. > sugar-etoys-activity is part of the the [contrib] archives as it > depends on etoys which is [non-free]. I should be able to install > the package after enabling non-free packages in my sources.list. > > Regarding the other activities, I can try my hand at packaging the > activities ported to Python3. > > On Saturday, July 11, 2020, 5:04:42 AM GMT+5:30, James Cameron < > [10]qu...@laptop.org> wrote: > > Thanks. > > Is there anything you can help with to get those three activities > included? You might first find out why they are not part of the > testing distribution, and see if you can improve the situation. > > Is there anything you can do to get other activities included?
[Sugar-devel] Testing Report - Sugar 0.117-3 on Debian Bullseye
Hello all, The table below shows what was tested on Debian Bullseye and issues found in the process that have yet to be fixed. Almost all the issues reported previously while testing on Debian Buster (with unstable packages) have been fixed already by the organization members :) Though these tests were done to check for issues of Sugar packages on Debian, a lot of the issues found (almost all) are present in the upstream Sugar Labs Github repositories.Issues with the label [NEEDS CONFIRMATION] are reproducible on Debian Bullseye, needs to be tested on other packages/distributions. | Sugar | Debian | As of | | 0.117-3 | Bullseye / 11, (testing packages) | 16 July | Tick ✓ Cross ✕ | Activity | Start/Stop | Functions | Save/Restore | Collaboration | Interface | Other | | Browse | ✕ Debian #963068 | ✓ | ✓ | ✕ | ✓ | 1 ISSUE | | Calculate | ✓ | ✓ | ✓ | ✓ | ✓ | 1 ISSUE | | Chat | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Image Viewer | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Jukebox | ✓ | ✓ | ✓ | - | ✓ | ✓ | | Log | ✓ | ✓ | ✓ | - | ✓ | ✓ | | Pippy | ✓ | ✓ | ✓ | - | ✓ | ✓ | | Read | ✓ | 1 ISSUE | ✓ | ✕ | ✓ | ✓ | | Terminal | ✓ | ✓ | ✓ | - | ✓ | ✓ | | Write | ✓ | ✓ | ✓ | ✕ | ✓ | 2 ISSUES | | EToys | 1 ISSUE | 1 ISSUE | ✕ | - | ✓ | ✓ | | Memorize | ✓ | 1 ISSUE | ✕ | ✓ | ✓ | 2 ISSUES | Read Functions: - Sometimes the last 2 characters in a text file aren’t seen. [NEEDS CONFIRMATION] Reproduced by: Create a text file in Write Activity -> Open with Read Activity -> Last 2 characters are missing. This happens occasionally, the data in the txt file is intact. Calculate Other: - Typing random text instead of digits/variables throws an error. #67 Write Other: - TTS ends halfway through the last word. [DEBIAN ONLY] - Abiword Issues, Different fonts in collaboration, crashes, etc #43 Browse: Other: - Collapsing the Bookmarks bar lags/ causes multiple refreshes? [NEEDS CONFIRMATION] Memorize Functions: - Editing the game doesn’t work, the activity gets stuck #29 Save/Restore: - Activity saves its state to the Datastore but does not load it properly, a fresh instance is started. Therefore, the user is unable to save their progress and continue later. Other: - On hovering over ‘grid size’ buttons, a warning is displayed: (sugar-activity3:1859): Gtk-WARNING **: 21:04:20.416: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menuitem owner SugarPaletteHeader) - The activity’s sounds and images (which are optional) depend on art4apps (http://wiki.sugarlabs.org/go/Art4Apps), which is not installed by default. Hence none of the sounds and words to generate cards dynamically are included. The user is not notified of winning as there is neither text displayed saying he/she has won nor the winning sound (win.wav from art4apps) is played. Etoys: Start/Stop: - Error window upon launching: Error: Cannot find gconf path /desktop/user/sugar Functions: - Clicking the Back/left-arrow button goes to the menu, which is frozen. The programmable car and the menu buttons don’t work, there is no way to navigate back and the only way to exit is using Function buttons (F1 to F3) Best, Shaan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Debian Advocacy for Sugar - Update - Issues found in Memorize Activity v58
I can submit bug reports, include PR's in them, but I'm not sure how I would submit a PR for upstream changes as there are the extra changes required to be made to get the package working.Perhaps after some success in packaging and testing locally, I'll be able to submit those changes aswell. The updates are made by the Packaging Team https://salsa.debian.org/groups/pkg-sugar-team/-/group_members On Saturday, July 11, 2020, 4:50:13 PM GMT+5:30, Chihurumnaya Ibiam wrote: I thought your project was supposed to be you doing downstream updates when needed. Who makes the updates? -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sat, Jul 11, 2020 at 12:03 PM Shaan Subbaiah B C wrote: No I can't, I'm not part of Debian Sugar Maintainers team. On Sat, 11 Jul, 2020, 3:50 pm Chihurumnaya Ibiam, wrote: Can you make the necessary updates downstream? -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sat, Jul 11, 2020 at 9:42 AM shaansubbaiah.c...@bmsce.ac.in wrote: Update, 1. sugar-record-activity is v102 in the Debian Archive, and is based on Python2. The latest release in the Sugar Labs GitHub Repo is v201, based on Python3. 2. Similarly, sugar-finance-activity is v12 in the Debian Archive, and is based on Python2. The latest release in the Sugar Labs GitHub Repo is v15, based on Python3. The upstream changes haven't been pulled in a while, not sure why. On Saturday, July 11, 2020, 1:49:29 PM GMT+5:30, shaansubbaiah.c...@bmsce.ac.in wrote: Sure! I’ll look into the other activities and try to find out why they aren’t included. sugar-etoys-activity is part of the the [contrib] archives as it depends on etoys which is [non-free]. I should be able to install the package after enabling non-free packages in my sources.list. Regarding the other activities, I can try my hand at packaging the activities ported to Python3. On Saturday, July 11, 2020, 5:04:42 AM GMT+5:30, James Cameron wrote: Thanks. Is there anything you can help with to get those three activities included? You might first find out why they are not part of the testing distribution, and see if you can improve the situation. Is there anything you can do to get other activities included? On Fri, Jul 10, 2020 at 12:58:49PM +, shaansubbaiah.c...@bmsce.ac.in wrote: > Hello all, > > I’ve listed the issues found in the Memorize activity. This was the last > activity that I could test on Debian Bullseye. > The remaining activities: sugar-record-activity, sugar-etoys-activity, > sugar-finance-activity from the [1]Sugar Debian Repository are not part of the > Debian Bullseye packages at the moment. > I will post what was tested and the issues found in all the activities on > Debian Bullseye soon. > > ━━━ > > Sugar Memorise Activity v58 > > sudo apt install sugar-memorize-activity > > 1. On hovering over ‘grid size’ buttons, a warning is displayed: > > (sugar-activity3:1859): Gtk-WARNING **: 21:04:20.416: Drawing a gadget >with negative dimensions. > Did you forget to allocate a size? (node menuitem owner >SugarPaletteHeader) > > 2. Editing the game doesn’t work, the activity gets stuck [2]#29 > > 3. Activity saves its state to the Datastore but does not load it properly, a > fresh instance is started. Therefore, the user is unable to save their > progress and continue later. > > 4. The activity’s sounds and images (which are optional) depend on art4apps ( > [3]http://wiki.sugarlabs.org/go/Art4Apps), which is not installed by > default. Hence none of the sounds and words to generate cards dynamically > are included. The user is not notified of winning as there is neither text > displayed saying he/she has won nor the winning sound (win.wav from > art4apps) is played. > > ━━━ > > This simple Multitail config for highlighting the logs that I’ve setup, may be > useful to others: > > # Paste the snippet into /etc/multitail.conf > # (or) save as .multitailrc in the home directory > > # Sugar > colorscheme:sugar > cs_re:green:DEBUG > cs_re:red:ERROR > cs_re_s:yellow:(Warning.*) > cs_re_s:blue:([0-9]{10,}\.[0-9]{6,}) > # > > Usage: multitail -CS sugar -iw "*YOUR_PACKAGE_NAME*" 1 -m 0 > eg. multitail -CS sugar -iw "*Memorize*" 1 -m 0 > > ━━━ > > Best, > Shaan > > > > References: > > [1] https://salsa.debian.org/pkg-sugar-team > [2] https://github.com/sugarlabs/memorize-activity/issues/29 > [3] http://wiki.sugarlabs.org/go/Art4Apps -- James Cameron http://quozl.netrek.org/ ___
Re: [Sugar-devel] Debian Advocacy for Sugar - Update - Issues found in Memorize Activity v58
Update, 1. sugar-record-activity is v102 in the Debian Archive, and is based on Python2. The latest release in the Sugar Labs GitHub Repo is v201, based on Python3. 2. Similarly, sugar-finance-activity is v12 in the Debian Archive, and is based on Python2. The latest release in the Sugar Labs GitHub Repo is v15, based on Python3. The upstream changes haven't been pulled in a while, not sure why. On Saturday, July 11, 2020, 1:49:29 PM GMT+5:30, shaansubbaiah.c...@bmsce.ac.in wrote: Sure! I’ll look into the other activities and try to find out why they aren’t included. sugar-etoys-activity is part of the the [contrib] archives as it depends on etoys which is [non-free]. I should be able to install the package after enabling non-free packages in my sources.list. Regarding the other activities, I can try my hand at packaging the activities ported to Python3. On Saturday, July 11, 2020, 5:04:42 AM GMT+5:30, James Cameron wrote: Thanks. Is there anything you can help with to get those three activities included? You might first find out why they are not part of the testing distribution, and see if you can improve the situation. Is there anything you can do to get other activities included? On Fri, Jul 10, 2020 at 12:58:49PM +, shaansubbaiah.c...@bmsce.ac.in wrote: > Hello all, > > I’ve listed the issues found in the Memorize activity. This was the last > activity that I could test on Debian Bullseye. > The remaining activities: sugar-record-activity, sugar-etoys-activity, > sugar-finance-activity from the [1]Sugar Debian Repository are not part of the > Debian Bullseye packages at the moment. > I will post what was tested and the issues found in all the activities on > Debian Bullseye soon. > > ━━━ > > Sugar Memorise Activity v58 > > sudo apt install sugar-memorize-activity > > 1. On hovering over ‘grid size’ buttons, a warning is displayed: > > (sugar-activity3:1859): Gtk-WARNING **: 21:04:20.416: Drawing a gadget >with negative dimensions. > Did you forget to allocate a size? (node menuitem owner >SugarPaletteHeader) > > 2. Editing the game doesn’t work, the activity gets stuck [2]#29 > > 3. Activity saves its state to the Datastore but does not load it properly, a > fresh instance is started. Therefore, the user is unable to save their > progress and continue later. > > 4. The activity’s sounds and images (which are optional) depend on art4apps ( > [3]http://wiki.sugarlabs.org/go/Art4Apps), which is not installed by > default. Hence none of the sounds and words to generate cards dynamically > are included. The user is not notified of winning as there is neither text > displayed saying he/she has won nor the winning sound (win.wav from > art4apps) is played. > > ━━━ > > This simple Multitail config for highlighting the logs that I’ve setup, may be > useful to others: > > # Paste the snippet into /etc/multitail.conf > # (or) save as .multitailrc in the home directory > > # Sugar > colorscheme:sugar > cs_re:green:DEBUG > cs_re:red:ERROR > cs_re_s:yellow:(Warning.*) > cs_re_s:blue:([0-9]{10,}\.[0-9]{6,}) > # > > Usage: multitail -CS sugar -iw "*YOUR_PACKAGE_NAME*" 1 -m 0 > eg. multitail -CS sugar -iw "*Memorize*" 1 -m 0 > > ━━━ > > Best, > Shaan > > > > References: > > [1] https://salsa.debian.org/pkg-sugar-team > [2] https://github.com/sugarlabs/memorize-activity/issues/29 > [3] http://wiki.sugarlabs.org/go/Art4Apps -- 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] Debian Advocacy for Sugar - Update - Issues found in Memorize Activity v58
Sure! I’ll look into the other activities and try to find out why they aren’t included. sugar-etoys-activity is part of the the [contrib] archives as it depends on etoys which is [non-free]. I should be able to install the package after enabling non-free packages in my sources.list. Regarding the other activities, I can try my hand at packaging the activities ported to Python3. On Saturday, July 11, 2020, 5:04:42 AM GMT+5:30, James Cameron wrote: Thanks. Is there anything you can help with to get those three activities included? You might first find out why they are not part of the testing distribution, and see if you can improve the situation. Is there anything you can do to get other activities included? On Fri, Jul 10, 2020 at 12:58:49PM +, shaansubbaiah.c...@bmsce.ac.in wrote: > Hello all, > > I’ve listed the issues found in the Memorize activity. This was the last > activity that I could test on Debian Bullseye. > The remaining activities: sugar-record-activity, sugar-etoys-activity, > sugar-finance-activity from the [1]Sugar Debian Repository are not part of the > Debian Bullseye packages at the moment. > I will post what was tested and the issues found in all the activities on > Debian Bullseye soon. > > ━━━ > > Sugar Memorise Activity v58 > > sudo apt install sugar-memorize-activity > > 1. On hovering over ‘grid size’ buttons, a warning is displayed: > > (sugar-activity3:1859): Gtk-WARNING **: 21:04:20.416: Drawing a gadget >with negative dimensions. > Did you forget to allocate a size? (node menuitem owner >SugarPaletteHeader) > > 2. Editing the game doesn’t work, the activity gets stuck [2]#29 > > 3. Activity saves its state to the Datastore but does not load it properly, a > fresh instance is started. Therefore, the user is unable to save their > progress and continue later. > > 4. The activity’s sounds and images (which are optional) depend on art4apps ( > [3]http://wiki.sugarlabs.org/go/Art4Apps), which is not installed by > default. Hence none of the sounds and words to generate cards dynamically > are included. The user is not notified of winning as there is neither text > displayed saying he/she has won nor the winning sound (win.wav from > art4apps) is played. > > ━━━ > > This simple Multitail config for highlighting the logs that I’ve setup, may be > useful to others: > > # Paste the snippet into /etc/multitail.conf > # (or) save as .multitailrc in the home directory > > # Sugar > colorscheme:sugar > cs_re:green:DEBUG > cs_re:red:ERROR > cs_re_s:yellow:(Warning.*) > cs_re_s:blue:([0-9]{10,}\.[0-9]{6,}) > # > > Usage: multitail -CS sugar -iw "*YOUR_PACKAGE_NAME*" 1 -m 0 > eg. multitail -CS sugar -iw "*Memorize*" 1 -m 0 > > ━━━ > > Best, > Shaan > > > > References: > > [1] https://salsa.debian.org/pkg-sugar-team > [2] https://github.com/sugarlabs/memorize-activity/issues/29 > [3] http://wiki.sugarlabs.org/go/Art4Apps -- James Cameron http://quozl.netrek.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Debian Advocacy for Sugar - Update - Issues found in Memorize Activity v58
Hello all, I’ve listed the issues found in the Memorize activity. This was the last activity that I could test on Debian Bullseye. The remaining activities: sugar-record-activity, sugar-etoys-activity, sugar-finance-activity from the Sugar Debian Repository are not part of the Debian Bullseye packages at the moment. I will post what was tested and the issues found in all the activities on Debian Bullseye soon. Sugar Memorise Activity v58 sudo apt install sugar-memorize-activity - On hovering over ‘grid size’ buttons, a warning is displayed: (sugar-activity3:1859): Gtk-WARNING **: 21:04:20.416: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menuitem owner SugarPaletteHeader) - Editing the game doesn’t work, the activity gets stuck #29 - Activity saves its state to the Datastore but does not load it properly, a fresh instance is started. Therefore, the user is unable to save their progress and continue later. - The activity’s sounds and images (which are optional) depend on art4apps (http://wiki.sugarlabs.org/go/Art4Apps), which is not installed by default. Hence none of the sounds and words to generate cards dynamically are included. The user is not notified of winning as there is neither text displayed saying he/she has won nor the winning sound (win.wav from art4apps) is played. This simple Multitail config for highlighting the logs that I’ve setup, may be useful to others:# Paste the snippet into /etc/multitail.conf # (or) save as .multitailrc in the home directory # Sugar colorscheme:sugar cs_re:green:DEBUG cs_re:red:ERROR cs_re_s:yellow:(Warning.*) cs_re_s:blue:([0-9]{10,}\.[0-9]{6,}) # Usage: multitail -CS sugar -iw "*YOUR_PACKAGE_NAME*" 1 -m 0 eg. multitail -CS sugar -iw "*Memorize*" 1 -m 0 Best,Shaan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Issues found in Sugar 0.117, fructose activities
Hello all, Listed the issues found this past week. Tested on Sugar 0.117-3, Debian Bullseye. All issues are reproducible on Sugar 0.117, Sugar Live Build. Activities: Browse: Sometimes an error is thrown while trying to copy an image. #112 Chat: Prevent user from sending smileys when disconnected #30. Fixed by Chihurumnaya Ibiam ibiamchihurumn...@gmail.com in #31 Jukebox: Errors when navigating above and below the first and last songs respectively #30 Write: 1] Found multiple issues, later was found out that they were all due to Abiword. Some of the issues that cause the crash: 1. Resizing a cell in a table vertically 2. Moving an image to the extreme left/right of the page 3. Right Click -> Insert Table 4. Right Click -> Click Paragraph -> Click Tabs 5. Right Click -> Set Language 2] Pasting images (eg. the ones copied from the web like above) using CTRL + V throws errors. Whereas, Right Click -> Paste works. # Sugar 0.117-3, Debian Bullseye 1593791090.814256 ERROR root: tempfile is /home/ssbc/.sugar/default/org.laptop.AbiWordActi vity/instance/tmpgscy2lm8.png Traceback (most recent call last): File "/usr/share/sugar/activities/Write.activity/toolbar.py", line 160, in __paste_butto n_cb px_file.write(data) TypeError: write() argument must be str, not bytes # Sugar 0.117, Sugar Live Build Traceback (most recent call last): File "/usr/src/sugar-activities/Write.activity/toolbar.py", line 160, in __paste_button_ cb px_file.write(data) TypeError: write() argument must be str, not bytes 1593854307.251860 ERROR root: tempfile is /home/user/.sugar/default/org.laptop.AbiWordActi vity/instance/tmpmfc6g_tc.png 3] Clicking on the help menu in the activity throws: ** (sugar-activity3:21476): WARNING **: 15:29:36.729: Error when getting information for file “/usr/share/abiword-3.0/help/en-US/interface/dialogopenlinux.html”: No such file or directory Couldn't find a suitable web browser! Set the BROWSER environment variable to your desired browser. Right Click -> Select either Paragraph/Page Numbers/HyperLink/Save Image As -> Click Help 4] Error in the activity log, not sure how to reproduce. Generally appears on closing the activity after attempting to paste images, with errors. (sugar-activity3:20948): Gtk-CRITICAL **: 09:15:33.662: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed /usr/lib/python3/dist-packages/gi/overrides/GObject.py:479: Warning: ../../../gobject/gsignal.c:2563: instance '0x290d5e0' has no handler with id '2367' GObjectModule.signal_handler_block(obj, handler_id) /usr/lib/python3/dist-packages/gi/overrides/GObject.py:560: Warning: ../../../gobject/gsignal.c:2605: instance '0x290d5e0' has no handler with id '2367' return func(*args, **kwargs) /usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1641: Warning: invalid cast from 'GtkOverlay' to 'GtkWindow' return _Gtk_main(*args, **kwargs) The issues listed above for the Write activity haven’t been opened it in Github yet. Best, Shaan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Debian Advocacy Update - Errors in Calculate on Debian Bullseye
;Error at '%(a)', position: %(b)") % \ > ValueError: unsupported format character ''' (0x27) at index 14 > > Reproducile on Ubuntu 20.04 -- We need to implement Exception handlers > > 1. Submitting / pressing ‘=’ without entering any value throws > > 1593527598.469328 DEBUG root: Parsing preprocessed equation: '' > Traceback (most recent call last): > File "/usr/share/sugar/activities/Calculate.activity/layout.py", line 133, >in > lambda w: self._parent.process()], > File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line >517, in process > tree = self.parser.parse(s) > File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line >656, in parse > raise ParseError(msg) > TypeError: __init__() missing 2 required positional arguments: 'start' and > 'eqn'Reproducile on Ubuntu 20.04 -- We need to implement Exception handlers > > I will now move forward with solving these errors and opening issues. > Thanks > Saumya > > On Tue, Jun 30, 2020 at 11:04 PM [2]shaansubbaiah.c...@bmsce.ac.in <[3] > shaansubbaiah.c...@bmsce.ac.in> wrote: > > Hello James, > While testing Sugar 0.117-3 on Debian Bullseye (11 / testing) I have found > numerous errors which were not present while testing on Debian Buster (10 / > stable). > Both versions of the activity are the same, 46. There have been a few > changes made a week back: > > □ fix recommend python3-matplotlib (not python-matplotlib); closes: bug# > 938584, thanks to Sandro Tosi * fix provide ${python3:Provides} (not $ > {python:Provides}) > > I will investigate further and report back. > > ━━━ > > Calculate > > 1. Warning when ateempting to calculate and expression ( pressing ‘=’ ) > > 65535 = (Binary) = (Hexadecimal) > > Gtk-WARNING **: 19:47:57.736: Don't know color 'Gdk.Color(red=6553 > 5, green=65535, blue=65535)' > > 1. Error when using ‘pi’ and ‘e’ in expression: > > 1593526849.741283 ERROR root: Internal error ('UnboundLocalError'>): local variable > 'list' referenced before assignment > Traceback (most recent call last): > File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line >674, in evaluat > e > ret = self._process_node(eqn, state) > File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line >444, in _proces > s_node > return self._process_node(node.value, state) > File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line >515, in _proces > s_node > if [4]node.id not in list(state.used_var_ofs.keys()): > UnboundLocalError: local variable 'list' referenced before assignment > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/usr/share/sugar/activities/Calculate.activity/layout.py", line >133, in > lambda w: self._parent.process()], > File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line >518, in process > res = self.parser.evaluate(tree) > File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line >680, in evaluat > e > raise ParseError(msg, 0) > TypeError: __init__() missing 1 required positional argument: 'eqn' > > 1. Hovering over Algebraic, Trigonometric toolbar buttons throws: > > (sugar-activity3:1791): Gtk-WARNING **: 19:54:34.278: Drawing a gadget >with negative dimen > sions. Did you forget to allocate a size? (node menuitem owner >SugarPaletteHeader) > > 1. Submitting trigonometric functions without values displays an error in > the Activity but only the first character is highlighted red instead of > the full function. > > 2. Submitting logical expressions without values throws: > > 1593527432.306449 DEBUG Calculate: Result: ParseError('Parse error', 6, >'True!=') > Traceback (most recent call last): > File "/usr/share/sugar/activities/Calculate.activity/layout.py", line >133, in > lambda w: self._parent.process()], > File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line >552, in process > self.set_error_equation(eqn) > File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line >444, in set_err > or_equation > self.set_last_equation(eqn) > File "/usr/share/sugar
Re: [Sugar-devel] Debian Advocacy Update - Errors in Calculate on Debian Bullseye
Thanks for testing and confirming that they are reproducible. On Wednesday, July 1, 2020, 1:04:38 AM GMT+5:30, Saumya Mishra <2017...@iiitdmj.ac.in> wrote: Hello Shaan!! Nice work.I have also tested Calculate version 46-1 with Ubuntu 20.04 sucrose package version 0.117.All the Errors are reproducible. - Warning when attempting to calculate and expression ( pressing ‘=’ ) 65535 = (Binary) = (Hexadecimal) Gtk-WARNING **: 19:47:57.736: Don't know color 'Gdk.Color(red=6553 5, green=65535, blue=65535)'Workaround is to use Gdk.RGBA as Gdk.Color is deprecated and will not work with newer versions of Ubuntu and Debian. 1. Error when using ‘pi’ and ‘e’ in expression:1593526849.741283 ERROR root: Internal error (): local variable 'list' referenced before assignment Traceback (most recent call last): File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 674, in evaluat e ret = self._process_node(eqn, state) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 444, in _proces s_node return self._process_node(node.value, state) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 515, in _proces s_node if node.id not in list(state.used_var_ofs.keys()): UnboundLocalError: local variable 'list' referenced before assignment During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/sugar/activities/Calculate.activity/layout.py", line 133, in lambda w: self._parent.process()], File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 518, in process res = self.parser.evaluate(tree) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 680, in evaluat e raise ParseError(msg, 0) TypeError: __init__() missing 1 required positional argument: 'eqn'Reproducible on Ubuntu 20.04 - Hovering over Algebraic, Trigonometric toolbar buttons throws: (sugar-activity3:1791): Gtk-WARNING **: 19:54:34.278: Drawing a gadget with negative dimen sions. Did you forget to allocate a size? (node menuitem owner SugarPaletteHeader)-- Warning is Reproducible - Submitting trigonometric functions without values displays an error in the Activity but only the first character is highlighted red instead of the full function. -- Reproducible on Ubuntu 20.04 - Submitting logical expressions without values throws: 1593527432.306449 DEBUG Calculate: Result: ParseError('Parse error', 6, 'True!=') Traceback (most recent call last): File "/usr/share/sugar/activities/Calculate.activity/layout.py", line 133, in lambda w: self._parent.process()], File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 552, in process self.set_error_equation(eqn) File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 444, in set_err or_equation self.set_last_equation(eqn) File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 439, in set_las t_equation self.layout.last_eq.set_buffer(eqn.create_lasteq_textbuf()) File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 219, in create_ lasteq_textbuf resstr = str(self.result) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 75, in __str__ msg = _("Error at '%(a)', position: %(b)") % \ ValueError: unsupported format character ''' (0x27) at index 14 Reproducile on Ubuntu 20.04 -- We need to implement Exception handlers - Submitting / pressing ‘=’ without entering any value throws 1593527598.469328 DEBUG root: Parsing preprocessed equation: '' Traceback (most recent call last): File "/usr/share/sugar/activities/Calculate.activity/layout.py", line 133, in lambda w: self._parent.process()], File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 517, in process tree = self.parser.parse(s) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 656, in parse raise ParseError(msg) TypeError: __init__() missing 2 required positional arguments: 'start' and 'eqn'Reproducile on Ubuntu 20.04 -- We need to implement Exception handlers I will now move forward with solving these errors and opening issues.ThanksSaumya On Tue, Jun 30, 2020 at 11:04 PM shaansubbaiah.c...@bmsce.ac.in wrote: Hello James, While testing Sugar 0.117-3 on Debian Bullseye (11 / testing) I have found numerous errors which were not present while testing on Debian Buster (10 / stable). Both versions of the activity are the same, 46. There have been a few changes made a week back: - fix recommend python3-matplotlib (not python-matplotlib); closes: bug#938584, thanks to Sandro Tosi * fix provide ${python3:Provides} (not $
[Sugar-devel] Debian Advocacy Update - Errors in Calculate on Debian Bullseye
Hello James, While testing Sugar 0.117-3 on Debian Bullseye (11 / testing) I have found numerous errors which were not present while testing on Debian Buster (10 / stable). Both versions of the activity are the same, 46. There have been a few changes made a week back: - fix recommend python3-matplotlib (not python-matplotlib); closes: bug#938584, thanks to Sandro Tosi * fix provide ${python3:Provides} (not ${python:Provides}) I will investigate further and report back. Calculate - Warning when ateempting to calculate and expression ( pressing ‘=’ ) 65535 = (Binary) = (Hexadecimal) Gtk-WARNING **: 19:47:57.736: Don't know color 'Gdk.Color(red=6553 5, green=65535, blue=65535)' - Error when using ‘pi’ and ‘e’ in expression: 1593526849.741283 ERROR root: Internal error (): local variable 'list' referenced before assignment Traceback (most recent call last): File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 674, in evaluat e ret = self._process_node(eqn, state) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 444, in _proces s_node return self._process_node(node.value, state) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 515, in _proces s_node if node.id not in list(state.used_var_ofs.keys()): UnboundLocalError: local variable 'list' referenced before assignment During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/sugar/activities/Calculate.activity/layout.py", line 133, in lambda w: self._parent.process()], File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 518, in process res = self.parser.evaluate(tree) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 680, in evaluat e raise ParseError(msg, 0) TypeError: __init__() missing 1 required positional argument: 'eqn' - Hovering over Algebraic, Trigonometric toolbar buttons throws: (sugar-activity3:1791): Gtk-WARNING **: 19:54:34.278: Drawing a gadget with negative dimen sions. Did you forget to allocate a size? (node menuitem owner SugarPaletteHeader) - Submitting trigonometric functions without values displays an error in the Activity but only the first character is highlighted red instead of the full function. - Submitting logical expressions without values throws: 1593527432.306449 DEBUG Calculate: Result: ParseError('Parse error', 6, 'True!=') Traceback (most recent call last): File "/usr/share/sugar/activities/Calculate.activity/layout.py", line 133, in lambda w: self._parent.process()], File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 552, in process self.set_error_equation(eqn) File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 444, in set_err or_equation self.set_last_equation(eqn) File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 439, in set_las t_equation self.layout.last_eq.set_buffer(eqn.create_lasteq_textbuf()) File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 219, in create_ lasteq_textbuf resstr = str(self.result) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 75, in __str__ msg = _("Error at '%(a)', position: %(b)") % \ ValueError: unsupported format character ''' (0x27) at index 14 - Submitting / pressing ‘=’ without entering any value throws 1593527598.469328 DEBUG root: Parsing preprocessed equation: '' Traceback (most recent call last): File "/usr/share/sugar/activities/Calculate.activity/layout.py", line 133, in lambda w: self._parent.process()], File "/usr/share/sugar/activities/Calculate.activity/calculate.py", line 517, in process tree = self.parser.parse(s) File "/usr/share/sugar/activities/Calculate.activity/astparser.py", line 656, in parse raise ParseError(msg) TypeError: __init__() missing 2 required positional arguments: 'start' and 'eqn' Best, Shaan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Debian Advocacy for Sugar - Update - 27-June-2020
Hello James, Small update; I have been testing Sugar 0.117-3 on Debian Bullseye for the past few days, there aren’t any noticeable issues I have found that weren’t previously mentioned while testing Sugar 0.117-3 on Debian Buster. I had mentioned an issue present in the Write Activity in an earlier mail, where the Text-To-Speech would cut off before completing the last word. It is present only in the Debian packaged Write Activity (Not present in the latest Sugar Live Build). I haven’t seen any change in the Debian repository that could cause the issue. Funny thing is the text received by the speech function is correct and it does not occur in the Read Activity which has a TTS function implemented similarly. A temporary fix is to append a space followed by a full stop, faking the last word. -self._speech.say_text(text[0]) +self._speech.say_text(text[0]+' .') The root cause of the problem is still unknown. The WebGL issues in JukeBox mentioned in the same mail may be due to my VM. The slow responsiveness of the Browser is not present in the Sugar Live Build, I’ll have to investigate further. I’ll test the other Activity packages available at the Debian Salsa Repository and upload a detailed report. Best, Shaan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] What happened to Pointillism Activity?
Hopefully there weren't any commits ahead of the fork, and if it was deleted, it can be restored. I believe deleted repositories can be restored within 90 days. On Wednesday, June 24, 2020, 2:34:27 PM GMT+5:30, Srevin Saju wrote: Ok. I suspect if any other repository is missing too. I will cross check the repositories on sugarlabs organization with the forks I am having. Thanks for the quick reply. On 24/06/2020 12:01, James Cameron wrote: I've no idea what happened. I've forked it again from rbuj and pushed my latest master branch to it. You also have a fork, please check if there is anything missing. I'll now remove users from sugarlabs org who haven't contributed recently. On Wed, Jun 24, 2020 at 11:11:21AM +0300, Srevin Saju wrote: I have been looking for the Pointillism Activity; I am not sure, if it was deleted on purpose, or if its been moved. I was not been able to find the pointillism activity The last seen url was this: [1]https://github.com/sugarlabs/pointillism [2]https://github.com/sugarlabs/pointillism-activity sed, I can't find it :'( -- V/r Srevin Saju References: [1] https://github.com/sugarlabs/pointillism [2] https://github.com/sugarlabs/pointillism-activity pub RSA 4096/66D390D7 2020-05-19 Srevin Saju (srevinsaju) sub RSA 4096/14479587 2020-05-19 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- V/r Srevin Saju ___ 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
Re: [Sugar-devel] Debian Advocacy for Sugar - Update - 19-June-2020
Hello James, I haven't opened issues for these yet as I'm not certain they're all reproducible on other Linux distributions. Fortunately, Saumya could reproduce some of these and has started making PR's for the same. I didn't want to create multiple issues on Github for which I was not certain was due to Sugar. Do you think that it would be faster to open them on Github and then close if not due to Debian, or rather only open after being confirmed to be due to Sugar? Best,Shaan On Saturday, June 20, 2020, 1:45:20 PM GMT+5:30, James Cameron wrote: Thanks. Good summary. Details got a bit deep; these can be left for issues (if you aren't going to fix them) or pull requests (if you are). On Fri, Jun 19, 2020 at 02:22:13PM +, shaansubbaiah.c...@bmsce.ac.in wrote: > Hello all, > This took quite a while, long post ahead. Testing the Fructose activities: > > Sugar Debian > 0.117-3 Buster / 10.4, (unstable packages) > > Tick ✓ Cross ✕ > > Activity Start/ Functions Save/ Collaboration Interface Other > Stop Restore > ✓ (Search bar ✕ (Error in Collapsing > ✕ [1] doesn’t work Host’s log, the Bookmarks > Browse Debian very well, ✓ doesn’t work, ✓ bar lags/ > # described described causes > 963068 below) below) multiple > refreshes? > ✓ (Nothing > Calculate ✓ ✓ ✓ ✓ thats not ✓ > tracked on > Github) > Chat ✓ ✓ ✓ ✓ ✓ ✓ > Image ✓ ✓ ✓ ✓ ✓ ✓ > Viewer > ✕ Multiple > issues, > mostly due > Jukebox ✓ ✓ ✓ - to the ✓ > OpenGL > Renderer, > described > below > ✓ > Log ✓ ✓ (Saving - ✓ ✓ > log as > a zip) > Dark mode is > not applied > Pippy ✓ ✓ ✓ - ✓ to Pippy tabs > created after > Dark Mode is > enabled. > ✓ (Sometimes > last 2 > characters in ✕ (Stuck at > Read ✓ a txt file ✓ ‘Receiving ✓ ✓ > are missing. book’) > Described > below ) > Warning in > the activity > Terminal ✓ ✓ ✓ - ✓ log, > described > below > 1. TTS ends > halfway > through the > ✕ [2]#40, last word. > Write ✓ ✓ ✓ Reported by ✓ 2. Default > Saumya font differs > for guest in > collaboration > [3]#43 > > ━━━ > > Terminal > > /usr/lib/python3/dist-packages/sugar3/activity/activityinstance.py:60: > Warning: value "((GtkInputPurpose) 10) > " of type 'GtkInputPurpose' is invalid or out of
[Sugar-devel] Debian Advocacy for Sugar - Update - 19-June-2020
Hello all, This took quite a while, long post ahead. Testing the Fructose activities: | Sugar | Debian | | 0.117-3 | Buster / 10.4, (unstable packages) | Tick ✓ Cross ✕ | Activity | Start/Stop | Functions | Save/Restore | Collaboration | Interface | Other | | Browse | ✕ Debian #963068 | ✓ (Search bar doesn’t work very well, described below) | ✓ | ✕ (Error in Host’s log, doesn’t work, described below) | ✓ | Collapsing the Bookmarks bar lags/ causes multiple refreshes? | | Calculate | ✓ | ✓ | ✓ | ✓ | ✓ (Nothing thats not tracked on Github) | ✓ | | Chat | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Image Viewer | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Jukebox | ✓ | ✓ | ✓ | - | ✕ Multiple issues, mostly due to the OpenGL Renderer, described below | ✓ | | Log | ✓ | ✓ | ✓ (Saving log as a zip) | - | ✓ | ✓ | | Pippy | ✓ | ✓ | ✓ | - | ✓ | Dark mode is not applied to Pippy tabs created after Dark Mode is enabled. | | Read | ✓ | ✓ (Sometimes last 2 characters in a txt file are missing. Described below ) | ✓ | ✕ (Stuck at ‘Receiving book’) | ✓ | ✓ | | Terminal | ✓ | ✓ | ✓ | - | ✓ | Warning in the activity log, described below | | Write | ✓ | ✓ | ✓ | ✕ #40, Reported by Saumya | ✓ | 1. TTS ends halfway through the last word. 2. Default font differs for guest in collaboration #43 | Terminal /usr/lib/python3/dist-packages/sugar3/activity/activityinstance.py:60: Warning: value "((GtkInputPurpose) 10) " of type 'GtkInputPurpose' is invalid or out of range for property 'input-purpose' of type 'GtkInputPurpose' activity.show() 1592556015.448473 DEBUG root: Activity.__canvas_map_cb /usr/share/sugar/activities/Terminal.activity/terminal.py:378: Warning: value "((GtkInputPurpose) 10)" of typ e 'GtkInputPurpose' is invalid or out of range for property 'input-purpose' of type 'GtkInputPurpose' index = self._notebook.append_page(box, tablabel) /usr/share/sugar/activities/Terminal.activity/terminal.py:453: Warning: value "((GtkInputPurpose) 10)" of typ e 'GtkInputPurpose' is invalid or out of range for property 'input-purpose' of type 'GtkInputPurpose' self._notebook.props.page = index Browse All tests apart from the start/stop were done after installing libglib2.0-dev package which prevented the activity from opening. - Typing something in the search bar and clicking the search button or hitting Enter doesn’t do anything; whereas searching through the address bar works. - Typing in the address bar causes several (possibly 100’s) of warnings in the activity log (sugar-activity3:7184): Gtk-WARNING **: 16:25:08.511: Failed to set text from markup due to error parsing mar kup: Error on line 2: Entity did not end with a semicolon; most likely you used an ampersand character withou t intending to start an entity — escape ampersand as Jukebox - Moving the OpenGL renderer window around creates a Windows XP-like Solitare effect - Closing the OpenGL renderer window throws an error in the Jukebox log 1592561580.133608 ERROR root: ERROR MESSAGE: gst-resource-error-quark: Quit requested (3) 1592561580.133807 ERROR root: ERROR DETAIL: gstglimagesink.c(1781): gst_glimage_sink_show_frame (): /GstPipel ine:pipeline0/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstAutoVideoSink:videosink/GstGLImageSinkB in:videosink-actual-sink-glimage/GstGLImageSink:sink - Seeking ahead or back causes the OpenGL visualization to freeze, takes quite some time to recover, or doesn’t recover at all. - Clicking the full-screen button causes another OpenGL visualization of the same size to spawn on the left of the previous visualization, which is now frozen. - Sometimes while closing and playing songs in the playlist a huge amount of warnings appear in the jukebox log, not sure how to reproduce properly. 1592562307.413873 ERROR root: ERROR MESSAGE: gst-resource-error-quark: Quit requested (3) 1592562307.414180 ERROR root: ERROR DETAIL: gstglimagesink.c(1781): gst_glimage_sink_show_frame (): /GstPipeline:pipeline0/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstAutoVideoSink:videosink/GstGLImageSinkBin:videosink-actual-sink-glimage/GstGLImageSink:sink (sugar-activity3:6947): GStreamer-CRITICAL **: 15:55:07.546: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed (sugar-activity3:6947): GStreamer-CRITICAL **: 15:55:07.547: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed . . This line repeats around 100+ times . (sugar-activity3:6947): GStreamer-CRITICAL **: 15:55:07.874: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed sys:1: Warning: g_object_ref: assertion 'G_IS_OBJECT (object)' failed sys:1: Warning: instance with invalid (NULL) class pointer sys:1: Warning: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed Also, in ~/.sugar/default/data I noticed there were ~60 copies of the same song I had been playing. I had downloaded the song only once, perhaps it is something to do with how
Re: [Sugar-devel] Updates: Python3 app store (aslov4) : Sugar App Store
Hey Srevin, This looks really good! Page load times, search was fast. Haven't tried downloading any Activities though. It may just be me but the page has a little too much contrast with the colors.Pagination might also be a good addition. Cool lava lamp toggle :P Will be waiting for a full release Best,Shaan On Tuesday, June 16, 2020, 9:24:53 PM GMT+5:30, Srevin Saju wrote: Hello, Hope all are having a safe week amid nCoV. I and Manish (su...@radii.dev) had been working on the GSoC project which did not get a slot (Python3 app store aslov4), and I guess we have made good progress in it. We decided to collaborate on the project because a frontend and backend developer combo helps to get the best features of both ends :D. To avoid misconceptions and misinterpretations, please read the entire email before replying. Thanks! :P Need Statement: In short, the most important points - Create the simplest possible app store for Sugar activities, where each activity included has been (a) ported to Python 3 and released, and (b) tested on Sugar Live Build. - We used to have an app store for Sugar activities, but because we can't seem to attract any PHP developers the app store has failed to keep up with development. - We now use activities.sugarlabs.org for Python 2 activities only. - We have tried to make a replacement for activities.sugarlabs.org three times, and each time the features we need were not finished. These projects have been too ambitious and have not been supported collectively by the Sugar Labs community. ~ from https://github.com/sugarlabs/GSoC/blob/master/Ideas-2020.md#sugar-app-store-for-python-3-activities-aslov4 This made us rethink the idea of a redesigned app store for sugarlabs. This, would be a collection of all the activities in sugarlabs organization which can be successfully built without errors. The new app store is special in a lot of ways, let me bring out the most important points: - The appstore is built in pure static HTML, Vanilla Javascript and JQuery. Anyone with basic Javascript knowledge can easily add features. Theming and customization are provided by Bootstrap4. The theme, scripts are completely independent of each other. Changes to the will not affect the generation of the appstore. - Search function is provided by a powerful Javascript library called minisearch which is an open source search indexer. All processing is therefore done on client side. The benefits of using an external library are many, as you know, - The App Store is based on JSON (Javascript Object Notation). an "index.json" is produced by the generator helper script so that search indexing, activity filtering can be easily done on the client side. - Python scripts are used to generate static HTML files of the app bundles and index.json. The activity's unique HTML document is produced without style / css, and are externally loaded, so that it can be customized / removed whenever necessary (for example on very low bandwidth connections, or for adding another theme) - Sugar Appstore depends on static HTMLs also because, it can be useful for SEOs, and to provide an external link to the activity from a third party website. Dynamically filtered search results might not be static. Providing a correct link to the bundle helps another user to share a specific activity bundle with another - All the activities on https://github.com/sugarlabs are indexed automatically and built using Continuous Integration (GitHub Actions) over here. Out of 300+ bundles, 199 and still counting have successfully built a *.xo bundle and are continuously uploaded to CDN. - The appstore could be downloaded for Offline use, or can be hosted on a local server if a user would not like to use the online one. This is specifically useful, if a school would host, the sugar appstore on its local server, so students could download activities without accessing the internet. The entire app store (batteries and bundles included) weighs approximately 613 MB. See this for a detailed idea. - In case a user would like to add another bundle to the sugar appstore, previously he/she had to have a SugarLabs shell account (AFAIK, and as far as I understand). This might limit the accessibility to some users. This is hence solved by a new system of adding bundles to the activity. Pull Request to Add Applications is system which I adopted from the AppImage Hub (https://github.com/appimage/appimage.github.io) where a similar app store is built based on the same concept. Every PR is tested by continuous integration, and then all successfully merged PRs are added to the website, and the static website rebuild is triggered on each commit. A similar idea is implemented in Sugarlabs Appstore. This ensures that a .xo can be built on another host also using the same commands. Improving the quality of the
Re: [Sugar-devel] Debian Advocacy for Sugar - Update - 13-June-2020
Yes, the testing of Sugar 117-3 on Debian 10.4 Buster/Stable was done to establish a baseline. This should help in determining if issues are due to Sugar or Debian while testing on Debian 'testing' and 'unstable'. I will include the successful tests next time, might take a little longer. I'll report Debian issues through the mailing list, Sugar issues through Github. On Monday, June 15, 2020, 6:23:36 AM GMT+5:30, James Cameron wrote: Thanks. I'm taking no action here, I'll use the GitHub issues once I get to them later today. I note your project updates almost entirely deal with test faiures. Could you please also include a separate section which lists the successful testing and how it was performed? This is likely to be much larger, but easier to prepare because it can come from your test plan. Also, you say you tested Sugar 0.117 on Debian 10.4. This is not a combination available to users of Debian 10.4 (Buster), as it has Sugar 0.112. Please remind me why you tested it? I guess to establish a baseline before testing Sugar 0.117 on Debian Testing or Debian Unstable. It is easy to miss the overall project plan during small updates. On Sat, Jun 13, 2020 at 02:59:50PM +, shaansubbaiah.c...@bmsce.ac.in wrote: > Hello all, > Project update; almost done with testing the fructose set of activities in > Sugar 117-3 on Debian 10.4, issues found so far: > > Debian Related: > > 1. glib-compile-schemas not found. Due to missing libglib2.0-bin package > > Sugar Related: > > 1. Write Activity -> Default font is different for guest on joining > collaboration session. [1]#43 > > 2. Sugar 117-3 on Debian - AttributeError: ‘str’ object has no attribute > ‘decode’ [2]#923 > > 3. Error set_active() failed: org.freedesktop.DBus.Error.NoReply: Message > recipient disconnected from message bus without replying as seen in [3] > issue #840 is reproducible on Sugar 117-3, Debian 10.4 by closing any > activity. > > 4. Found on Sugar 117-3, Debian 10.4. (Not reproducible on OLPC OS 18.04): > > Adding another user as a friend produces the error: > > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/jarabe/view/buddymenu.py", line >205, in _make_friend_cb > friends.get_model().make_friend(self._buddy) > File "/usr/lib/python3/dist-packages/jarabe/model/friends.py", line 130, >in make_friend > self.save() > File "/usr/lib/python3/dist-packages/jarabe/model/friends.py", line 160, >in save > cp.add_section(section) > File "/usr/lib/python3.8/configparser.py", line 1207, in add_section > self._validate_value_types(section=section) > File "/usr/lib/python3.8/configparser.py", line 1180, in >_validate_value_types > raise TypeError("section names must be strings") > TypeError: section names must be strings > > Similar to [4]sugar PR #921 > > ━━━ > Removing the same user as a friend produces: > > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/jarabe/desktop/groupbox.py", line >67, in _friend_removed_cb > icon = self._friends[key] > KeyError: >"b'B3NzaC1kc3MAAACBAP1g0TB6F/q8LSrX2APaHBJm89b+IocnRJVovwu4pEMVlLmg5fScoXUZ1qi8l04hQOxetyWmc4wYiFMS/2MXmb7PvWT0Mlmx1y9A3Am3y0XP5870uYNgXJ4UgL9lGX6uz3ExsqcG9X5X5wbwIJ1ckQxXnxf2VxwUxBd2p4B/tPG1FQCN1CuSl6JjCOm4RS+nCuI3mIlalwAAAIEA6YEg849ugww7gpmT7aUHl3qetdtl+/fkL8BxyYnOeaR2Mcs3phrYQNvm2/ac0HA16TqJOoVatoPpD/Z84IBQxU2wNQilhU9VEwiP/+Wrukg3LbU/oyEPnOOJfasR0lgzLL+RR20zLtixer3irlsv2wvZU/9PFbZvuCEzbB3LiC0AAACBAOWzSUShSPWHQGKALTyWTvl481IIxPwizbKmraEeKm3xvqB8dP5Hy2QQlRXZrb1QgMDoARRYxzUoO8/PKzLSpFYoQvF9v31DtJGkNilNdfRuiJTWZJah3DBYMAiPHU478DH3zcHbRYI4Prkmu00v+smv7qSUhDQrClMF+ka6mJN4'" > > Somewhat similar to [5]sugar-toolkit-gtk3 issue #433 > > ━━━ > > Edge case; while trying to add the user as a friend using a VM clone. (Not > important) > > Error.NoReply: Message recipient disconnected from message bus without >replying > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/jarabe/view/buddymenu.py", line >205, in _make_friend_cb > friends.get_model().make_friend(self._buddy) > File "/usr/lib/python3/dist-packages/jarabe/model/friends.py", line 126, >in make_friend > buddy = FriendBuddyModel(key=buddy.key, nick=buddy.nick, > File "/usr/lib/python3/dist-package
[Sugar-devel] Debian Advocacy for Sugar - Update - 13-June-2020
Hello all, Project update; almost done with testing the fructose set of activities in Sugar 117-3 on Debian 10.4, issues found so far: Debian Related: - glib-compile-schemas not found. Due to missing libglib2.0-bin package Sugar Related: - Write Activity -> Default font is different for guest on joining collaboration session. #43 - Sugar 117-3 on Debian - AttributeError: ‘str’ object has no attribute ‘decode’ #923 - Error set_active() failed: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying as seen in issue #840 is reproducible on Sugar 117-3, Debian 10.4 by closing any activity. - Found on Sugar 117-3, Debian 10.4. (Not reproducible on OLPC OS 18.04): Adding another user as a friend produces the error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/jarabe/view/buddymenu.py", line 205, in _make_friend_cb friends.get_model().make_friend(self._buddy) File "/usr/lib/python3/dist-packages/jarabe/model/friends.py", line 130, in make_friend self.save() File "/usr/lib/python3/dist-packages/jarabe/model/friends.py", line 160, in save cp.add_section(section) File "/usr/lib/python3.8/configparser.py", line 1207, in add_section self._validate_value_types(section=section) File "/usr/lib/python3.8/configparser.py", line 1180, in _validate_value_types raise TypeError("section names must be strings") TypeError: section names must be strings Similar to sugar PR #921 Removing the same user as a friend produces:Traceback (most recent call last): File "/usr/lib/python3/dist-packages/jarabe/desktop/groupbox.py", line 67, in _friend_removed_cb icon = self._friends[key] KeyError: "b'B3NzaC1kc3MAAACBAP1g0TB6F/q8LSrX2APaHBJm89b+IocnRJVovwu4pEMVlLmg5fScoXUZ1qi8l04hQOxetyWmc4wYiFMS/2MXmb7PvWT0Mlmx1y9A3Am3y0XP5870uYNgXJ4UgL9lGX6uz3ExsqcG9X5X5wbwIJ1ckQxXnxf2VxwUxBd2p4B/tPG1FQCN1CuSl6JjCOm4RS+nCuI3mIlalwAAAIEA6YEg849ugww7gpmT7aUHl3qetdtl+/fkL8BxyYnOeaR2Mcs3phrYQNvm2/ac0HA16TqJOoVatoPpD/Z84IBQxU2wNQilhU9VEwiP/+Wrukg3LbU/oyEPnOOJfasR0lgzLL+RR20zLtixer3irlsv2wvZU/9PFbZvuCEzbB3LiC0AAACBAOWzSUShSPWHQGKALTyWTvl481IIxPwizbKmraEeKm3xvqB8dP5Hy2QQlRXZrb1QgMDoARRYxzUoO8/PKzLSpFYoQvF9v31DtJGkNilNdfRuiJTWZJah3DBYMAiPHU478DH3zcHbRYI4Prkmu00v+smv7qSUhDQrClMF+ka6mJN4'" Somewhat similar to sugar-toolkit-gtk3 issue #433 Edge case; while trying to add the user as a friend using a VM clone. (Not important) Error.NoReply: Message recipient disconnected from message bus without replying Traceback (most recent call last): File "/usr/lib/python3/dist-packages/jarabe/view/buddymenu.py", line 205, in _make_friend_cb friends.get_model().make_friend(self._buddy) File "/usr/lib/python3/dist-packages/jarabe/model/friends.py", line 126, in make_friend buddy = FriendBuddyModel(key=buddy.key, nick=buddy.nick, File "/usr/lib/python3/dist-packages/jarabe/model/friends.py", line 49, in __init__ self._set_online_buddy(buddy) File "/usr/lib/python3/dist-packages/jarabe/model/friends.py", line 64, in _set_online_buddy if buddy.contact_id != self.contact_id: AttributeError: 'OwnerBuddyModel' object has no attribute 'contact_id' Best, Shaan ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Debian Advocacy for Sugar - Update
Hello James, Regarding reporting the bug to Debian, should reporting via the reportbug package be suitable or would it be better to mail it instead? I was following https://www.debian.org/Bugs/Reporting which suggested using the package. I am not posting in their mailing list but since it is the first time I’m reporting a bug from Sugar, I’m a little cautious. On Friday, June 12, 2020, 3:31:20 PM GMT+5:30, James Cameron wrote: This is not a complete response. 1. the debian/patches are applied during package building (dpkg-build) and not during package installation; though I agree you could explain it as the installation phase of the building, it is confusing, 2. a Debian policy or convention requires that GSchema source files are placed in a system directory with other GSchema source files, and this requires the programmer to declare in advance each setting, 3. previously, GConf was used to hold the home page link, so that when a user selected a new home page it would be stored in GConf, 4. the port from GConf to Gio.Settings was momentarily blocked by a feature of Gio.Settings that GConf does not suffer from; that the settings keys must be in a schema; look through my changes to this code in the _master_ branch of Browse, 5. at Sugar Labs we also release Browse as a bundle file, which cannot add dependencies such as libglib*, 6. if there is no problem with running Browse on Debian using the Sugar Labs bundle or repository, then there's nothing we need to do at Sugar Labs on Browse, (unless a good argument can be made for using something other than Gio.Settings), 7. if the problem you're looking at is "glib-compile-schemas: not found", in a Debian package of Browse, then (a) report it to Debian, or (b) identify the package that contains the program and report it to Debian. On Fri, Jun 12, 2020 at 07:55:32AM +, shaansubbaiah.c...@bmsce.ac.in wrote: > Regarding the error: glib-compile-schemas: not found, > > Here’s how it was working while libglib2.0-bin was a dependency/[1]commit > c5717fc3: > > 1. Creates gschemas.compiled in ~/.sugar/default/org.laptop.WebActivity/data/ > schemas/ directory (if missing). > 2. Creates org.laptop.WebActivity.gschema.xml from code in the same directory > (if missing). > 3. Runs glib-compile-schemas org.laptop.WebActivity.gschema.xml to generate > the compiled schemas. > 4. Deletes org.laptop.WebActivity.gschema.xml > 5. Generates local Gio.Settings based on the compiled schema by calling > Gio.Settings.new_full(schema, None, None) > > In the commit [2]0977ac69, > > • Non compiled org.laptop.WebActivity.gschema.xml has been copied to /usr/ > share/glib-2.0/schemas/ so as to avoid the more tedious process of > generating it in the browser.py > -browser.py still calls glib-compile-schemas which is missing from /usr/bin > / as it is not installed. > • Without glib-compile-schemas from the lib-glib2.0-bin package, I don’t see > how the compiled schemas (gschemas.compiled) can be generated post sucrose > install. > > In the same commit, in debian/rules: > > -binary-post-install/$(pkg):: > - glib-compile-schemas > debian/$(cdbs_curpkg)/usr/share/sugar/activities/Browse.activity > +binary-fixup/$(pkg):: > + rm -f > debian/*/usr/share/sugar/activities/Browse.activity/org.laptop.WebActivity.gschema.xml > > Removes calling glib-compile-schemas post installation at /usr/share/sugar/ > activities/Browse.activity. > > Perhaps it may be required to include calling glib-compile-schemas post > installation at /usr/share/glib-2.0/schemas ? > > On Thursday, June 11, 2020, 8:53:40 PM GMT+5:30, Chihurumnaya Ibiam > wrote: > > [3] > > On Thu, Jun 11, 2020 at 1:39 PM [4]shaansubbaiah.c...@bmsce.ac.in <[5] > shaansubbaiah.c...@bmsce.ac.in> wrote: > > Hello Ibiam, > > I am not sure if I got this right regarding the difference in line numbers > but [6]patch 1001 changes the schema indentation as discussed earlier. This > patch has been numbered 1001, according to the README in the same commit, > “1xxx: Possibly relevant for upstream adoption”. It has changes ahead of > upstream. > > Yes it was labeled "Possibly relevant for upstream adoption" because it's only > relevant for the official Debian release. > > I believe this is a Debian patch and the diff is kept separate from > browser.py( which is pulled from the upstream Github repository). Since the > patch (located at /debian/patches/1001_un-embed_gsettings_schema.patch of > the Salsa repository) is applied during installation, the line number > changes (self.settings = _get_local_settings(activity)from L145 -> L147) is > seen only in the installed Activity directory/Tra
Re: [Sugar-devel] Debian Advocacy for Sugar - Update
Regarding the error: glib-compile-schemas: not found, Here’s how it was working while libglib2.0-bin was a dependency/commit c5717fc3: - Creates gschemas.compiled in ~/.sugar/default/org.laptop.WebActivity/data/schemas/ directory (if missing). - Creates org.laptop.WebActivity.gschema.xml from code in the same directory (if missing). - Runs glib-compile-schemas org.laptop.WebActivity.gschema.xml to generate the compiled schemas. - Deletes org.laptop.WebActivity.gschema.xml - Generates local Gio.Settings based on the compiled schema by calling Gio.Settings.new_full(schema, None, None) In the commit 0977ac69, - Non compiled org.laptop.WebActivity.gschema.xml has been copied to /usr/share/glib-2.0/schemas/ so as to avoid the more tedious process of generating it in the browser.py -browser.py still calls glib-compile-schemas which is missing from /usr/bin/ as it is not installed. - Without glib-compile-schemas from the lib-glib2.0-bin package, I don’t see how the compiled schemas (gschemas.compiled) can be generated post sucrose install. In the same commit, in debian/rules:-binary-post-install/$(pkg):: - glib-compile-schemas debian/$(cdbs_curpkg)/usr/share/sugar/activities/Browse.activity +binary-fixup/$(pkg):: + rm -f debian/*/usr/share/sugar/activities/Browse.activity/org.laptop.WebActivity.gschema.xml Removes calling glib-compile-schemas post installation at /usr/share/sugar/activities/Browse.activity. Perhaps it may be required to include calling glib-compile-schemas post installation at /usr/share/glib-2.0/schemas ? On Thursday, June 11, 2020, 8:53:40 PM GMT+5:30, Chihurumnaya Ibiam wrote: On Thu, Jun 11, 2020 at 1:39 PM shaansubbaiah.c...@bmsce.ac.in wrote: Hello Ibiam, I am not sure if I got this right regarding the difference in line numbers but patch 1001 changes the schema indentation as discussed earlier. This patch has been numbered 1001, according to the README in the same commit, “1xxx: Possibly relevant for upstream adoption”. It has changes ahead of upstream. Yes it was labeled "Possibly relevant for upstream adoption" because it's only relevant for the official Debian release. I believe this is a Debian patch and the diff is kept separate from browser.py( which is pulled from the upstream Github repository). Since the patch (located at /debian/patches/1001_un-embed_gsettings_schema.patch of the Salsa repository) is applied during installation, the line number changes (self.settings = _get_local_settings(activity)from L145 -> L147) is seen only in the installed Activity directory/Traceback. The Github and Salsa repositories have the above line in browser.py at L145 as they do not have the patch applied. Yes this is what I've been trying to make you conclude, and you also could have done this by viewing the source code of the activity in the debian release. I have to still find out why the issue occurs even with the patch. I was unable to reproduce the issue with libglib2.0-dev removed and the Web Activity log files deleted. I’ll restore a snapshot and try debugging. Yes that's the next step to take. Best, Shaan Thanks for the update.-- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Wednesday, June 10, 2020, 11:14:19 PM GMT+5:30, Chihurumnaya Ibiam wrote: The commit #930e1c applies patch to the package, the commit message said Embedding the GSettings schema complicates generating during build. This patch replicates the embedded schema as standalone file (partly reverting git commit ffdacaa). . Additionally, this patch sprinkles some indentation changes to the embedded schema, to ensure that if upstream changes the schema then applying the patch will fail hard The commit message says the commit was reverting ffdacaa while having the schema embedded with some indentation changes "to ensure that if the upstream changes the schema then applying the patch will fail hard". The actual issue isn't the commit changing the indentation as that's not what's been addressed. I've not been able to see any commit that change the lines, the error says L192 of webactivity.py calls TabbedView in browser.py and this is where the lines get mixed up. Yes you'll have to investigate further why the schema can't be loaded but also make sure the files in all 3 places correspond - sugar, salsa, github -. -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Wed, Jun 10, 2020 at 5:26 PM shaansubbaiah.c...@bmsce.ac.in wrote: Hello James and Ibiam, I should have been more clearer in my mail, the diff posted in the previous mail was generated by using Python with the difflib library. I have now gone through the commits in the Salsa repository and have found the commit that has caused the line changes. I’m not completely sure what the commit message means, it appears the difference in the indentation of the embedded schema was used to ensure that the patch i
Re: [Sugar-devel] Debian Advocacy for Sugar - Update
Hello Ibiam, I am not sure if I got this right regarding the difference in line numbers but patch 1001 changes the schema indentation as discussed earlier. This patch has been numbered 1001, according to the README in the same commit, “1xxx: Possibly relevant for upstream adoption”. It has changes ahead of upstream. I believe this is a Debian patch and the diff is kept separate from browser.py( which is pulled from the upstream Github repository). Since the patch (located at /debian/patches/1001_un-embed_gsettings_schema.patch of the Salsa repository) is applied during installation, the line number changes (self.settings = _get_local_settings(activity)from L145 -> L147) is seen only in the installed Activity directory/Traceback. The Github and Salsa repositories have the above line in browser.py at L145 as they do not have the patch applied. I have to still find out why the issue occurs even with the patch. I was unable to reproduce the issue with libglib2.0-dev removed and the Web Activity log files deleted. I’ll restore a snapshot and try debugging. Best, Shaan On Wednesday, June 10, 2020, 11:14:19 PM GMT+5:30, Chihurumnaya Ibiam wrote: The commit #930e1c applies patch to the package, the commit message said Embedding the GSettings schema complicates generating during build. This patch replicates the embedded schema as standalone file (partly reverting git commit ffdacaa). . Additionally, this patch sprinkles some indentation changes to the embedded schema, to ensure that if upstream changes the schema then applying the patch will fail hard The commit message says the commit was reverting ffdacaa while having the schema embedded with some indentation changes "to ensure that if the upstream changes the schema then applying the patch will fail hard". The actual issue isn't the commit changing the indentation as that's not what's been addressed. I've not been able to see any commit that change the lines, the error says L192 of webactivity.py calls TabbedView in browser.py and this is where the lines get mixed up. Yes you'll have to investigate further why the schema can't be loaded but also make sure the files in all 3 places correspond - sugar, salsa, github -. -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Wed, Jun 10, 2020 at 5:26 PM shaansubbaiah.c...@bmsce.ac.in wrote: Hello James and Ibiam, I should have been more clearer in my mail, the diff posted in the previous mail was generated by using Python with the difflib library. I have now gone through the commits in the Salsa repository and have found the commit that has caused the line changes. I’m not completely sure what the commit message means, it appears the difference in the indentation of the embedded schema was used to ensure that the patch in the commit would fail if upstream changed the schema. Linked here, #930e1c Also, libglib2.0-bin had been added as a dependency in commit #c5717 and had been later replaced by a GSettings schema (org.laptop.WebActivity.gschema.xml) located at /usr/share/glib-2.0/schemas/ . Linked here, #0977a, making Browse activity independent of libglib2.0-bin. I’ll have to investigate further as to why the Browse activity cannot detect the GSettings schema. Best, Shaan On Wednesday, June 10, 2020, 12:16:21 PM GMT+5:30, James Cameron wrote: Shaan, * the sources are different, and this is not unusual, and not a problem worth reporting unless an explanation cannot be found, * the commits in salsa explain the reason for every difference. Now that you have detected a difference, please make sure you read the commits, in all aspects; * the commit message, * the commit diff, * the context or ordering in which the diff occurs. The diff format must be learned to the point you can be comfortable to make a change by hand. Not that you have to; tools like patch(1) can do it for you, but sometimes a diff is malformed when it is sent by other means than git. On Tue, Jun 09, 2020 at 06:29:10PM +0100, Chihurumnaya Ibiam wrote: > Thanks for the update. > > Both files in the Debian salsa repo and the github repo have matching lines > and > I'm also guessing the file at > the installed /usr/share/activities/browseactivity will also have matching - > can you confirm if it does? - lines > but the traceback prints the wrong lines. > > -- > > Ibiam Chihurumnaya > [1]ibiamchihurumn...@gmail.com > > On Tue, Jun 9, 2020 at 6:02 PM [2]shaansubbaiah.c...@bmsce.ac.in <[3] > shaansubbaiah.c...@bmsce.ac.in> wrote: > > Hello Ibiam, > > Comparing browse.py in: > > 1. Github repository [4]https://github.com/sugarlabs/browse-activity/ > 2. Debian Salsa repository [5]https://salsa.debian.org/pkg-sugar-team/ > sugar-browse-activity/-/blob/master/browser.py > 3. The installed activity at /usr/share/activities/browseactivity >
Re: [Sugar-devel] Debian Advocacy for Sugar - Update
Hello Ibiam, Comparing browse.py in: - Github repository https://github.com/sugarlabs/browse-activity/ - Debian Salsa repository https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/blob/master/browser.py - The installed activity at /usr/share/activities/browseactivity The Github and Salsa versions have matching line numbers. Difference between the Github and installed versions: --- bgit # browse.py in Github +++ bdeb # installed browse.py @@ -110,15 +110,13 @@ [ '', '', -'', -'', -"''", -'Home page URL', -'URL to show as default or when home button ' -'is pressed.', -'', -'', +'', +'', +"''", +'Home page URL', +'URL to show as default or when home button is pressed.', +'', +'', '', ] open(os.path.join(path, src), 'w').writelines(lines) Seems the only difference was the lines that was split into new lines have been concatenated to a single line. Best,Shaan On Monday, 8 June, 2020, 10:19:48 pm IST, Chihurumnaya Ibiam wrote: You might have to include it as a dependency for your next release as that's the latest versionthat Browse currently has, what doesn't sit well with me is the line difference, I can't do any investigation at the moment but it'll be great if you took a look at the source code to confirm the linedifferences. Thanks. -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Mon, Jun 8, 2020 at 7:46 AM shaansubbaiah.c...@bmsce.ac.in wrote: Hello Ibiam,The version of the browse-activity installed was 205-2. Sorry for the late reply, temporarily away from home, I'm on a different system testing Sugar and internet bandwidth isn't very high. Should be back in a day or two. Best, Shaan On Sunday, 7 June, 2020, 3:50:23 am IST, Chihurumnaya Ibiam wrote: Thanks Shaan, what version of Browse are you running as the lines in the traceback are offfrom the latest version? -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sat, Jun 6, 2020 at 6:58 PM shaansubbaiah.c...@bmsce.ac.in wrote: Hello Ibiam,Installing the libglib2.0-dev package fixes the issue. I have also just found that this issue is mentioned in the browse-activity readme '' Unusually, Browse also depends on glib-compile-schemas tocompile a Gio.Settings schema. ''. Online searches also return similar results, eg. :https://askubuntu.com/questions/204643/getting-missing-dependency-for-compilation-glib-compile-schemas and https://askubuntu.com/questions/161739/why-does-launchpad-fail-to-find-glib-compile-schemas-while-building-for-ppa I'm fairly certain that this is the correct fix, however, I have not found libglib2.0-dev as a dependency of Browse Activity for the earlier releases of Debian at https://packages.debian.org/search?keywords=sugar-browse-activity . So I do not know how this was handled in older releases or if it was handled at all. Best,Shaan On Saturday, June 6, 2020, 10:47:34 PM GMT+5:30, Chihurumnaya Ibiam wrote: Can you test to confirm if it's the problem? -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sat, Jun 6, 2020 at 9:11 AM Shaan Subbaiah B C wrote: Hello Ibiam,Great to know that the markdown formatted as html is more convenient. I'm not entirely sure that the web activity issue is due to libglib2.0-dev no being present as a depenency but the error seems to be caused due to some header file missing that is fixed by installing that package. I'll open the issues as you specified and test further. Best,Shaan On Sat, 6 Jun, 2020, 4:40 am Chihurumnaya Ibiam, wrote: Thanks for the update Shaan, The error you shared in 2) happens in #840 like you said but the traceback in the logs is seen for the first timeand looks like it's a Python 3 port regression, kindly open an issue in sugar so it can be tracked. Can you confirm that 3) is caused by libglib2.0-dev not listed as a dependency in the control file? Could you open an issue for 4) in the write repo? I find the markdown rendered as HTML convenient and most of it appears as plaintext in the devel archive,except the bullet points that start with a `-` above them. -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Fri, Jun 5, 2020 at 10:08 AM shaansubbaiah.c...@bmsce.ac.in wrote: I have tried to install sucrose on the standard Debian Live ISO (it has no Desktop Environment, only CLI) as there were some issues while trying to do so in the Debian Live (KDE Plasma) ISO: - Attempting to install sucrose v117-x after adding the unstable repositories to sour
Re: [Sugar-devel] Debian Advocacy for Sugar - Update
Hello Ibiam,The version of the browse-activity installed was 205-2. Sorry for the late reply, temporarily away from home, I'm on a different system testing Sugar and internet bandwidth isn't very high. Should be back in a day or two. Best, Shaan On Sunday, 7 June, 2020, 3:50:23 am IST, Chihurumnaya Ibiam wrote: Thanks Shaan, what version of Browse are you running as the lines in the traceback are offfrom the latest version? -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sat, Jun 6, 2020 at 6:58 PM shaansubbaiah.c...@bmsce.ac.in wrote: Hello Ibiam,Installing the libglib2.0-dev package fixes the issue. I have also just found that this issue is mentioned in the browse-activity readme '' Unusually, Browse also depends on glib-compile-schemas tocompile a Gio.Settings schema. ''. Online searches also return similar results, eg. :https://askubuntu.com/questions/204643/getting-missing-dependency-for-compilation-glib-compile-schemas and https://askubuntu.com/questions/161739/why-does-launchpad-fail-to-find-glib-compile-schemas-while-building-for-ppa I'm fairly certain that this is the correct fix, however, I have not found libglib2.0-dev as a dependency of Browse Activity for the earlier releases of Debian at https://packages.debian.org/search?keywords=sugar-browse-activity . So I do not know how this was handled in older releases or if it was handled at all. Best,Shaan On Saturday, June 6, 2020, 10:47:34 PM GMT+5:30, Chihurumnaya Ibiam wrote: Can you test to confirm if it's the problem? -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sat, Jun 6, 2020 at 9:11 AM Shaan Subbaiah B C wrote: Hello Ibiam,Great to know that the markdown formatted as html is more convenient. I'm not entirely sure that the web activity issue is due to libglib2.0-dev no being present as a depenency but the error seems to be caused due to some header file missing that is fixed by installing that package. I'll open the issues as you specified and test further. Best,Shaan On Sat, 6 Jun, 2020, 4:40 am Chihurumnaya Ibiam, wrote: Thanks for the update Shaan, The error you shared in 2) happens in #840 like you said but the traceback in the logs is seen for the first timeand looks like it's a Python 3 port regression, kindly open an issue in sugar so it can be tracked. Can you confirm that 3) is caused by libglib2.0-dev not listed as a dependency in the control file? Could you open an issue for 4) in the write repo? I find the markdown rendered as HTML convenient and most of it appears as plaintext in the devel archive,except the bullet points that start with a `-` above them. -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Fri, Jun 5, 2020 at 10:08 AM shaansubbaiah.c...@bmsce.ac.in wrote: I have tried to install sucrose on the standard Debian Live ISO (it has no Desktop Environment, only CLI) as there were some issues while trying to do so in the Debian Live (KDE Plasma) ISO: - Attempting to install sucrose v117-x after adding the unstable repositories to sources.list and setting the default release as stable by sudo apt install -t unstable sucrose causes 100’s of packages to be removed (Including all KDE applications, Firefox, Konsole, etc) and initiates the install of several 100 language packs for Firefox, LibreOffice, etc. - Installing by setting the default release as unstable and sudo apt install sucrose causes the same issue above. - Setting default release as ‘stable’ and attempting to install using sudo apt install sucrose/unstable does not cause this issue but requires including all the dependencies with /unstable postfix (otherwise dependencies are fetched from the stable repo itself). This is very messy, the Desktop Environment and almost all useful preinstalled applications get wiped, some dependencies aren’t satisfied while testing Sugar after install. Install Debian Live Standard ISO https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/debian-live-10.4.0-amd64-standard.iso.torrent Set default package repository to unstable # /etc/apt/apt.conf.d/my-default-release APT::Default-Release "unstable"; Update, Install gcc-8-base, sucrose sudo apt update sudo apt install gcc-8-base # select 'yes' on the prompt sudo apt install sucrose Debian Live Standard doesn’t come with a Display Manager by default, install lightdm sudo apt install lightdm Reboot, select Sugar and log in. On testing: 1) Sugar launches. Again most activities work without issues. Listed issues below. 2) Error in shell.log 1591278095.943871 ERROR dbus.proxies: Introspect error on :1.28:/org/laptop/Activity/376730b6f93a8aa9b2929c28e423b45b73f2b515: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying 1591278095.944801 ERROR root: set_active() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.28 was not provid
Re: [Sugar-devel] Debian Advocacy for Sugar - Update
Hello Ibiam,Installing the libglib2.0-dev package fixes the issue. I have also just found that this issue is mentioned in the browse-activity readme '' Unusually, Browse also depends on glib-compile-schemas tocompile a Gio.Settings schema. ''. Online searches also return similar results, eg. :https://askubuntu.com/questions/204643/getting-missing-dependency-for-compilation-glib-compile-schemas and https://askubuntu.com/questions/161739/why-does-launchpad-fail-to-find-glib-compile-schemas-while-building-for-ppa I'm fairly certain that this is the correct fix, however, I have not found libglib2.0-dev as a dependency of Browse Activity for the earlier releases of Debian at https://packages.debian.org/search?keywords=sugar-browse-activity . So I do not know how this was handled in older releases or if it was handled at all. Best,Shaan On Saturday, June 6, 2020, 10:47:34 PM GMT+5:30, Chihurumnaya Ibiam wrote: Can you test to confirm if it's the problem? -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Sat, Jun 6, 2020 at 9:11 AM Shaan Subbaiah B C wrote: Hello Ibiam,Great to know that the markdown formatted as html is more convenient. I'm not entirely sure that the web activity issue is due to libglib2.0-dev no being present as a depenency but the error seems to be caused due to some header file missing that is fixed by installing that package. I'll open the issues as you specified and test further. Best,Shaan On Sat, 6 Jun, 2020, 4:40 am Chihurumnaya Ibiam, wrote: Thanks for the update Shaan, The error you shared in 2) happens in #840 like you said but the traceback in the logs is seen for the first timeand looks like it's a Python 3 port regression, kindly open an issue in sugar so it can be tracked. Can you confirm that 3) is caused by libglib2.0-dev not listed as a dependency in the control file? Could you open an issue for 4) in the write repo? I find the markdown rendered as HTML convenient and most of it appears as plaintext in the devel archive,except the bullet points that start with a `-` above them. -- Ibiam Chihurumnaya ibiamchihurumn...@gmail.com On Fri, Jun 5, 2020 at 10:08 AM shaansubbaiah.c...@bmsce.ac.in wrote: I have tried to install sucrose on the standard Debian Live ISO (it has no Desktop Environment, only CLI) as there were some issues while trying to do so in the Debian Live (KDE Plasma) ISO: - Attempting to install sucrose v117-x after adding the unstable repositories to sources.list and setting the default release as stable by sudo apt install -t unstable sucrose causes 100’s of packages to be removed (Including all KDE applications, Firefox, Konsole, etc) and initiates the install of several 100 language packs for Firefox, LibreOffice, etc. - Installing by setting the default release as unstable and sudo apt install sucrose causes the same issue above. - Setting default release as ‘stable’ and attempting to install using sudo apt install sucrose/unstable does not cause this issue but requires including all the dependencies with /unstable postfix (otherwise dependencies are fetched from the stable repo itself). This is very messy, the Desktop Environment and almost all useful preinstalled applications get wiped, some dependencies aren’t satisfied while testing Sugar after install. Install Debian Live Standard ISO https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/debian-live-10.4.0-amd64-standard.iso.torrent Set default package repository to unstable # /etc/apt/apt.conf.d/my-default-release APT::Default-Release "unstable"; Update, Install gcc-8-base, sucrose sudo apt update sudo apt install gcc-8-base # select 'yes' on the prompt sudo apt install sucrose Debian Live Standard doesn’t come with a Display Manager by default, install lightdm sudo apt install lightdm Reboot, select Sugar and log in. On testing: 1) Sugar launches. Again most activities work without issues. Listed issues below. 2) Error in shell.log 1591278095.943871 ERROR dbus.proxies: Introspect error on :1.28:/org/laptop/Activity/376730b6f93a8aa9b2929c28e423b45b73f2b515: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying 1591278095.944801 ERROR root: set_active() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.28 was not provided by any .service files 1591278100.365706 ERROR dbus.proxies: Introspect error on :1.30:/org/laptop/Activity/376730b6f93a8aa9b2929c28e423b45b73f2b515: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying 1591278100.366105 ERROR root: set_active() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.30 was not provided by any .service files Traceback (most recent call last): File "/usr/lib/python3/dist-packages/jarabe/desktop/viewcontainer.py", line 69, in do_si
[Sugar-devel] Debian Advocacy for Sugar - Update
I have tried to install sucrose on the standard Debian Live ISO (it has no Desktop Environment, only CLI) as there were some issues while trying to do so in the Debian Live (KDE Plasma) ISO: - Attempting to install sucrose v117-x after adding the unstable repositories to sources.list and setting the default release as stable by sudo apt install -t unstable sucrose causes 100’s of packages to be removed (Including all KDE applications, Firefox, Konsole, etc) and initiates the install of several 100 language packs for Firefox, LibreOffice, etc. - Installing by setting the default release as unstable and sudo apt install sucrose causes the same issue above. - Setting default release as ‘stable’ and attempting to install using sudo apt install sucrose/unstable does not cause this issue but requires including all the dependencies with /unstable postfix (otherwise dependencies are fetched from the stable repo itself). This is very messy, the Desktop Environment and almost all useful preinstalled applications get wiped, some dependencies aren’t satisfied while testing Sugar after install. Install Debian Live Standard ISO https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/debian-live-10.4.0-amd64-standard.iso.torrent Set default package repository to unstable # /etc/apt/apt.conf.d/my-default-release APT::Default-Release "unstable"; Update, Install gcc-8-base, sucrose sudo apt update sudo apt install gcc-8-base # select 'yes' on the prompt sudo apt install sucrose Debian Live Standard doesn’t come with a Display Manager by default, install lightdm sudo apt install lightdm Reboot, select Sugar and log in. On testing: 1) Sugar launches. Again most activities work without issues. Listed issues below. 2) Error in shell.log 1591278095.943871 ERROR dbus.proxies: Introspect error on :1.28:/org/laptop/Activity/376730b6f93a8aa9b2929c28e423b45b73f2b515: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying 1591278095.944801 ERROR root: set_active() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.28 was not provided by any .service files 1591278100.365706 ERROR dbus.proxies: Introspect error on :1.30:/org/laptop/Activity/376730b6f93a8aa9b2929c28e423b45b73f2b515: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying 1591278100.366105 ERROR root: set_active() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.30 was not provided by any .service files Traceback (most recent call last): File "/usr/lib/python3/dist-packages/jarabe/desktop/viewcontainer.py", line 69, in do_size_allocate self._layout.allocate_children(allocation, self._children) File "/usr/lib/python3/dist-packages/jarabe/desktop/favoriteslayout.py", line 250, in allocate_children name_hash = hashlib.md5(child.get_bundle_id().decode()) AttributeError: 'str' object has no attribute 'decode' ^ Seems to be similar to Sugar issues #840 and #843 3) Web Activity doesn’t launch, error: sh: 1: glib-compile-schemas: not found Traceback (most recent call last): File "/usr/bin/sugar-activity3", line 5, in activityinstance.main() File "/usr/lib/python3/dist-packages/sugar3/activity/activityinstance.py", line 230, in main instance = create_activity_instance(activity_constructor, activity_handle) File "/usr/lib/python3/dist-packages/sugar3/activity/activityinstance.py", line 59, in create_activity_instance activity = constructor(handle) File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line 192, in __init__ self._tabbed_view = TabbedView(self) File "/usr/share/sugar/activities/Browse.activity/browser.py", line 145, in __init__ self.settings = _get_local_settings(activity) File "/usr/share/sugar/activities/Browse.activity/browser.py", line 127, in _get_local_settings source = Gio.SettingsSchemaSource.new_from_directory(path, None, True) gi.repository.GLib.Error: g-file-error-quark: Failed to open file “/home/ssbc/.sugar/default/org.laptop.WebActivity/data/schemas/gschemas.compiled”: open() failed: No such file or directory (4) Terminated by signal 11, pid 866 activity_id 376730b6f93a8aa9b2929c28e423b45b73f2b515 ^ This occurred while using the other installation methods as well. It was fixed by installing libglib2.0-dev. This may be a packaging issue where ‘libglib2.0-dev’ is not specified as a dependency for the Web Activity? 4) Write Activity crashes when trying to move a table. ^ Reproduced by: Opening Words Activity -> Insert a table -> Try dragging/resizing one of the inner row/horizontal lines (Not the ones forming the outer boundary) -> Crash Terminated by signal 11, pid 4715 activity_id 6305d02f3035c4afc03030e685fe338e6e394807 I’m trying to keep a log/executed snippets in markdown on a Github repository. Some files may not contain
[Sugar-devel] Debian Advocacy for Sugar - Update - 02-June-2020
Hello all, I have successfully got Sugar v117-2 working on Debian 10 Buster (Stable). Documented the steps I have followed if anyone is interested: Install Debian 10 Buster on a VM I used `debian-live-10.4.0-amd64-kde.iso` from https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/ Add the Debian testing and unstable repositories to sources.list: ``` # /etc/apt/sources.list deb http://deb.debian.org/debian testing main contrib deb-src http://deb.debian.org/debian testing main contrib deb http://deb.debian.org/debian unstable main contrib deb-src http://deb.debian.org/debian unstable main contrib ``` Set default package repository to stable ``` # /etc/apt/apt.conf.d/my-default-release APT::Default-Release "stable"; ``` Install sucrose from the unstable repository using: `sudo apt install sucrose/unstable` By default, a lot of dependencies aren't satisfied as sucrose will depend on the sugar v117 packages from unstable. Quick way of installing them from unstable is running: ``` apt install {sugar{-session,-chat-activity,-browse-activity,-read-activity,-calculate-activity,-log-activity,-write-activity,-terminal-activity,-pippy-activity,-imageviewer-activity,-jukebox-activity,-themes},python3{,-cairo,-gi,-gi-cairo,-sugar3,-jarabe,-pygame,-xapian,-gst-1.0},gvfs,ethtool,telepathy-gabble,libgnutls30,libtasn1-6,libmount1,libmount-dev,libglib2.0-dev}/unstable ``` After install, log out and login to Sugar. --- I haven't tested it in depth yet, but all the activities open, general functions work. Unfortunately right after setting it up Sugar 117-3 got accepted into unstable. I'm sure a few of the packages in the installation command above can be avoided. I have created snapshots prior to the install, I'll test further and update. Aside, this message is pretty long and I'm assuming future mails will be too. I have found browser extensions that will render markdown as HTML for mail but it might look broken in the Sugar-Devel archive. Shall I send these mails as plaintext next time or is there some other alternative the community uses? ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] GSoC 2020 Sugar team meeting 11-May-20
We met at 12:30 pm IST using Zoom. We had James, Jui, Saumya, and Shaan. James clarified Shaan's queries regarding the development environment to be used, what exactly was expected of his project, that it would primarily involve the testing of previously created packages. James spoke about the Debian Activity packages that have already been created and require testing. James explained the life cycle of a Debian package release and gave us an overview of the Debian Sugar repositories and the Debian package lists at packages.debian.org. James also spoke about a few intricacies involved in packaging and how the various Linux Distributions handle it differently. --- If I have missed anything, kindly mention it in the reply. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] GSoC 2020 Sugar Labs Projects
Thank you for accepting my proposal, congratulations to all that got selected. Looking forward to working with my mentors and the organization. Again, thank you for the opportunity, feeling ecstatic. Best, Shaan Subbaiah On Monday, May 4, 2020, 11:42:47 PM GMT+5:30, James Cameron wrote: Thanks to all the students who made proposals. Google Summer of Code have announced nine projects for Sugar Labs; * Prakash Ujjwal, Sugarizer game activity pack, mentor Ashish Aggarwal, * Dhruv Misra, Sugarizer knowledge activity pack, mentor Lionel Laské, * Nikhil Mehra, Sugarizer School Portal, mentor Michaël Ohayon, * Aviral Gangwar, Music Blocks Scale Degree vs n^th Modal Pitch, mentor Devin Ulibarri, * Saksham Mrig, Resolve 100 issues in Music Blocks, mentor Sumit Srivastava, * Anindya Kundu, Export Music Blocks code to JavaScript, mentor Walter Bender, * Saumya Mishra, Port Sugar and core activities to Python 3, mentor Rahul Bothra, * Jui Pradhan, Improve and maintain 25 Sugar activities, mentor Ibiam Chihurumnaya, * Shaan Subbaiah, Debian advocacy for Sugar, mentor James Cameron, I've update: https://github.com/sugarlabs/GSoC/blob/master/Ideas-2020.md I've added a mail alias for the students. -- James Cameron http://quozl.netrek.org/___ 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
Re: [Sugar-devel] Sugarizer knowledge activity pack
Hey Hemansh,You can find previous conversations here http://lists.sugarlabs.org/archive/sugar-devel/Also a link to one of the previous threads http://lists.sugarlabs.org/archive/sugar-devel/2020-March/057997.html On Thursday, March 19, 2020, 9:36:17 PM GMT+5:30, Hemansh Khaneja wrote: I have joined this mailing list just now, could someone share any previous conversation regarding Sugarizer Knowledge Activity Pack GSoC Project___ 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
Re: [Sugar-devel] Contributing through GSOC
Hi James, Regarding the Focal Fossa Build, I have been experiencing the issue of the mouse cursor permanently changing to the sugar cursor, after logging out and switching to a non sugar session (Ubuntu, Ubuntu Wayland options) making it very difficult to use Ubuntu. Please let me know if you also experience a similar issue. Also, in an attempt of debugging the earlier write activity issue, I have installed the Sugar Live Build on a VM. I am unable to login the default Debian environment. Switching between 'sugar' and 'default Xsession' logs me in to sugar. As per my understanding of https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md I should be able to login to a Desktop Environment such as gnome to make changes and test by logging out and switching to sugar? ThanksShaan On Tuesday, March 10, 2020, 12:53:33 AM GMT+5:30, James Cameron wrote: Thanks. I'm tracking this as https://github.com/sugarlabs/write-activity/issues/38 On Mon, Mar 09, 2020 at 06:03:37PM +, shaansubbaiah.c...@bmsce.ac.in wrote: > Hi James, > > I have tried the other activities and the only the text editor has this issue. > I'll download the package source and find out the issue if possible. > > Best > Shaan > > On Monday, March 9, 2020, 3:32:38 AM GMT+5:30, James Cameron > > wrote: > > Thanks Shaan. > > In the context of 'Debian advocacy for Sugar' project idea, the > testing is not testing of Sugar, but is testing; > > - of Debian experimental release packages, > > - of Debian testing release packages, > > - of Debian stable release packages, > > - of the above in combination with Sugar, Toolkit, activities, and all > dependencies (such as GTK, Telepathy, and so on), > > - of rebuilding with Sugar Live Build, > > We might call this integration testing rather than unit testing. What > is being tested is the work by integrators, or Debian developers. It > requires knowledge and experience to discern the difference between > problems whose cause is in Sugar, and problems caused by other > packages such as GTK and Telepathy. > > Included in the tests should be the major features of the application, > and the collaboration between multiple network instances. > > Thanks for the video of moving the Write activity over the display. > Fascinating. I can reproduce it. Are any other activities affected? > Can you fix it? > > On Sun, Mar 08, 2020 at 09:37:25AM -0700, shaansubbaiah.cs18 wrote: > > Hi James, > > > > Regarding the 'Debian advocacy for Sugar' task, I'm not sure how to go about > > testing. Right now I'm just checking the console for errors upon install, > > trying out all the settings and activities. I would like to know if there is > a > > more structured approach. All my searches online return results of testing > the > > Debian OS package or Installion of packages. > > Request you to point me in the right direction. > > > > Also, while testing your Ubuntu package I stumbled upon something I'm not > sure > > is an issue or feature. I'm able to drag the text editor activity around the > > screen. This seems useful if one were to copy text displayed in the previous > > screen(But it's just the launcher) so not sure about it. I believe Sugar's > > UI > > prevents overlapping windows, so this is an issue? This happens only in the > > text editor app. > > Video-( [1][1]https://drive.google.com/file/d/ > 1eoAcAOxCYLuChqF_pAF8boOMgeDWJzmz/ > > view?usp=sharing ) > > > > Thanks, > > Shaan > > > > On 07-Mar-2020 at 6:21 am, James Cameron <[2][2]qu...@laptop.org> wrote: > > > > Welcome Shaan. Thanks for your interest. > > > > Please do discuss your application ideas with us, and get involved. > > > > The 'Debian advocacy for Sugar' project idea includes testing and then > > > > fixing bugs in Debian packages of Sugar and activities, or any other > > > > Debian packages they depend on. The project idea requires working > > > > with two communities; Sugar Labs and Debian. My estimate is that this > > > > will easily cover the 12 weeks of full-time work, and would be a > > > > never-ending task, with always something to do better. It will be > > > > difficult to avoid getting bogged down in detail. A key deficiency > > > > is that Debian packages for Sugar after the latest Debian stable > > > > release do not allow use of Sugar. No release date is yet set for > > > > Debian 11 Bullseye, but Ubuntu does use the Debian Testing packages, > > > > and this is why Ubuntu 20.04 is unlikely t
Re: [Sugar-devel] Contributing through GSOC
Hi James, I have tried the other activities and the only the text editor has this issue. I'll download the package source and find out the issue if possible. BestShaan On Monday, March 9, 2020, 3:32:38 AM GMT+5:30, James Cameron wrote: Thanks Shaan. In the context of 'Debian advocacy for Sugar' project idea, the testing is not testing of Sugar, but is testing; - of Debian experimental release packages, - of Debian testing release packages, - of Debian stable release packages, - of the above in combination with Sugar, Toolkit, activities, and all dependencies (such as GTK, Telepathy, and so on), - of rebuilding with Sugar Live Build, We might call this integration testing rather than unit testing. What is being tested is the work by integrators, or Debian developers. It requires knowledge and experience to discern the difference between problems whose cause is in Sugar, and problems caused by other packages such as GTK and Telepathy. Included in the tests should be the major features of the application, and the collaboration between multiple network instances. Thanks for the video of moving the Write activity over the display. Fascinating. I can reproduce it. Are any other activities affected? Can you fix it? On Sun, Mar 08, 2020 at 09:37:25AM -0700, shaansubbaiah.cs18 wrote: > Hi James, > > Regarding the 'Debian advocacy for Sugar' task, I'm not sure how to go about > testing. Right now I'm just checking the console for errors upon install, > trying out all the settings and activities. I would like to know if there is a > more structured approach. All my searches online return results of testing the > Debian OS package or Installion of packages. > Request you to point me in the right direction. > > Also, while testing your Ubuntu package I stumbled upon something I'm not sure > is an issue or feature. I'm able to drag the text editor activity around the > screen. This seems useful if one were to copy text displayed in the previous > screen(But it's just the launcher) so not sure about it. I believe Sugar's UI > prevents overlapping windows, so this is an issue? This happens only in the > text editor app. > Video-( [1]https://drive.google.com/file/d/1eoAcAOxCYLuChqF_pAF8boOMgeDWJzmz/ > view?usp=sharing ) > > Thanks, > Shaan > > On 07-Mar-2020 at 6:21 am, James Cameron <[2]qu...@laptop.org> wrote: > > Welcome Shaan. Thanks for your interest. > > Please do discuss your application ideas with us, and get involved. > > The 'Debian advocacy for Sugar' project idea includes testing and then > > fixing bugs in Debian packages of Sugar and activities, or any other > > Debian packages they depend on. The project idea requires working > > with two communities; Sugar Labs and Debian. My estimate is that this > > will easily cover the 12 weeks of full-time work, and would be a > > never-ending task, with always something to do better. It will be > > difficult to avoid getting bogged down in detail. A key deficiency > > is that Debian packages for Sugar after the latest Debian stable > > release do not allow use of Sugar. No release date is yet set for > > Debian 11 Bullseye, but Ubuntu does use the Debian Testing packages, > > and this is why Ubuntu 20.04 is unlikely to include Sugar. An outcome > > of the project idea is that Ubuntu 20.10 or 21.04 may include Sugar > > once more. > > Thanks for testing my Ubuntu 20.04 packages. My packages demonstrate > > that Sugar can be packaged in a way that works, but the packages do > > not meet Debian or Ubuntu standards, and are difficult to use because > > a separate package archive must be added. > > You can find a tutorial for using Sugar on [3]https://help.sugarlabs.org/ > > I'll not comment about 'Sugarizer game activity pack', best is for you > > to contact Lionel Llaske about it. > > On Fri, Mar 06, 2020 at 08:35:18PM +, >[4]shaansubbaiah.c...@bmsce.ac.in wrote: > > > Hello everyone, > > > I'm Shaan Subbaiah, a 2nd year CSE undergrad interested in contributing >towards > > > SugarLabs through GSoC. I would like to work on the task 'Debian >advocacy for > > > Sugar'. > > > I use Linux (Manjaro) on a daily basis but this would be the first time >I would > > > be testing software packages. I'm not sure if the task would span the 3 >months > > > alotted by GSOC, I'd be very happy to work on the 'Game Activity Pack' >task if > > > time permits as I have experience in Web Dev. > > > > > > Just installed Ubuntu FocalFossa/ 20.04 (6 Mar) on KVM, followed >instructions > &
Re: [Sugar-devel] Contributing through GSoC
Hi Srevin, I have tried installing Sugar for Arch from your repo(from the stable directory), had problems with the installer script. I'm not sure if it runs on vanilla Arch but I was unable to get it work on a fresh install of Manjaro. I have forked the repo (https://github.com/shaansubbaiah/sugar-arch/blob/master/stable/autoinstall.sh) and made slight changes in the installer script with which I got it working. Even after getting the installer script to work, some packages like sugar-artwork fail to build due to empy missing. Even after installing empy it failed. Seems to be a common issue ? (https://www.gitmemory.com/issue/sugarlabs/sugar/896/569960865) Could you advise how to proceed? Thanks, Shaan On Saturday, March 7, 2020, 1:20:13 PM GMT+5:30, Srevin Saju wrote: Thanks Shaan. You have brought interest to know you have been using Manjaro (Arch) based Linux. I would be happy to have Arch Linux based packages tested and then published it to the community repository for pacman. You may be interested in installing Sugar Desktop natively on Manjaro by https://github.com/srevinsaju/sugar-arch Hope this helps you install it natively, and it would benefit the community indeed. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Contributing through GSOC
Hello everyone, I'm Shaan Subbaiah, a 2nd year CSE undergrad interested in contributing towards SugarLabs through GSoC. I would like to work on the task 'Debian advocacy for Sugar'. I use Linux (Manjaro) on a daily basis but this would be the first time I would be testing software packages. I'm not sure if the task would span the 3 months alotted by GSOC, I'd be very happy to work on the 'Game Activity Pack' task if time permits as I have experience in Web Dev. Just installed Ubuntu FocalFossa/ 20.04 (6 Mar) on KVM, followed instructions to install sucrose from here(http://lists.sugarlabs.org/archive/sugar-devel/2020-February/057763.html). (Also, for anyone else following the same steps on KVM, switching the graphics adapter to 'virtio' from 'qxl' will prevent issues when using the sugar or ubuntu non wayland options while loggin in.) Apart from what I believe are small ui issues like text moving when using the slider upon setting age, calculator moving out of the screen upon clicking the buttons on the toolbar, I have found no issues so far. There are no navigation icons unlike the online sugarizer, the only way to switch activites is using the function keys. There was no tutorial/ popup on setup and I couldn't exit the Journal. I would like you to guide me in the right direction regarding the testing process. Thankyou ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel