Re: [Sugar-devel] Debian Advocacy for Sugar - Update
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 > > 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 @@ > [ > '', > '', > -' -'path="/org/laptop/WebActivity/">', > -'', > -"''", > -'Home page URL', > -'URL to show as default or when home > button ' > -'is pressed.', > -'', > -'', > +' path="/org/laptop/WebActivity/">', > +'', > +"''", > +'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 <[6] > ibiamchihurumn...@gmail.com> wrote: > > You might have to include it as a dependency for your next release as > that's the latest version > that 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 line > differences. Thanks. > > -- > > Ibiam Chihurumnaya > [7]ibiamchihurumn...@gmail.com > > > > On Mon, Jun 8, 2020 at 7:46 AM [8]shaansubbaiah.c...@bmsce.ac.in <[9] > 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 <[10] > ibiamchihurumn...@gmail.com> wrote: > > Thanks Shaan, what version of Browse are you running as the lines in > the traceback are off > from the latest version? > > -- > > Ibiam Chihurumnaya > [11]ibiamchihurumn...@gmail.com > > > > On Sat, Jun 6, 2020 at 6:58 PM [12]shaansubbaiah.c...@bmsce.ac.in > <[13] > 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 > to > compile a Gio.Settings schema. ''. > > Online searches also return similar results, eg. : > [14]https://askubuntu.com/questions/204643/ > getting-missing-dependency-for-compilation-glib-compile-schemas > and >
Re: [Sugar-devel] Building+Running on Ubuntu 18
G'day Alan, Thanks for the update. I've no idea why the encoding isn't part of the path; perhaps the encoding isn't configured on the system. I suggest debugging the takes inventory code. On Tue, Jun 09, 2020 at 07:50:37AM -0400, Alan W Szlosek Jr wrote: > Hi all! I'm responding with an update and some thanks for James... > > James, your "~quozl" deb package repo worked great with Ubuntu 20.04. It > allowed me to install newer Sugar on a Dell Mini 1012 laptop for my daughter > to > play with. So thanks again! > > I've also had success building Sugar from source using the "v.0117" git tag > you > mentioned. I have another laptop with a 32bit processor so I've been building > on Debian 10.4 and Ubuntu 18 (since 20.04 doesn't run on 32bit machines). > Using > what I've found in the sugar-live-build repo, I finally have a build script > that works. My gist for building under Debian is here: [1]https:// > gist.github.com/alanszlosek/8eb03f5a3915e1e48fee61531e369355 > > I did find a very odd difference between Debian and Ubuntu that I felt > important to point out > > On my Debian build, when Sugar starts up and "takes inventory" of the > installed > activities, it expects "locale/en_US.UTF-8" to exist in each activity folder. > On Ubuntu 18, the encoding isn't part of the expected path, so it only looks > for "locale/en_US" which seems correct. > > Any idea what's going on here? > > On Thu, May 14, 2020 at 8:17 PM James Cameron <[2]qu...@laptop.org> wrote: > > G'day Alan, > > I don't know if HEAD of the four repositories will work together at > the moment. I only make sure of that during release. I'm unaware of > anyone else making that check for me. 0.117 was the most recent > release on 17th March. There's a v0.117 tag in each repository. > > My guess is that a required dependency is missing. We don't have a > complete list of dependencies in the source, but downstream packagers > do have complete lists. > > Check shell.log again after stopping the Jarabe process, or a reboot. > The logs are buffered. > > Check also datastore.log after allowing time for the Datastore process > to timeout, or a reboot. > > If you had previously installed the Ubuntu 18 package sucrose, then > you will have Python 2 dependencies for Sugar and Datastore. These > are insufficient for 0.117 as it builds with Python 3. I was able to > build on Ubuntu 18 but I needed to make custom builds of several of > the dependencies that weren't available. I suggest Ubuntu 20.04, > using my packages; > > 1. add this to /etc/apt/sources.list > > deb [trusted=yes arch=amd64] [3]http://dev.laptop.org/~quozl/.us focal > main > > 2. sudo apt update > > 3. sudo apt install olpc-ubuntu-sugar > > On Thu, May 14, 2020 at 07:20:35AM -0400, Alan W Szlosek Jr wrote: > > I've checked out, built and installed sugar (all 4 repos: sugar, > datastore, > > artwork, toolkit) on Ubuntu 18. But when I log in to sugar I only see a > mouse > > cursor. I found the following in ~/.sugar/default/logs/shell.log > > > > 1589454823.968838 DEBUG root: STARTUP: Starting the shell > > Gdk-Message: 07:14:00.578: metacity: Fatal IO error 11 (Resource > temporarily > > unavailable) on X server :1. > > > > Where do I go from here and how can I help? I had previously installed > sucrose > > on this machine, so maybe something older is interfering. > > > > Thanks in advance for your guidance. Take care! > > > > -- > > Alan Szlosek > > > ___ > > Sugar-devel mailing list > > [4]Sugar-devel@lists.sugarlabs.org > > [5]http://lists.sugarlabs.org/listinfo/sugar-devel > > -- > James Cameron > [6]http://quozl.netrek.org/ > > -- > Alan Szlosek > > References: > > [1] https://gist.github.com/alanszlosek/8eb03f5a3915e1e48fee61531e369355 > [2] mailto:qu...@laptop.org > [3] http://dev.laptop.org/~quozl/.us > [4] mailto:Sugar-devel@lists.sugarlabs.org > [5] http://lists.sugarlabs.org/listinfo/sugar-devel > [6] http://quozl.netrek.org/ -- James Cameron http://quozl.netrek.org/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Debian Advocacy for Sugar - Update
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 ibiamchihurumn...@gmail.com On Tue, Jun 9, 2020 at 6:02 PM shaansubbaiah.c...@bmsce.ac.in < shaansubbaiah.c...@bmsce.ac.in> wrote: > Hello Ibiam, > > Comparing browse.py in: > >1. Github repository https://github.com/sugarlabs/browse-activity/ >2. Debian Salsa repository > > https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/blob/master/browser.py >3. 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 @@ > [ > '', > '',-' id="org.laptop.WebActivity" '- > 'path="/org/laptop/WebActivity/">',-' name="home-page" type="s">',-"''",- > 'Home page URL',- > 'URL to show as default or when home button '- > 'is pressed.',-'',- > '',+' path="/org/laptop/WebActivity/">',+' name="home-page" type="s">',+" > ''",+'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 < > ibiamchihurumn...@gmail.com> wrote: > > > You might have to include it as a dependency for your next release as > that's the latest version > that 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 line > differences. Thanks. > > -- > > Ibiam Chihurumnaya > ibiamchihurumn...@gmail.com > > > > On Mon, Jun 8, 2020 at 7:46 AM shaansubbaiah.c...@bmsce.ac.in < > 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 < > ibiamchihurumn...@gmail.com> wrote: > > > Thanks Shaan, what version of Browse are you running as the lines in the > traceback are off > from the latest version? > > -- > > Ibiam Chihurumnaya > ibiamchihurumn...@gmail.com > > > > On Sat, Jun 6, 2020 at 6:58 PM shaansubbaiah.c...@bmsce.ac.in < > 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 to compile 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 < > ibiamchihurumn...@gmail.com> 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 < > shaansubbaiah.c...@bmsce.ac.in> 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,
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 sources.list and setting the de
Re: [Sugar-devel] Building+Running on Ubuntu 18
Hi all! I'm responding with an update and some thanks for James... James, your "~quozl" deb package repo worked great with Ubuntu 20.04. It allowed me to install newer Sugar on a Dell Mini 1012 laptop for my daughter to play with. So thanks again! I've also had success building Sugar from source using the "v.0117" git tag you mentioned. I have another laptop with a 32bit processor so I've been building on Debian 10.4 and Ubuntu 18 (since 20.04 doesn't run on 32bit machines). Using what I've found in the sugar-live-build repo, I finally have a build script that works. My gist for building under Debian is here: https://gist.github.com/alanszlosek/8eb03f5a3915e1e48fee61531e369355 I did find a very odd difference between Debian and Ubuntu that I felt important to point out On my Debian build, when Sugar starts up and "takes inventory" of the installed activities, it expects "locale/en_US.UTF-8" to exist in each activity folder. On Ubuntu 18, the encoding isn't part of the expected path, so it only looks for "locale/en_US" which seems correct. Any idea what's going on here? On Thu, May 14, 2020 at 8:17 PM James Cameron wrote: > G'day Alan, > > I don't know if HEAD of the four repositories will work together at > the moment. I only make sure of that during release. I'm unaware of > anyone else making that check for me. 0.117 was the most recent > release on 17th March. There's a v0.117 tag in each repository. > > My guess is that a required dependency is missing. We don't have a > complete list of dependencies in the source, but downstream packagers > do have complete lists. > > Check shell.log again after stopping the Jarabe process, or a reboot. > The logs are buffered. > > Check also datastore.log after allowing time for the Datastore process > to timeout, or a reboot. > > If you had previously installed the Ubuntu 18 package sucrose, then > you will have Python 2 dependencies for Sugar and Datastore. These > are insufficient for 0.117 as it builds with Python 3. I was able to > build on Ubuntu 18 but I needed to make custom builds of several of > the dependencies that weren't available. I suggest Ubuntu 20.04, > using my packages; > > 1. add this to /etc/apt/sources.list > > deb [trusted=yes arch=amd64] http://dev.laptop.org/~quozl/.us focal > main > > 2. sudo apt update > > 3. sudo apt install olpc-ubuntu-sugar > > > On Thu, May 14, 2020 at 07:20:35AM -0400, Alan W Szlosek Jr wrote: > > I've checked out, built and installed sugar (all 4 repos: sugar, > datastore, > > artwork, toolkit) on Ubuntu 18. But when I log in to sugar I only see a > mouse > > cursor. I found the following in ~/.sugar/default/logs/shell.log > > > > 1589454823.968838 DEBUG root: STARTUP: Starting the shell > > Gdk-Message: 07:14:00.578: metacity: Fatal IO error 11 (Resource > temporarily > > unavailable) on X server :1. > > > > Where do I go from here and how can I help? I had previously installed > sucrose > > on this machine, so maybe something older is interfering. > > > > Thanks in advance for your guidance. Take care! > > > > -- > > Alan Szlosek > > > ___ > > Sugar-devel mailing list > > Sugar-devel@lists.sugarlabs.org > > http://lists.sugarlabs.org/listinfo/sugar-devel > > > -- > James Cameron > http://quozl.netrek.org/ > -- Alan Szlosek ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel