[Sugar-devel] Sugar Dashboard, Fedora 18 Test issues

James Cameron quozl at laptop.org
Fri Jul 5 05:27:56 EDT 2019


Still, you have not shown us the error.  Why not?  Haven't you looked
at the cause yet?  You really should do all you can to solve each
problem you face.

I'll have to speculate.

Sugar 0.112 src/jarabe/view/viewhelp.py line 38 onwards does import
WebKit if the system is recognised as OLPC OS 13.x.y.  Otherwise it
imports WebKit2.

The code is so that 0.112 can run on both Fedora 18 inside OLPC OS
13.x.y, or on later releases of Fedora, Ubuntu, or Debian.

It is likely that the error is a combined effect of this code and
your unique approach in setting up a Fedora 18 virtual machine without
WebKit2.

Please test by creating a file /boot/olpc_build containing the number
13.

On Fri, Jul 05, 2019 at 01:50:07PM +0530, Hrishi Patel wrote:
> On a new VM I created yesterday, I didn't have the booting problem. I did add  
> [1]http://rpmdropbox.laptop.org/f18/ as a repository and I installed Sugar (and
> its dependencies) from that repo. It seems that WebKit/2 is not properly
> installed or I must've done something wrong. Shell.log only has one error, that
> is about no WebKit2. 
> 
> Thanks!
> 
> On Fri, Jul 5, 2019 at 1:38 PM James Cameron <[2]quozl at laptop.org> wrote:
> 
>     The error about unity-settings-daemon can be ignored.  It is caused by
>     OLPC customised /usr/bin/sugar which checks for systems with DMI BIOS
>     version data.  You can see this by comparing /usr/bin/sugar with
>     the v0.112 bin/[3]sugar.in on GitHub.
> 
>     Yes, WebKit or WebKit2 is required.
> 
>     You have a new problem; can't boot up.  Tell us more about that
>     problem?
> 
>     On Thu, Jul 04, 2019 at 04:43:10PM +0530, Hrishi Patel wrote:
>     > I managed to install Sugar, But now if I run "sugar" I get, "Error:
>     > unity-settings-daemon command not found". Checked shell.log for Sugar, it
>     said
>     > WebKit2 not found, I tried to install and then restarted the VM, now I
>     can't
>     > boot up. 
>     >
>     > Thanks.
>     >
>     > On Thu, Jul 4, 2019 at 5:28 AM Kalpa Welivitigoda <[1][4]
>     callkalpa at gmail.com>
>     > wrote:
>     >
>     >     On Wed, 3 Jul 2019, 23:00 Hrishi Patel, <[2][5]
>     hrishipatel99 at gmail.com> wrote:
>     >
>     >         Hello,
>     >         I tried. I still couldn't install Sugar. I tried "yum install -y
>     [3]
>     >         [6]http://rpmdropbox.laptop.org/f18/
>     sugar-0.112.olpc.5-0.noarch.rpm" and
>     >         got an error message "Error: Package: sugar-0.112.olpc.5-0.noarch
>     (/
>     >         sugar-0.112.olpc.5-0.noarch)
>     >          Requires: gwebsockets
>     >          You could try using --skip-broken to work around the problem
>     >          You could try running: rpm -Va --nofiles --nodigest"
>     >
>     >         I also installed gwebsockets. 
>     >         (Running F18, i386)
>     >
>     >     Please try "yum localinstall <rpm file>".
>     >
>     >         Thanks.
>     >
>     >         On Mon, Jul 1, 2019 at 5:17 PM Hrishi Patel <[4][7]
>     hrishipatel99 at gmail.com
>     >         > wrote:
>     >
>     >             Thanks! I will try it soon!
>     >
>     >             On Mon, Jul 1, 2019 at 5:05 AM James Cameron <[5][8]
>     quozl at laptop.org>
>     >             wrote:
>     >
>     >                 Fedora has automatic dependency resolution, provided the
>     RPMs
>     >                 are in a
>     >                 repository and the package manager is configured to use
>     that
>     >                 repository.
>     >
>     >                 Our [6][9]http://rpmdropbox.laptop.org/f18/ is already a
>     yum
>     >                 repository,
>     >                 which means on compatible architectures (i686, armv7hl),
>     you
>     >                 may type
>     >                 "sudo yum install -y sugar", and the dependencies are
>     >                 automatically
>     >                 resolved.
>     >
>     >                 However, if you are using an architecture that isn't
>     supported
>     >                 by the
>     >                 OLPC OS release (e.g. x86_64), you'll have to build each
>     of the
>     >                 packages using rpmbuild and add them to your own
>     repository,
>     >                 and
>     >                 configure yum to use that.
>     >
>     >                 It could be simpler to reinstall Fedora 32-bit.
>     >
>     >                 On Sun, Jun 30, 2019 at 03:39:57PM +0530, Hrishi Patel
>     wrote:
>     >                 > I've used rpmbuild and created a .rpm file for sugar
>     0.112. I
>     >                 installed some of
>     >                 > the dependencies but couldn't figure out gwebsockets.
>     If I
>     >                 try to install
>     >                 > gwebsockets with its rpm file, it requires another 3
>     >                 dependencies (typelib
>     >                 > (Glib),  typelib(GObject),  typelib(Gio)). Is there a
>     simpler
>     >                 way to install
>     >                 > gwebsockets/sugar? 
>     >                 > Also, if I force it to install without dependencies,
>     the next
>     >                 boot, system
>     >                 > won't boot up.
>     >                 >
>     >                 > Thanks. Regards.
>     >                 >
>     >                 > On Fri, Jun 28, 2019 at 3:56 AM James Cameron <[1][7]
>     >                 [10]quozl at laptop.org> wrote:
>     >                 >
>     >                 >     Thanks Hrishi.
>     >                 >
>     >                 >     1.  launch_bundle; is in Sugar 0.112,
>     >                 >
>     >                 >     2.  sugar3.graphics.icon.CellRendererIcon; is in
>     Sugar
>     >                 0.112,
>     >                 >
>     >                 >     You are probably using an earlier version of Sugar
>     >                 bundled in
>     >                 >     Fedora 18.
>     >                 >
>     >                 >     OLPC OS uses latest Sugar packages instead of
>     bundled
>     >                 packages because
>     >                 >     it is easier than pushing downstream, and
>     downstream will
>     >                 usually
>     >                 >     cease packaging once the distribution release is
>     >                 announced.
>     >                 >
>     >                 >     OLPC OS 13.2.10 uses Sugar 0.112 from late last
>     year, and
>     >                 you can find
>     >                 >     the packages here;
>     >                 >
>     >                 >     [2][8][11]http://rpmdropbox.laptop.org/f18/
>     >                 >
>     >                 >     You can use the .rpm files if they are compatible
>     >                 architecture, or the
>     >                 >     src.rpm files with rpmbuild if you are not using a
>     >                 compatible
>     >                 >     architecture.
>     >                 >
>     >                 >     On Thu, Jun 27, 2019 at 09:02:03PM +0530, Hrishi
>     Patel
>     >                 wrote:
>     >                 >     > Hello,
>     >                 >     > For the previous discussion, see this issue: [1]
>     [3][9]
>     >                 [12]https://github.com/
>     >                 >     Hrishi1999/
>     >                 >     > Dashboard.activity/issues/2
>     >                 >     >
>     >                 >     > I set up my Fedora 18 test environment, installed
>     >                 sugar. Now if I run the
>     >                 >     > activity, I get the following errors:
>     >                 >     >
>     >                 >     > 1) ImportError: cannot import name launch_bundle
>     >                 >     > I am using launch_bundle from
>     sugar3.activity.activity,
>     >                 earlier used
>     >                 >     > jarabe.journal.bundlelauncher, none of them are
>     present
>     >                 >     >
>     >                 >     > 2) [2][4][10][13]https://paste.fedoraproject.org/
>     paste/
>     >                 Bp9m5xxDnoAojz1OXp7pew
>     >                 >     > The additional argument has been deprecated. 
>     >                 >     >
>     >                 >     > Thanks! 
>     >                 >     >
>     >                 >     > References:
>     >                 >     >
>     >                 >     > [1] [5][11][14]https://github.com/Hrishi1999/
>     >                 Dashboard.activity/issues/2
>     >                 >     > [2] [6][12][15]https://paste.fedoraproject.org/
>     paste/
>     >                 Bp9m5xxDnoAojz1OXp7pew
>     >                 >
>     >                 >     > _______________________________________________
>     >                 >     > Sugar-devel mailing list
>     >                 >     > [7][13][16]Sugar-devel at lists.sugarlabs.org
>     >                 >     > [8][14][17]http://lists.sugarlabs.org/listinfo/
>     sugar-devel
>     >                 >
>     >                 >     --
>     >                 >     James Cameron
>     >                 >     [9][15][18]http://quozl.netrek.org/
>     >                 >
>     >                 > References:
>     >                 >
>     >                 > [1] mailto:[16][19]quozl at laptop.org
>     >                 > [2] [17][20]http://rpmdropbox.laptop.org/f18/
>     >                 > [3] [18][21]https://github.com/Hrishi1999/
>     >                 > [4] [19][22]https://paste.fedoraproject.org/paste/
>     >                 Bp9m5xxDnoAojz1OXp7pew
>     >                 > [5] [20][23]https://github.com/Hrishi1999/
>     Dashboard.activity/
>     >                 issues/2
>     >                 > [6] [21][24]https://paste.fedoraproject.org/paste/
>     >                 Bp9m5xxDnoAojz1OXp7pew
>     >                 > [7] mailto:[22][25]Sugar-devel at lists.sugarlabs.org
>     >                 > [8] [23][26]http://lists.sugarlabs.org/listinfo/
>     sugar-devel
>     >                 > [9] [24][27]http://quozl.netrek.org/
>     >
>     >                 --
>     >                 James Cameron
>     >                 [25][28]http://quozl.netrek.org/
>     >
>     >         _______________________________________________
>     >         Sugar-devel mailing list
>     >         [26][29]Sugar-devel at lists.sugarlabs.org
>     >         [27][30]http://lists.sugarlabs.org/listinfo/sugar-devel
>     >
>     > References:
>     >
>     > [1] mailto:[31]callkalpa at gmail.com
>     > [2] mailto:[32]hrishipatel99 at gmail.com
>     > [3] [33]http://rpmdropbox.laptop.org/f18/sugar-0.112.olpc.5-0.noarch.rpm
>     > [4] mailto:[34]hrishipatel99 at gmail.com
>     > [5] mailto:[35]quozl at laptop.org
>     > [6] [36]http://rpmdropbox.laptop.org/f18/
>     > [7] mailto:[37]quozl at laptop.org
>     > [8] [38]http://rpmdropbox.laptop.org/f18/
>     > [9] [39]https://github.com/
>     > [10] [40]https://paste.fedoraproject.org/paste/Bp9m5xxDnoAojz1OXp7pew
>     > [11] [41]https://github.com/Hrishi1999/Dashboard.activity/issues/2
>     > [12] [42]https://paste.fedoraproject.org/paste/Bp9m5xxDnoAojz1OXp7pew
>     > [13] mailto:[43]Sugar-devel at lists.sugarlabs.org
>     > [14] [44]http://lists.sugarlabs.org/listinfo/sugar-devel
>     > [15] [45]http://quozl.netrek.org/
>     > [16] mailto:[46]quozl at laptop.org
>     > [17] [47]http://rpmdropbox.laptop.org/f18/
>     > [18] [48]https://github.com/Hrishi1999/
>     > [19] [49]https://paste.fedoraproject.org/paste/Bp9m5xxDnoAojz1OXp7pew
>     > [20] [50]https://github.com/Hrishi1999/Dashboard.activity/issues/2
>     > [21] [51]https://paste.fedoraproject.org/paste/Bp9m5xxDnoAojz1OXp7pew
>     > [22] mailto:[52]Sugar-devel at lists.sugarlabs.org
>     > [23] [53]http://lists.sugarlabs.org/listinfo/sugar-devel
>     > [24] [54]http://quozl.netrek.org/
>     > [25] [55]http://quozl.netrek.org/
>     > [26] mailto:[56]Sugar-devel at lists.sugarlabs.org
>     > [27] [57]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
>     --
>     James Cameron
>     [58]http://quozl.netrek.org/
> 
> References:
> 
> [1] http://rpmdropbox.laptop.org/f18/
> [2] mailto:quozl at laptop.org
> [3] http://sugar.in/
> [4] mailto:callkalpa at gmail.com
> [5] mailto:hrishipatel99 at gmail.com
> [6] http://rpmdropbox.laptop.org/f18/sugar-0.112.olpc.5-0.noarch.rpm
> [7] mailto:hrishipatel99 at gmail.com
> [8] mailto:quozl at laptop.org
> [9] http://rpmdropbox.laptop.org/f18/
> [10] mailto:quozl at laptop.org
> [11] http://rpmdropbox.laptop.org/f18/
> [12] https://github.com/
> [13] https://paste.fedoraproject.org/paste/
> [14] https://github.com/Hrishi1999/
> [15] https://paste.fedoraproject.org/paste/
> [16] mailto:Sugar-devel at lists.sugarlabs.org
> [17] http://lists.sugarlabs.org/listinfo/sugar-devel
> [18] http://quozl.netrek.org/
> [19] mailto:quozl at laptop.org
> [20] http://rpmdropbox.laptop.org/f18/
> [21] https://github.com/Hrishi1999/
> [22] https://paste.fedoraproject.org/paste/
> [23] https://github.com/Hrishi1999/Dashboard.activity/
> [24] https://paste.fedoraproject.org/paste/
> [25] mailto:Sugar-devel at lists.sugarlabs.org
> [26] http://lists.sugarlabs.org/listinfo/sugar-devel
> [27] http://quozl.netrek.org/
> [28] http://quozl.netrek.org/
> [29] mailto:Sugar-devel at lists.sugarlabs.org
> [30] http://lists.sugarlabs.org/listinfo/sugar-devel
> [31] mailto:callkalpa at gmail.com
> [32] mailto:hrishipatel99 at gmail.com
> [33] http://rpmdropbox.laptop.org/f18/sugar-0.112.olpc.5-0.noarch.rpm
> [34] mailto:hrishipatel99 at gmail.com
> [35] mailto:quozl at laptop.org
> [36] http://rpmdropbox.laptop.org/f18/
> [37] mailto:quozl at laptop.org
> [38] http://rpmdropbox.laptop.org/f18/
> [39] https://github.com/
> [40] https://paste.fedoraproject.org/paste/Bp9m5xxDnoAojz1OXp7pew
> [41] https://github.com/Hrishi1999/Dashboard.activity/issues/2
> [42] https://paste.fedoraproject.org/paste/Bp9m5xxDnoAojz1OXp7pew
> [43] mailto:Sugar-devel at lists.sugarlabs.org
> [44] http://lists.sugarlabs.org/listinfo/sugar-devel
> [45] http://quozl.netrek.org/
> [46] mailto:quozl at laptop.org
> [47] http://rpmdropbox.laptop.org/f18/
> [48] https://github.com/Hrishi1999/
> [49] https://paste.fedoraproject.org/paste/Bp9m5xxDnoAojz1OXp7pew
> [50] https://github.com/Hrishi1999/Dashboard.activity/issues/2
> [51] https://paste.fedoraproject.org/paste/Bp9m5xxDnoAojz1OXp7pew
> [52] mailto:Sugar-devel at lists.sugarlabs.org
> [53] http://lists.sugarlabs.org/listinfo/sugar-devel
> [54] http://quozl.netrek.org/
> [55] http://quozl.netrek.org/
> [56] mailto:Sugar-devel at lists.sugarlabs.org
> [57] http://lists.sugarlabs.org/listinfo/sugar-devel
> [58] http://quozl.netrek.org/

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list