[Sugar-devel] Debian Advocacy for Sugar - Update - 19-June-2020

James Cameron quozl at laptop.org
Sat Jun 20 04:14:15 EDT 2020


Thanks for confirming some of the problems are reproducible.

If I were you, your choices are to either;

(a) fix a problem and make a pull request, connected to any existing issue or not doesn't matter, what matters is the fix,

(b) not fix a problem and instead create an issue, leaving it for someone else to fix, but aggregating the useful data about how the problem is reproducible without using the Debian packages, with a link to the sugar-devel@ thread or message,

(c) just file a reply confirming a problem occurs without Debian packages, being specific about the problem and what environment it was seen in.

The key is to produce progress, but without wasting time on administrative details.

Keep thinking of GitHub issues as "something that should be fixed but I won't be doing it.".

On Fri, Jun 19, 2020 at 09:08:45PM +0530, Saumya Mishra wrote:
> Hello Shaan,
> 
> Nice work. I have also tested fructose activities on Ubuntu 20.04 with sucrose
> package version 0.117 , Some of the errors you mentioned are reproducible in
> following activities in Browse, Calculate and in write. I would suggest opening
> issues in GitHub repositories so that if someone wants to work on activities ,
> he/she can solve them.
> 
> Thanks
> Saumya
> 
> On Fri, Jun 19, 2020 at 7:52 PM [1]shaansubbaiah.cs18 at bmsce.ac.in <[2]
> shaansubbaiah.cs18 at 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           ✕ (Error in              Collapsing
>               ✕ [3]  bar doesn’t         Host’s log,              the Bookmarks
>     Browse    Debian work very   ✓       doesn’t work, ✓          bar lags/
>               #      well,               described                causes
>               963068 described           below)                   multiple
>                      below)                                       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          ✕ (Stuck at
>     Read      ✓      in a txt    ✓       ‘Receiving    ✓          ✓
>                      file are            book’)
>                      missing.
>                      Described
>                      below )
>                                                                   Warning in
>                                                                   the activity
>     Terminal  ✓      ✓           ✓       -             ✓          log,
>                                                                   described
>                                                                   below
>                                                                   1. TTS ends
>                                                                   halfway
>                                                                   through the
>                                          ✕ [4]#40,                last word.
>     Write     ✓      ✓           ✓       Reported by   ✓          2. Default
>                                          Saumya                   font differs
>                                                                   for guest in
>                                                                   collaboration
>                                                                   [5]#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._[6]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.
> 
>      1. 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.
>      2. 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
> 
>      1. Moving the OpenGL renderer window around creates a Windows XP-like
>         Solitare effect
>      2. 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
> 
>      3. Seeking ahead or back causes the OpenGL visualization to freeze, takes
>         quite some time to recover, or doesn’t recover at all.
>      4. 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.
> 
>      5. 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 Jukebox handles the songs. This consumes a ton of
>     space, in my case 7mb*60.
> 
>     Read
>     Sometimes the last 2 characters in a txt file aren’t seen.
>     Reproduced by: Create a txt 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
>     Typing random text instead of digits/variables throws an error. Should be
>     handled.
> 
>     1592573782.228379 DEBUG Calculate: Result: RuntimeError("Variable 'oklol' not defined", 0,
>      5)
>     Traceback (most recent call last):
>       File "/usr/share/sugar/activities/Calculate.activity/layout.py", line 133, in <lambda>
>         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 110, in __str__
>         {'a': self.eqn[self._range[0] - 1: self._range[1] - 1],
>     TypeError: 'NoneType' object is not subscriptable
> 
>     Browse
>     Traceback in Host’s Browse log when Guest connects. The webpage opened in
>     the host does not open in the Guest.
> 
>     1592574235.567373 DEBUG CollabWrapper: __state_changed_cb dbus.UInt32(3) dbus.UInt32(0)
>     Traceback (most recent call last):
>       File "/usr/share/sugar/activities/Browse.activity/collabwrapper.py", line 688, in __noti
>     fy_state_cb
>         input_stream = self._get_input_stream()
>       File "/usr/share/sugar/activities/Browse.activity/collabwrapper.py", line 736, in _get_i
>     nput_stream
>         return Gio.MemoryInputStream.new_from_data(self._blob, None)
>     TypeError: Item 0: Must be number, not str
> 
>     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
>    
>     Note, the tests:
> 
>       □ Don’t include issues that were already tracked in Github.
>       □ Cover almost all the functions of an activity.
>       □ Save/Restore refers to closing and reopening the activity and checking
>         if there are any changes for activities that do not have an explicit
>         save functionality.
>       □ Includes most, if not all errors that were logged while testing the
>         activities. Ideally nothing should be left out, but …
>       □ Will be covered in more detail if possible for Debian unstable and
>         testing, this was to set up a baseline.
>     I still have to decide on a plan to test Sugar’s features
>     (non-activity-related).
>     Please let me know if I have missed anything. Let me know if you face these
>     issues as well, would be very helpful in determining if they are due to
>     Debian or Sugar.
> 
>     Best,
>     Shaan
> 
>     _______________________________________________
>     Sugar-devel mailing list
>     [7]Sugar-devel at lists.sugarlabs.org
>     [8]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> *
> 
> References:
> 
> [1] mailto:shaansubbaiah.cs18 at bmsce.ac.in
> [2] mailto:shaansubbaiah.cs18 at bmsce.ac.in
> [3] http://bugs.debian.org/963068
> [4] https://github.com/sugarlabs/write-activity/issues/40
> [5] https://github.com/sugarlabs/write-activity/issues/43
> [6] http://notebook.props.page/
> [7] mailto:Sugar-devel at lists.sugarlabs.org
> [8] http://lists.sugarlabs.org/listinfo/sugar-devel

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


More information about the Sugar-devel mailing list