Re: [Sugar-devel] [SoaS] Fedora 32 Sugar on a Stick (0.116) status/testing

2020-02-23 Thread James Cameron
On Sun, Feb 23, 2020 at 11:40:04AM -0800, Alex Perez wrote:
> Testing with the following nightly SoaS Live ISO,
> Fedora-SoaS-Live-x86_64-32-20200222.n.0.iso, the following results
> were observed:

Thanks for testing.

My answers below are on the assumption that Python 2 is not being
provided by Fedora, despite Red Hat continuing to support it on their
other products.  Anyone planning to deploy Sugar in a school would add
Python 2 with Sugar Toolkit and immediately gain access to more
activities.

> Default-installed activities which fail to start:
> Visual Match (49) - no longer maintained, now called Dimensions. I
> propose immediate removal of package.

VisualMatch was renamed to Dimensions.  It is not yet ported.  A
pull-request is being worked;

https://github.com/sugarlabs/dimensions/pull/16

Fedora could either track the renaming, or use the new source.

> Paint (69) - upon start, says it needs to be ported to Python 3,
> then bails.  Should work?

No, v69 is Python 2 only.  Use v70.

> Words (23) - Incompatible with Sugar 0.116, needs to be ported to
> Python 3. I propose removal of the package

Is ported already.  Use v24.

> IRC (12) - Incompatible with Sugar 0.116 - Package should be
> removed, no port to Py3 available

Yes, v12 is Python 2 only.

> InfoSlicer (version 25) - Incompatible with Sugar 0.116 - Package
> should be removed, no port to Py3 available

Yes, v25 is Python 2 only.

> Get Books (18.2) - Py3 version is 19, needs to be upgraded in
> package if we want to keep it

No, v19 is Python 2 only.  It is not yet ported.  A pull-request is
being worked;

https://github.com/sugarlabs/get-books-activity/pull/31

> FotoToon (23.1) - This version should work, but doesn't seem
> to. Requires investigation or removal

No, v23.1 is Python 2 only.  Use v25.

> Finance (14), needs to be upgraded to 15 for Sugar 0.116+

Yes, v14 is Python 2 only.  Use v15.

> Clock (22) - Not sure which version is compatible with 0.116, if
> any.

