[Sugar-devel] Debian Advocacy for Sugar - Update - 19-June-2020
shaansubbaiah.cs18 at bmsce.ac.in
shaansubbaiah.cs18 at bmsce.ac.in
Sat Jun 20 09:49:31 EDT 2020
Hello James,
I haven't opened issues for these yet as I'm not certain they're all reproducible on other Linux distributions. Fortunately, Saumya could reproduce some of these and has started making PR's for the same.
I didn't want to create multiple issues on Github for which I was not certain was due to Sugar. Do you think that it would be faster to open them on Github and then close if not due to Debian, or rather only open after being confirmed to be due to Sugar?
Best,Shaan
On Saturday, June 20, 2020, 1:45:20 PM GMT+5:30, James Cameron <quozl at laptop.org> wrote:
Thanks. Good summary. Details got a bit deep; these can be left for issues (if you aren't going to fix them) or pull requests (if you are).
On Fri, Jun 19, 2020 at 02:22:13PM +0000, 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 bar ✕ (Error in Collapsing
> ✕ [1] doesn’t work Host’s log, the Bookmarks
> Browse Debian very well, ✓ doesn’t work, ✓ bar lags/
> # described described causes
> 963068 below) below) multiple
> 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 in ✕ (Stuck at
> Read ✓ a txt file ✓ ‘Receiving ✓ ✓
> are missing. book’)
> Described
> below )
> Warning in
> the activity
> Terminal ✓ ✓ ✓ - ✓ log,
> described
> below
> 1. TTS ends
> halfway
> through the
> ✕ [2]#40, last word.
> Write ✓ ✓ ✓ Reported by ✓ 2. Default
> Saumya font differs
> for guest in
> collaboration
> [3]#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
>
>
>
> References:
>
> [1] http://bugs.debian.org/963068
> [2] https://github.com/sugarlabs/write-activity/issues/40
> [3] https://github.com/sugarlabs/write-activity/issues/43
--
James Cameron
http://quozl.netrek.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200620/6ef14f61/attachment-0001.htm>
More information about the Sugar-devel
mailing list