<div dir="ltr"><div>The commit <a href="https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/commit/930e1c139635b1d520d1f5464c676236690b3539">#930e1c</a> applies <a href="https://github.com/sugarlabs/browse-activity/commit/ffdacaa572272c718c54f344a87dae9f0fb3223a">patch</a> to the package, the commit message said</div><div><br></div><div><pre class="gmail-code gmail-highlight" lang="diff"><span id="gmail-LC2" class="gmail-line" lang="diff">Embedding the GSettings schema complicates generating during build.</span>
<span id="gmail-LC3" class="gmail-line" lang="diff"> This patch replicates the embedded schema as standalone file</span>
<span id="gmail-LC4" class="gmail-line" lang="diff"> (partly reverting git commit ffdacaa).</span>
<span id="gmail-LC5" class="gmail-line" lang="diff"> .</span>
<span id="gmail-LC6" class="gmail-line" lang="diff"> Additionally, this patch sprinkles some indentation changes</span>
<span id="gmail-LC7" class="gmail-line" lang="diff"> to the embedded schema,</span>
<span id="gmail-LC8" class="gmail-line" lang="diff"> to ensure that if upstream changes the schema</span>
<span id="gmail-LC9" class="gmail-line" lang="diff"> then applying the patch will fail hard</span>
<br></pre><pre class="gmail-code gmail-highlight" lang="diff"><font face="arial,sans-serif">The commit message says the commit was reverting <a href="https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/commit/ffdacaa572272c718c54f344a87dae9f0fb3223a">ffdacaa</a> while having the schema<br>embedded with some indentation changes "to ensure that if the upstream changes the schema<br>then applying the patch will fail hard".<br></font></pre><pre class="gmail-code gmail-highlight" lang="diff"><font face="arial,sans-serif">The actual issue isn't the commit changing the indentation as that's not what's been addressed.<br>I've not been able to see any commit that change the lines, the error says L192 of webactivity.py calls<br>TabbedView in browser.py and this is where the lines get mixed up.<br></font></pre><pre class="gmail-code gmail-highlight" lang="diff"><font face="arial,sans-serif">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 <br>- sugar, salsa, github -.<br></font></pre><pre class="gmail-code gmail-highlight" lang="diff"><font face="arial,sans-serif"><br></font></pre> </div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div dir="ltr"><span style="font-family:monospace,monospace">-- <br></span><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><span></span><span></span>Ibiam Chihurumnaya <br></span></div><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><a href="mailto:ibiamchihurumnaya@gmail.com" style="color:rgb(42,118,198)" target="_blank">ibiamchihurumnaya@gmail.com</a></span></div><div style="color:rgb(46,52,54);font-size:14.6667px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;width:71ch"><span style="font-family:monospace,monospace"><br></span></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 10, 2020 at 5:26 PM <a href="mailto:shaansubbaiah.cs18@bmsce.ac.in">shaansubbaiah.cs18@bmsce.ac.in</a> <<a href="mailto:shaansubbaiah.cs18@bmsce.ac.in">shaansubbaiah.cs18@bmsce.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"><div><p style="margin:0.5em 0px">Hello James and Ibiam,</p>
<p style="margin:0.5em 0px">I should have been more clearer in my mail, the diff posted in the previous mail was generated by using Python with the <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">difflib</code> library.</p>
<p style="margin:0.5em 0px">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. <a href="https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/commit/930e1c139635b1d520d1f5464c676236690b3539" target="_blank">Linked here, #930e1c</a></p>
<p style="margin:0.5em 0px">Also, <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">libglib2.0-bin</code> had been added as a dependency in commit <a href="https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/commit/c5717fc304d1e85707144ed9b18efe6f9d578c22" target="_blank">#c5717</a> and had been later replaced by a <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">GSettings schema</code> (org.laptop.WebActivity.gschema.xml) located at /usr/share/glib-2.0/schemas/ . <a href="https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/commit/0977ac6923a63dc843aeb75f7caeaead20a257e5" target="_blank">Linked here, #0977a</a>, making Browse activity independent of <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">libglib2.0-bin</code>.</p>
<p style="margin:0.5em 0px">I’ll have to investigate further as to why the Browse activity cannot detect the GSettings schema.</p>
<p style="margin:0.5em 0px">Best,<br>Shaan</p>
<div title="MDH:PGRpdiBjbGFzcz0ieWRwZWQ0ZjFmZGR5YWhvby1zdHlsZS13cmFwIiBzdHlsZT0iZm9udC1mYW1pbHk6SGVsdmV0aWNhIE5ldWUsIEhlbHZldGljYSwgQXJpYWwsIHNhbnMtc2VyaWY7Zm9udC1zaXplOjEzcH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GJyPjwvZGl2PjxkaXY+PGJyPjwvZGl2Pjwvc3Bhbj48YnI+PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdiBkaXI9Imx0ciIgZGF0YS1zZXRkaXI9ImZhbHNlIj48YnI+PC9kaXY+PGRpdj48YnI+PC9kaXY+CiAgICAgICAgCiAgICAgICAgPC9kaXY+" style="height:0px;width:0px;max-height:0px;max-width:0px;overflow:hidden;font-size:0em;padding:0px;margin:0px"></div></div><div id="gmail-m_-4636620237897380414yahoo_quoted_2706246853">
<div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;color:rgb(38,40,42)">
<div>
On Wednesday, June 10, 2020, 12:16:21 PM GMT+5:30, James Cameron <<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:
</div>
<div><br></div>
<div><br></div>
<div>Shaan,<br clear="none"><br clear="none">* the sources are different, and this is not unusual, and not a problem worth reporting unless an explanation cannot be found,<br clear="none"><br clear="none">* the commits in salsa explain the reason for every difference.<br clear="none"><br clear="none">Now that you have detected a difference, please make sure you read the commits, in all aspects;<br clear="none"><br clear="none">* the commit message,<br clear="none"><br clear="none">* the commit diff,<br clear="none"><br clear="none">* the context or ordering in which the diff occurs.<br clear="none"><br clear="none">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.<br clear="none"><br clear="none">On Tue, Jun 09, 2020 at 06:29:10PM +0100, Chihurumnaya Ibiam wrote:<br clear="none">> Thanks for the update.<br clear="none">> <br clear="none">> Both files in the Debian salsa repo and the github repo have matching lines and<br clear="none">> I'm also guessing the file at<br clear="none">> the installed /usr/share/activities/browseactivity will also have matching -<br clear="none">> can you confirm if it does? - lines<br clear="none">> but the traceback prints the wrong lines.<br clear="none">> <br clear="none">> --<br clear="none">> <br clear="none">> Ibiam Chihurumnaya<br clear="none">> [1]<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> <br clear="none">> On Tue, Jun 9, 2020 at 6:02 PM [2]<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a> <[3]<br clear="none">> <a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a>> wrote:<br clear="none">> <br clear="none">> Hello Ibiam,<br clear="none">> <br clear="none">> Comparing browse.py in:<br clear="none">> <br clear="none">> 1. Github repository [4]<a shape="rect" href="https://github.com/sugarlabs/browse-activity/" target="_blank">https://github.com/sugarlabs/browse-activity/</a><br clear="none">> 2. Debian Salsa repository [5]<a shape="rect" href="https://salsa.debian.org/pkg-sugar-team/" target="_blank">https://salsa.debian.org/pkg-sugar-team/</a><br clear="none">> sugar-browse-activity/-/blob/master/browser.py<br clear="none">> 3. The installed activity at /usr/share/activities/browseactivity<br clear="none">> <br clear="none">> The Github and Salsa versions have matching line numbers. Difference<br clear="none">> between the Github and installed versions:<br clear="none">> <br clear="none">> --- bgit # browse.py in Github<br clear="none">> +++ bdeb # installed browse.py<br clear="none">> @@ -110,15 +110,13 @@<br clear="none">> [<br clear="none">> '<?xml version="1.0" encoding="UTF-8"?>',<br clear="none">> '<schemalist>',<br clear="none">> - '<schema id="org.laptop.WebActivity" '<br clear="none">> - 'path="/org/laptop/WebActivity/">',<br clear="none">> - '<key name="home-page" type="s">',<br clear="none">> - "<default>''</default>",<br clear="none">> - '<summary>Home page URL</summary>',<br clear="none">> - '<description>URL to show as default or when home button '<br clear="none">> - 'is pressed.</description>',<br clear="none">> - '</key>',<br clear="none">> - '</schema>',<br clear="none">> + ' <schema id="org.laptop.WebActivity" path="/org/laptop/WebActivity/">',<br clear="none">> + ' <key name="home-page" type="s">',<br clear="none">> + " <default>''</default>",<br clear="none">> + ' <summary>Home page URL</summary>',<br clear="none">> + ' <description>URL to show as default or when home button is pressed.</description>',<br clear="none">> + ' </key>',<br clear="none">> + ' </schema>',<br clear="none">> '</schemalist>',<br clear="none">> ]<br clear="none">> open(os.path.join(path, src), 'w').writelines(lines)<br clear="none">> <br clear="none">> Seems the only difference was the lines that was split into new lines have<br clear="none">> been concatenated to a single line.<br clear="none">> <br clear="none">> Best,<br clear="none">> Shaan<br clear="none">> <br clear="none">> On Monday, 8 June, 2020, 10:19:48 pm IST, Chihurumnaya Ibiam <[6]<br clear="none">> <a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a>> wrote:<br clear="none">> <br clear="none">> You might have to include it as a dependency for your next release as<br clear="none">> that's the latest version<br clear="none">> that Browse currently has, what doesn't sit well with me is the line<br clear="none">> difference, I can't do any<br clear="none">> investigation at the moment but it'll be great if you took a look at the<br clear="none">> source code to confirm the line<br clear="none">> differences. Thanks.<br clear="none">> <br clear="none">> --<br clear="none">> <br clear="none">> Ibiam Chihurumnaya<br clear="none">> [7]<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Mon, Jun 8, 2020 at 7:46 AM [8]<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a> <[9]<br clear="none">> <a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a>> wrote:<br clear="none">> <br clear="none">> Hello Ibiam,<br clear="none">> The version of the browse-activity installed was 205-2.<br clear="none">> <br clear="none">> Sorry for the late reply, temporarily away from home, I'm on a<br clear="none">> different system testing Sugar and internet bandwidth isn't very high.<br clear="none">> Should be back in a day or two.<br clear="none">> <br clear="none">> Best,<br clear="none">> Shaan<br clear="none">> <br clear="none">> On Sunday, 7 June, 2020, 3:50:23 am IST, Chihurumnaya Ibiam <[10]<br clear="none">> <a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a>> wrote:<br clear="none">> <br clear="none">> Thanks Shaan, what version of Browse are you running as the lines in<br clear="none">> the traceback are off<br clear="none">> from the latest version?<br clear="none">> <br clear="none">> --<br clear="none">> <br clear="none">> Ibiam Chihurumnaya<br clear="none">> [11]<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Sat, Jun 6, 2020 at 6:58 PM [12]<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a> <[13]<br clear="none">> <a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a>> wrote:<br clear="none">> <br clear="none">> Hello Ibiam,<br clear="none">> Installing the libglib2.0-dev package fixes the issue. I have also<br clear="none">> just found that this issue is mentioned in the browse-activity<br clear="none">> readme '' Unusually, Browse also depends on glib-compile-schemas to<br clear="none">> compile a Gio.Settings schema. ''.<br clear="none">> <br clear="none">> Online searches also return similar results, eg. :<br clear="none">> [14]<a shape="rect" href="https://askubuntu.com/questions/204643/" target="_blank">https://askubuntu.com/questions/204643/</a><br clear="none">> getting-missing-dependency-for-compilation-glib-compile-schemas<br clear="none">> and <br clear="none">> [15]<a shape="rect" href="https://askubuntu.com/questions/161739/" target="_blank">https://askubuntu.com/questions/161739/</a><br clear="none">> why-does-launchpad-fail-to-find-glib-compile-schemas-while-building-for-ppa<br clear="none">> <br clear="none">> I'm fairly certain that this is the correct fix, however, I have<br clear="none">> not found libglib2.0-dev as a dependency of Browse Activity for the<br clear="none">> earlier releases of Debian at [16]<a shape="rect" href="https://packages.debian.org/" target="_blank">https://packages.debian.org/</a><br clear="none">> search?keywords=sugar-browse-activity . So I do not know how this<br clear="none">> was handled in older releases or if it was handled at all. <br clear="none">> <br clear="none">> Best,<br clear="none">> Shaan<br clear="none">> On Saturday, June 6, 2020, 10:47:34 PM GMT+5:30, Chihurumnaya Ibiam<br clear="none">> <[17]<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a>> wrote:<br clear="none">> <br clear="none">> Can you test to confirm if it's the problem?<br clear="none">> <br clear="none">> --<br clear="none">> <br clear="none">> Ibiam Chihurumnaya<br clear="none">> [18]<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> On Sat, Jun 6, 2020 at 9:11 AM Shaan Subbaiah B C <[19]<br clear="none">> <a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a>> wrote:<br clear="none">> <br clear="none">> Hello Ibiam,<br clear="none">> Great to know that the markdown formatted as html is more<br clear="none">> convenient.<br clear="none">> <br clear="none">> I'm not entirely sure that the web activity issue is due to<br clear="none">> libglib2.0-dev no being present as a depenency but the error<br clear="none">> seems to be caused due to some header file missing that is<br clear="none">> fixed by installing that package.<br clear="none">> <br clear="none">> I'll open the issues as you specified and test further.<br clear="none">> <br clear="none">> Best,<br clear="none">> Shaan<br clear="none">> <br clear="none">> On Sat, 6 Jun, 2020, 4:40 am Chihurumnaya Ibiam, <[20]<br clear="none">> <a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a>> wrote:<br clear="none">> <br clear="none">> Thanks for the update Shaan,<br clear="none">> <br clear="none">> The error you shared in 2) happens in #840 like you said<br clear="none">> but the traceback in the logs is seen for the first time<br clear="none">> and looks like it's a Python 3 port regression, kindly open<br clear="none">> an issue in sugar so it can be tracked.<br clear="none">> <br clear="none">> Can you confirm that 3) is caused by libglib2.0-dev not<br clear="none">> listed as a dependency in the control file?<br clear="none">> <br clear="none">> Could you open an issue for 4) in the write repo?<br clear="none">> <br clear="none">> I find the markdown rendered as HTML convenient and most of<br clear="none">> it appears as [21]plaintext in the devel archive,<br clear="none">> except the bullet points that start with a `-` above them.<br clear="none">> <br clear="none">> --<br clear="none">> <br clear="none">> Ibiam Chihurumnaya<br clear="none">> [22]<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> <br clear="none">> <br clear="none">> On Fri, Jun 5, 2020 at 10:08 AM [23]<br clear="none">> <a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a> <[24]<br clear="none">> <a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a>> wrote:<br clear="none">> <br clear="none">> I have tried to install sucrose on the standard Debian<br clear="none">> Live ISO (it has no Desktop Environment, only CLI) as<br clear="none">> there were some issues while trying to do so in the<br clear="none">> Debian Live (KDE Plasma) ISO:<br clear="none">> <br clear="none">> ◎ Attempting to install sucrose v117-x after adding<br clear="none">> the unstable repositories to sources.list and<br clear="none">> setting the default release as stable by sudo apt<br clear="none">> install -t unstable sucrose causes 100’s of<br clear="none">> packages to be removed (Including all KDE<br clear="none">> applications, Firefox, Konsole, etc) and initiates<br clear="none">> the install of several 100 language packs for<br clear="none">> Firefox, LibreOffice, etc.<br clear="none">> <br clear="none">> ◎ Installing by setting the default release as<br clear="none">> unstable and sudo apt install sucrose causes the<br clear="none">> same issue above.<br clear="none">> <br clear="none">> ◎ Setting default release as ‘stable’ and attempting<br clear="none">> to install using sudo apt install sucrose/unstable<br clear="none">> does not cause this issue but requires including<br clear="none">> all the dependencies with /unstable postfix<br clear="none">> (otherwise dependencies are fetched from the stable<br clear="none">> repo itself). This is very messy, the Desktop<br clear="none">> Environment and almost all useful preinstalled<br clear="none">> applications get wiped, some dependencies aren’t<br clear="none">> satisfied while testing Sugar after install.<br clear="none">> <br clear="none">> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br clear="none">> <br clear="none">> Install Debian Live Standard ISO<br clear="none">> <br clear="none">> [25]<a shape="rect" href="https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/debian-live-10.4.0-amd64-standard.iso.torrent" target="_blank">https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/debian-live-10.4.0-amd64-standard.iso.torrent</a><br clear="none">> <br clear="none">> Set default package repository to unstable<br clear="none">> <br clear="none">> # /etc/apt/apt.conf.d/my-default-release<br clear="none">> APT::Default-Release "unstable";<br clear="none">> <br clear="none">> Update, Install gcc-8-base, sucrose<br clear="none">> <br clear="none">> sudo apt update<br clear="none">> sudo apt install gcc-8-base # select 'yes' on the prompt<br clear="none">> sudo apt install sucrose<br clear="none">> <br clear="none">> Debian Live Standard doesn’t come with a Display<br clear="none">> Manager by default, install lightdm<br clear="none">> <br clear="none">> sudo apt install lightdm<br clear="none">> <br clear="none">> Reboot, select Sugar and log in.<br clear="none">> <br clear="none">> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br clear="none">> <br clear="none">> On testing:<br clear="none">> <br clear="none">> 1) Sugar launches. Again most activities work without<br clear="none">> issues. Listed issues below.<br clear="none">> <br clear="none">> 2) Error in shell.log<br clear="none">> <br clear="none">> 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<br clear="none">> 1591278095.944801 ERROR root: set_active() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.28 was not provided by any .service files<br clear="none">> 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<br clear="none">> 1591278100.366105 ERROR root: set_active() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.30 was not provided by any .service files<br clear="none">> Traceback (most recent call last):<br clear="none">> File "/usr/lib/python3/dist-packages/jarabe/desktop/viewcontainer.py", line 69, in do_size_allocate<br clear="none">> self._layout.allocate_children(allocation, self._children)<br clear="none">> File "/usr/lib/python3/dist-packages/jarabe/desktop/favoriteslayout.py", line 250, in allocate_children<br clear="none">> name_hash = hashlib.md5(child.get_bundle_id().decode())<br clear="none">> AttributeError: 'str' object has no attribute 'decode'<br clear="none">> <br clear="none">> ^ Seems to be similar to Sugar issues #840 and #843<br clear="none">> <br clear="none">> 3) Web Activity doesn’t launch, error:<br clear="none">> <br clear="none">> sh: 1: glib-compile-schemas: not found<br clear="none">> Traceback (most recent call last):<br clear="none">> File "/usr/bin/sugar-activity3", line 5, in <module><br clear="none">> activityinstance.main()<br clear="none">> File "/usr/lib/python3/dist-packages/sugar3/activity/activityinstance.py", line 230, in main<br clear="none">> instance = create_activity_instance(activity_constructor, activity_handle)<br clear="none">> File "/usr/lib/python3/dist-packages/sugar3/activity/activityinstance.py", line 59, in create_activity_instance<br clear="none">> activity = constructor(handle)<br clear="none">> File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line 192, in __init__<br clear="none">> self._tabbed_view = TabbedView(self)<br clear="none">> File "/usr/share/sugar/activities/Browse.activity/browser.py", line 145, in __init__<br clear="none">> self.settings = _get_local_settings(activity)<br clear="none">> File "/usr/share/sugar/activities/Browse.activity/browser.py", line 127, in _get_local_settings<br clear="none">> source = Gio.SettingsSchemaSource.new_from_directory(path, None, True)<br clear="none">> 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)<br clear="none">> Terminated by signal 11, pid 866 activity_id 376730b6f93a8aa9b2929c28e423b45b73f2b515<br clear="none">> <br clear="none">> ^ This occurred while using the other installation<br clear="none">> methods as well. It was fixed by installing<br clear="none">> libglib2.0-dev. This may be a packaging issue where<br clear="none">> ‘libglib2.0-dev’ is not specified as a dependency for<br clear="none">> the Web Activity?<br clear="none">> <br clear="none">> 4) Write Activity crashes when trying to move a table.<br clear="none">> ^ Reproduced by: Opening Words Activity -> Insert a<br clear="none">> table -> Try dragging/resizing one of the inner row/<br clear="none">> horizontal lines (Not the ones forming the outer<br clear="none">> boundary) -> Crash<br clear="none">> <br clear="none">> Terminated by signal 11, pid 4715 activity_id 6305d02f3035c4afc03030e685fe338e6e394807<br clear="none">> <br clear="none">> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br clear="none">> <br clear="none">> I’m trying to keep a log/executed snippets in markdown<br clear="none">> on a Github repository. Some files may not contain<br clear="none">> anything useful, just snippets for future reference.<br clear="none">> I’ll make it public after I clean it up a bit.<br clear="none">> <br clear="none">> I’ll post anything important through mail. I have used<br clear="none">> the ‘Markdown Here’ extension to render markdown as<br clear="none">> HTML. Let me know if you find this more convenient and<br clear="none">> I’ll have to check how this appears in the Sugar Devel<br clear="none">> Archive. If not suitable, I’ll revert back to markdown/<br clear="none">> plaintext.<br clear="none">> <br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> Sugar-devel mailing list<br clear="none">> [26]<a shape="rect" href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br clear="none">> [27]<a shape="rect" href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br clear="none">> <br clear="none">> References:<br clear="none">> <br clear="none">> [1] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [2] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [3] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [4] <a shape="rect" href="https://github.com/sugarlabs/browse-activity/" target="_blank">https://github.com/sugarlabs/browse-activity/</a><br clear="none">> [5] <a shape="rect" href="https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/blob/master/browser.py" target="_blank">https://salsa.debian.org/pkg-sugar-team/sugar-browse-activity/-/blob/master/browser.py</a><br clear="none">> [6] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [7] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [8] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [9] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [10] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [11] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [12] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [13] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [14] <a shape="rect" href="https://askubuntu.com/questions/204643/getting-missing-dependency-for-compilation-glib-compile-schemas" target="_blank">https://askubuntu.com/questions/204643/getting-missing-dependency-for-compilation-glib-compile-schemas</a><br clear="none">> [15] <a shape="rect" href="https://askubuntu.com/questions/161739/why-does-launchpad-fail-to-find-glib-compile-schemas-while-building-for-ppa" target="_blank">https://askubuntu.com/questions/161739/why-does-launchpad-fail-to-find-glib-compile-schemas-while-building-for-ppa</a><br clear="none">> [16] <a shape="rect" href="https://packages.debian.org/search?keywords=sugar-browse-activity" target="_blank">https://packages.debian.org/search?keywords=sugar-browse-activity</a><br clear="none">> [17] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [18] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [19] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [20] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [21] <a shape="rect" href="http://lists.sugarlabs.org/archive/sugar-devel/2020-June/058403.html" target="_blank">http://lists.sugarlabs.org/archive/sugar-devel/2020-June/058403.html</a><br clear="none">> [22] mailto:<a shape="rect" href="mailto:ibiamchihurumnaya@gmail.com" target="_blank">ibiamchihurumnaya@gmail.com</a><br clear="none">> [23] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [24] mailto:<a shape="rect" href="mailto:shaansubbaiah.cs18@bmsce.ac.in" target="_blank">shaansubbaiah.cs18@bmsce.ac.in</a><br clear="none">> [25] <a shape="rect" href="https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/debian-live-10.4.0-amd64-standard.iso.torrent" target="_blank">https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/debian-live-10.4.0-amd64-standard.iso.torrent</a><br clear="none">> [26] mailto:<a shape="rect" href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><div id="gmail-m_-4636620237897380414yqtfd26012"><br clear="none">> [27] <a shape="rect" href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a></div><br clear="none"><br clear="none">-- <br clear="none">James Cameron<br clear="none"><a shape="rect" href="http://quozl.netrek.org/" target="_blank">http://quozl.netrek.org/</a><div id="gmail-m_-4636620237897380414yqtfd55417"><br clear="none"></div></div>
</div>
</div></div></div></blockquote></div>