Known problem fixed but not yet released.  Use v22 with 0fdfc22 ("Fix
fail to start, ModuleNotFoundError, ProgressToolButton")

> Distance (version 36),  Should work, doesn't seem to start. Requires
> investigation.

No, shouldn't work, as v36 is Python 2 only.  It is one of the very
difficult activities to port, since it requires two laptops.  It can't
be done with virtual machines.

> Log (41) - Fails on start-up with AttributeError, ideally should be
> ported to python 3.

No, v41 is Python 3 already, and should work.  Does work on Ubuntu
20.04 beta.  Sounds like you have a Fedora specific error to diagnose.

The dependencies are unusual for this activity; check you have covered
them properly.  On Ubuntu 20.04 the dependencies include;

python3, python3-sugar3, python3-gi, python3-urllib3,
gir1.2-glib-2.0, gir1.2-gtk-3.0, gir1.2-pango-1.0,
net-tools, procps

> Activities which start and work:
> Abacus (61), Browse (204), Terminal (47), Typing Turtle (32), Chat
> (86), Maze (29), Moon (19), Memorize, Record (201), Read (123),
> Image Viewer (65), Jukebox (36), Memorize (57), Portfolio (52), Read
> (123), Speak (58), StopWatch, Story (20), TurtleBlocks (220), Typing
> Turtle (32) Write (101), Calculate (46), Jukebox (36), Measure (103)
> 
> Not installed by default, does not start once installed:
> Hello World (version 6)

v7 is Python 2.  Port was done.  Next version should be Python 3.

> FractionBounce (version 25, needs to be updated to 28)

Yes.

> ColorDeducto (7) - incompatible with Sugar 0.112+, must be removed

Or use the next version.  v7 is Python 2.  Port was done.  Next version
should be Python 3.

> Nutrition (py2 only)

v15 is Python 2.  Port was done.  Next version should be Python 3.

> Pukklanapac (py2 only)

v13 is Python 2.  It is not yet ported.  A pull-request is
being worked;

https://github.com/sugarlabs/pukllanapac/pull/10

> Ruler 33 (py2 only)

v33 is Python 2.  It is not yet ported.

> LocoSugar (v11, py2 only)

v11 is Python 2.  It is not yet ported.

> Recall (py2 only, telepathy issue)

v6 is Python 2.  It is not yet ported.

> Will not install, broken dependencies:
> Physics (34) - has py2 dependencies that need to be changed/fixed

v34 is Python 2.  Use v35 instead.

For my work using Ubuntu 20.04 the Box2D project had to be packaged
for Python 3.

> Pippy 72.5 (sugar-pippy, py2)

v72.5 does not exist.  v72.x is Python 2.  Use v74 instead.

> Flip 9, py2

v9 is Python 2.  Port was done.  Next version should be Python 3.

> sugar-kuku-5

No change since my last advice on 31st August;

Not yet ported.  Not yet in a GitHub repository.  Needs a maintainer.
http://git.sugarlabs.org/kukuanakula
http://activities.sugarlabs.org/en-US/sugar/addon/4526

> sugar-castle-23

No change since my last advice on 31st August;

Not yet ported.  Not yet in a GitHub repository.  Needs a maintainer.
http://activities.sugarlabs.org/en-US/sugar/addon/4397

> sugar-countries-3

Don't know what this is, but you mentioned sugar-countries-33 below.

> sugar-play

Re: [Sugar-devel] [SoaS] Fedora 32 Sugar on a Stick (0.116) status/testing

2020-02-23 Thread Chihurumnaya Ibiam
On Sun, Feb 23, 2020 at 9:34 PM James Cameron  wrote:

> On Sun, Feb 23, 2020 at 11:40:04AM -0800, Alex Perez wrote:
> > Testing with the following nightly SoaS Live ISO,
> > Fedora-SoaS-Live-x86_64-32-20200222.n.0.iso, the following results
> > were observed:
>
> Thanks for testing.
>
> My answers below are on the assumption that Python 2 is not being
> provided by Fedora, despite Red Hat continuing to support it on their
> other products.  Anyone planning to deploy Sugar in a school would add
> Python 2 with Sugar Toolkit and immediately gain access to more
> activities.
>
> > Default-installed activities which fail to start:
> > Visual Match (49) - no longer maintained, now called Dimensions. I
> > propose immediate removal of package.
>
> VisualMatch was renamed to Dimensions.  It is not yet ported.  A
> pull-request is being worked;
>
> https://github.com/sugarlabs/dimensions/pull/16
>
> Fedora could either track the renaming, or use the new source.
>
>
I'd planned on changing the name after the port to python3 is completed and
activity is released.

> Paint (69) - upon start, says it needs to be ported to Python 3,
> > then bails.  Should work?
>
> No, v69 is Python 2 only.  Use v70.
>

Yet to update that.


> > Words (23) - Incompatible with Sugar 0.116, needs to be ported to
> > Python 3. I propose removal of the package
>
> Is ported already.  Use v24.
>

There's an open PR but it failed to build in koji, fixing that.


> > IRC (12) - Incompatible with Sugar 0.116 - Package should be
> > removed, no port to Py3 available
>
> Yes, v12 is Python 2 only.
>

I don't think the package should be removed provided there's an update
upstream.


> > InfoSlicer (version 25) - Incompatible with Sugar 0.116 - Package
> > should be removed, no port to Py3 available
>
> Yes, v25 is Python 2 only.
>
> > Get Books (18.2) - Py3 version is 19, needs to be upgraded in
> > package if we want to keep it
>
> No, v19 is Python 2 only.  It is not yet ported.  A pull-request is
> being worked;
>
> https://github.com/sugarlabs/get-books-activity/pull/31
>
> > FotoToon (23.1) - This version should work, but doesn't seem
> > to. Requires investigation or removal
>
> No, v23.1 is Python 2 only.  Use v25.
>

Added to TODO list.


> > Finance (14), needs to be upgraded to 15 for Sugar 0.116+
>
> Yes, v14 is Python 2 only.  Use v15.
>
> > Clock (22) - Not sure which version is compatible with 0.116, if
> > any.
>
> Known problem fixed but not yet released.  Use v22 with 0fdfc22 ("Fix
> fail to start, ModuleNotFoundError, ProgressToolButton")
>

An update was made over 2 weeks ago, it should work fine. Can you provide
logs if otherwise.

>
> > Distance (version 36),  Should work, doesn't seem to start. Requires
> > investigation.
>
> No, shouldn't work, as v36 is Python 2 only.  It is one of the very
> difficult activities to port, since it requires two laptops.  It can't
> be done with virtual machines.
>
> > Log (41) - Fails on start-up with AttributeError, ideally should be
> > ported to python 3.
>
> No, v41 is Python 3 already, and should work.  Does work on Ubuntu
> 20.04 beta.  Sounds like you have a Fedora specific error to diagnose.
>

I agree with James.

>
> The dependencies are unusual for this activity; check you have covered
> them properly.  On Ubuntu 20.04 the dependencies include;
>
> python3, python3-sugar3, python3-gi, python3-urllib3,
> gir1.2-glib-2.0, gir1.2-gtk-3.0, gir1.2-pango-1.0,
> net-tools, procps
>

Thanks, I'll update the dependency list.


> > Activities which start and work:
> > Abacus (61), Browse (204), Terminal (47), Typing Turtle (32), Chat
> > (86), Maze (29), Moon (19), Memorize, Record (201), Read (123),
> > Image Viewer (65), Jukebox (36), Memorize (57), Portfolio (52), Read
> > (123), Speak (58), StopWatch, Story (20), TurtleBlocks (220), Typing
> > Turtle (32) Write (101), Calculate (46), Jukebox (36), Measure (103)
> >
> > Not installed by default, does not start once installed:
> > Hello World (version 6)
>
> v7 is Python 2.  Port was done.  Next version should be Python 3.
>
> > FractionBounce (version 25, needs to be updated to 28)
>
> Yes.
>
> > ColorDeducto (7) - incompatible with Sugar 0.112+, must be removed
>
> Or use the next version.  v7 is Python 2.  Port was done.  Next version
> should be Python 3.
>
> > Nutrition (py2 only)
>
> v15 is Python 2.  Port was done.  Next version should be Python 3.
>
> > Pukklanapac (py2 only)
>
> v13 is Python 2.  It is not yet ported.  A pull-request is
> being worked;
>
> https://github.com/sugarlabs/pukllanapac/pull/10
>
> > Ruler 33 (py2 only)
>
> v33 is Python 2.  It is not yet ported.
>
> > LocoSugar (v11, py2 only)
>
> v11 is Python 2.  It is not yet ported.
>
> > Recall (py2 only, telepathy issue)
>
> v6 is Python 2.  It is not yet ported.


Added activities to  todo list, I'd missed some of them.

>
> > Will not install, broken dependencies:
> > Physics (34) - has py2 dependencies that need to be changed/fixed
>
> v34 is Python 2.  Use

Re: [Sugar-devel] [SoaS] Fedora 32 Sugar on a Stick (0.116) status/testing

2020-02-23 Thread James Cameron
On Mon, Feb 24, 2020 at 12:57:56AM +0100, Chihurumnaya Ibiam wrote:
> On Sun, Feb 23, 2020 at 9:34 PM James Cameron wrote:
> > On Sun, Feb 23, 2020 at 11:40:04AM -0800, Alex Perez wrote:
> > > Testing with the following nightly SoaS Live ISO,
> > > Fedora-SoaS-Live-x86_64-32-20200222.n.0.iso, the following
> > > results were observed:
> >
> > Thanks for testing.
> >
> > > Words (23) - Incompatible with Sugar 0.116, needs to be ported
> > > to Python 3. I propose removal of the package
> >
> > Is ported already.  Use v24.
>
> There's an open PR but it failed to build in koji, fixing that.

Interesting.

https://src.fedoraproject.org/rpms/sugar-words/pull-request/1

Yes, I see.  I suggest testing those spec file lines before commit.
It is wasteful of time and resources to rely on koji to do your tests.
I recommend testing with rpmbuild.

In particular,

* po/cpp.po was removed,

* rm could use -f to quietly fail if the file is already gone,

> [...]
> > > Clock (22) - Not sure which version is compatible with 0.116, if
> > > any.
> >
> > Known problem fixed but not yet released.  Use v22 with 0fdfc22
> > ("Fix fail to start, ModuleNotFoundError, ProgressToolButton")
>
> An update was made over 2 weeks ago, it should work fine. Can you
> provide logs if otherwise.

It's a pretty fundamental mistake by me in v22, so I can't see how it
would work.  The needed commit is not in rpms/sugar-clock yet.

I forked for OLPC OS.  I've pushed my local branch r22.1 which has a
tag v22.1 which has the commit.

https://download.sugarlabs.org/sources/honey/Clock/Clock-22.1.tar.bz2

> [...]
> > > Will not install, broken dependencies:
> > > Physics (34) - has py2 dependencies that need to be changed/fixed
> >
> > v34 is Python 2.  Use v35 instead.
> >
> > For my work using Ubuntu 20.04 the Box2D project had to be
> > packaged for Python 3.
>
> There's an open PR for an update.

Where?  I've looked upstream and in Fedora sources, can't see one.

-- 
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] [SoaS] Fedora 32 Sugar on a Stick (0.116) status/testing

2020-02-23 Thread Chihurumnaya Ibiam
On Mon, Feb 24, 2020 at 1:35 AM James Cameron  wrote:

> On Mon, Feb 24, 2020 at 12:57:56AM +0100, Chihurumnaya Ibiam wrote:
> > On Sun, Feb 23, 2020 at 9:34 PM James Cameron wrote:
> > > On Sun, Feb 23, 2020 at 11:40:04AM -0800, Alex Perez wrote:
> > > > Testing with the following nightly SoaS Live ISO,
> > > > Fedora-SoaS-Live-x86_64-32-20200222.n.0.iso, the following
> > > > results were observed:
> > >
> > > Thanks for testing.
> > >
> > > > Words (23) - Incompatible with Sugar 0.116, needs to be ported
> > > > to Python 3. I propose removal of the package
> > >
> > > Is ported already.  Use v24.
> >
> > There's an open PR but it failed to build in koji, fixing that.
>
> Interesting.
>
> https://src.fedoraproject.org/rpms/sugar-words/pull-request/1
>
> Yes, I see.  I suggest testing those spec file lines before commit.
> It is wasteful of time and resources to rely on koji to do your tests.
> I recommend testing with rpmbuild.
>

Yeah I do test locally, can't remember the conditions why the PR was opened.


> In particular,
>
> * po/cpp.po was removed,
>
> * rm could use -f to quietly fail if the file is already gone,
>
> > [...]
> > > > Clock (22) - Not sure which version is compatible with 0.116, if
> > > > any.
> > >
> > > Known problem fixed but not yet released.  Use v22 with 0fdfc22
> > > ("Fix fail to start, ModuleNotFoundError, ProgressToolButton")
> >
> > An update was made over 2 weeks ago, it should work fine. Can you
> > provide logs if otherwise.
>
> It's a pretty fundamental mistake by me in v22, so I can't see how it
> would work.  The needed commit is not in rpms/sugar-clock yet.
>

> I forked for OLPC OS.  I've pushed my local branch r22.1 which has a
> tag v22.1 which has the commit.
>
> https://download.sugarlabs.org/sources/honey/Clock/Clock-22.1.tar.bz2
>
>
Thanks.

> [...]
> > > > Will not install, broken dependencies:
> > > > Physics (34) - has py2 dependencies that need to be changed/fixed
> > >
> > > v34 is Python 2.  Use v35 instead.
> > >
> > > For my work using Ubuntu 20.04 the Box2D project had to be
> > > packaged for Python 3.
> >
> > There's an open PR for an update.
>
> Where?  I've looked upstream and in Fedora sources, can't see one.
>

I'd meant Pippy activity
.

>
> --
> 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] [SoaS] Fedora 32 Sugar on a Stick (0.116) status/testing

