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

Saumya Mishra 2017230 at iiitdmj.ac.in
Fri Jun 19 11:38:45 EDT 2020


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 shaansubbaiah.cs18 at bmsce.ac.in <
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/Stop Functions Save/Restore Collaboration Interface Other
> Browse ✕ Debian #963068 <http://bugs.debian.org/963068> ✓ (Search bar
> doesn’t work very well, described below) ✓ ✕ (Error in Host’s log,
> doesn’t work, described below) ✓ Collapsing the Bookmarks bar lags/
> causes multiple refreshes?
> Calculate ✓ ✓ ✓ ✓ ✓ (Nothing thats not tracked on Github) ✓
> Chat ✓ ✓ ✓ ✓ ✓ ✓
> Image Viewer ✓ ✓ ✓ ✓ ✓ ✓
> Jukebox ✓ ✓ ✓ - ✕ Multiple issues, mostly due to the OpenGL Renderer,
> described below ✓
> Log ✓ ✓ ✓ (Saving log as a zip) - ✓ ✓
> Pippy ✓ ✓ ✓ - ✓ Dark mode is not applied to Pippy tabs created after Dark
> Mode is enabled.
> Read ✓ ✓ (Sometimes last 2 characters in a txt file are missing.
> Described below ) ✓ ✕ (Stuck at ‘Receiving book’) ✓ ✓
> Terminal ✓ ✓ ✓ - ✓ Warning in the activity log, described below
> Write ✓ ✓ ✓ ✕ #40, Reported by Saumya
> <https://github.com/sugarlabs/write-activity/issues/40> ✓ 1. TTS ends
> halfway through the last word.
> 2. Default font differs for guest in collaboration #43
> <https://github.com/sugarlabs/write-activity/issues/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._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
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200619/1904688a/attachment-0001.htm>


More information about the Sugar-devel mailing list