2020-02-24 Thread Peter Robinson
> > Log (41) - Fails on start-up with AttributeError, ideally should be
> > ported to python 3.
>
> No, v41 is Python 3 already, and should work.  Does work on Ubuntu
> 20.04 beta.  Sounds like you have a Fedora specific error to diagnose.
>
> The dependencies are unusual for this activity; check you have covered
> them properly.  On Ubuntu 20.04 the dependencies include;
>
> python3, python3-sugar3, python3-gi, python3-urllib3,
> gir1.2-glib-2.0, gir1.2-gtk-3.0, gir1.2-pango-1.0,
> net-tools, procps

As far as I can see all those deps are there.

I see the following crash:

Traceback (most recent call last):
  File "/usr/bin/sugar-activity3", line 5, in 
activityinstance.main()
  File "/usr/lib/python3.8/site-packages/sugar3/activity/activityinstance.py",
line 230, in main
instance = create_activity_instance(activity_constructor, activity_handle)
  File "/usr/lib/python3.8/site-packages/sugar3/activity/activityinstance.py",
line 59, in create_activity_instance
activity = constructor(handle)
  File "/usr/share/sugar/activities/Log.activity/logviewer.py", line
458, in __init__
self.viewer = MultiLogView(paths, ext_files)
  File "/usr/share/sugar/activities/Log.activity/logviewer.py", line
75, in __init__
self._build_treeview()
  File "/usr/share/sugar/activities/Log.activity/logviewer.py", line
113, in _build_treeview
sorted = self._treemodel.sort_new_with_model()
AttributeError: 'TreeStore' object has no attribute 'sort_new_with_model'
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [SoaS] Fedora 32 Sugar on a Stick (0.116) status/testing

2020-02-24 Thread James Cameron
On Mon, Feb 24, 2020 at 01:23:13PM +, Peter Robinson wrote:
> > > Log (41) - Fails on start-up with AttributeError, [...]
> > Sounds like you have a Fedora specific error to diagnose. [...]
> 
> As far as I can see all those deps are there.
> 
> I see the following crash:
> 
> Traceback (most recent call last): [...]
>   File "/usr/share/sugar/activities/Log.activity/logviewer.py", line 113, in 
> _build_treeview
> sorted = self._treemodel.sort_new_with_model()
> AttributeError: 'TreeStore' object has no attribute 'sort_new_with_model'

Thanks.  It was a GTK breaking change.

Fixed in 42f3f31 ("Fix AttributeError on GTK 3.24.14")

https://github.com/sugarlabs/log-activity/pull/20
https://github.com/sugarlabs/log-activity/pull/20/commits/42f3f31711b32f2ed82a1487e9584ea2536dd2af

Not tested, please test.

My thanks to Manuel Kaufmann in 2012 for adding a README to the source
at the point of error.

-- 
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] [SoaS] Fedora 32 Sugar on a Stick (0.116) status/testing

2020-02-24 Thread Peter Robinson
> > > > Log (41) - Fails on start-up with AttributeError, [...]
> > > Sounds like you have a Fedora specific error to diagnose. [...]
> >
> > As far as I can see all those deps are there.
> >
> > I see the following crash:
> >
> > Traceback (most recent call last): [...]
> >   File "/usr/share/sugar/activities/Log.activity/logviewer.py", line 113, 
> > in _build_treeview
> > sorted = self._treemodel.sort_new_with_model()
> > AttributeError: 'TreeStore' object has no attribute 'sort_new_with_model'
>
> Thanks.  It was a GTK breaking change.
>
> Fixed in 42f3f31 ("Fix AttributeError on GTK 3.24.14")
>
> https://github.com/sugarlabs/log-activity/pull/20
> https://github.com/sugarlabs/log-activity/pull/20/commits/42f3f31711b32f2ed82a1487e9584ea2536dd2af
>
> Not tested, please test.

I did a scratch build and the Log activity ran and I could see logs so
with basic testing it seems fine. Thanks for the fix. I've pushed a
build fix which will be in tomorrow's images.

Early this morning I also pushed a bunch of other Activity updates etc
to assist Ibiam in getting things updated, I think all the simple ones
should be done. I think I got Paint, FotoToon, Clock, Words, Finance,
Finance, possibly some others but I didn't get too much testing done
before I ran out of time, all of the change should be in tomorrow
image so if people could test them further that would be fab.

I think Fedora 32 freezes for Beta tomorrow so after tomorrow further
fixes will need to go through exception process, I can assist Ibiam
with that.

Peter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [SoaS] Fedora 32 Sugar on a Stick (0.116) status/testing

2020-02-26 Thread Peter Robinson
> > > > > Log (41) - Fails on start-up with AttributeError, [...]
> > > > Sounds like you have a Fedora specific error to diagnose. [...]
> > >
> > > As far as I can see all those deps are there.
> > >
> > > I see the following crash:
> > >
> > > Traceback (most recent call last): [...]
> > >   File "/usr/share/sugar/activities/Log.activity/logviewer.py", line 113, 
> > > in _build_treeview
> > > sorted = self._treemodel.sort_new_with_model()
> > > AttributeError: 'TreeStore' object has no attribute 'sort_new_with_model'
> >
> > Thanks.  It was a GTK breaking change.
> >
> > Fixed in 42f3f31 ("Fix AttributeError on GTK 3.24.14")
> >
> > https://github.com/sugarlabs/log-activity/pull/20
> > https://github.com/sugarlabs/log-activity/pull/20/commits/42f3f31711b32f2ed82a1487e9584ea2536dd2af
> >
> > Not tested, please test.
>
> I did a scratch build and the Log activity ran and I could see logs so
> with basic testing it seems fine. Thanks for the fix. I've pushed a
> build fix which will be in tomorrow's images.
>
> Early this morning I also pushed a bunch of other Activity updates etc
> to assist Ibiam in getting things updated, I think all the simple ones
> should be done. I think I got Paint, FotoToon, Clock, Words, Finance,
> Finance, possibly some others but I didn't get too much testing done
> before I ran out of time, all of the change should be in tomorrow
> image so if people could test them further that would be fab.
>
> I think Fedora 32 freezes for Beta tomorrow so after tomorrow further
> fixes will need to go through exception process, I can assist Ibiam
> with that.

So we are now in freeze for Beta.

The latest image for those who can test is:
https://kojipkgs.fedoraproject.org/compose/branched/Fedora-32-20200225.n.0/compose/Spins/x86_64/iso/Fedora-SoaS-Live-x86_64-32-20200225.n.0.iso
https://kojipkgs.fedoraproject.org/compose/branched/Fedora-32-20200225.n.0/compose/Spins/armhfp/images/Fedora-SoaS-armhfp-32-20200225.n.0-sda.raw.xz
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel