[Sugar-devel] Issues found in Sugar 0.117, fructose activities
Saumya Mishra
2017230 at iiitdmj.ac.in
Sat Jul 4 16:13:18 EDT 2020
Hello all,
Thanks for the update Shaan!! I have tested these errors with Ubuntu 20.04
sucrose package v0.117. I tested Browse, write, and chat. I will update
later with Jukebox.
* Chat works, I have tested with the following change.*
*Chat:* Prevent user from sending smileys when disconnected #30
> <https://github.com/sugarlabs/chat/issues/30>.
> Fixed by Chihurumnaya Ibiam ibiamchihurumnaya at gmail.com
> <http://mailto:ibiamchihurumnaya@gmail.com/> in #31
> <https://github.com/sugarlabs/chat/pull/31#event-3511196996>
>
*Browse:* Sometimes an error is thrown while trying to copy an image. #112
> <https://github.com/sugarlabs/browse-activity/issues/112>
*----- I couldn't able to reproduce it. Tried several times.*
*Write: *
>
> 1] Found multiple issues, later was found out that they were all due to
>> Abiword.
>
> Some of the issues that cause the crash:
>
> 1. Resizing a cell in a table vertically
>
> 2. Moving an image to the extreme left/right of the page
>
> 3. Right Click -> Insert Table
>
> 4. Right Click -> Click Paragraph -> Click Tabs
>
> 5. Right Click -> Set Language
>
>
>
*--- able to reproduce them all. Maybe because of Abiword. Comment
<https://github.com/sugarlabs/write-activity/issues/41#issuecomment-644530459>*
2] Pasting images (eg. the ones copied from the web like above) using CTRL
> + V throws errors.
> Whereas, Right Click -> Paste works.
>
> # Sugar 0.117-3, Debian Bullseye
>
> 1593791090.814256 ERROR root: tempfile is /home/ssbc/.sugar/default/org.laptop.AbiWordActi
> vity/instance/tmpgscy2lm8.png
> Traceback (most recent call last):
> File "/usr/share/sugar/activities/Write.activity/toolbar.py", line 160, in __paste_butto
> n_cb
> px_file.write(data)
> TypeError: write() argument must be str, not bytes
>
> # Sugar 0.117, Sugar Live Build
>
> Traceback (most recent call last):
> File "/usr/src/sugar-activities/Write.activity/toolbar.py", line 160, in __paste_button_
> cb
> px_file.write(data)
> TypeError: write() argument must be str, not bytes
> 1593854307.251860 ERROR root: tempfile is /home/user/.sugar/default/org.laptop.AbiWordActi
> vity/instance/tmpmfc6g_tc.png
>
> *---- Reproducible and try to fix it in #44
<https://github.com/sugarlabs/write-activity/pull/44>*
3] Clicking on the help menu in the activity throws:
>
> ** (sugar-activity3:21476): WARNING **: 15:29:36.729: Error when getting information for file “/usr/share/abiword-3.0/help/en-US/interface/dialogopenlinux.html”: No such file or directory
> Couldn't find a suitable web browser!
> Set the BROWSER environment variable to your desired browser.
>
> Right Click -> Select either Paragraph/Page Numbers/HyperLink/Save Image
> As -> Click Help
>
*----- Reproducible along with another error.*
(sugar-activity3:17037): Gtk-WARNING **: 21:25:38.484: Error loading theme
>> icon 'help-contents' for stock: Icon 'help-contents' not present in theme
>> sugar
>
> xdg-open: file
>> '/usr/share/abiword-3.0/help/en-US/interface/dialogopenlinux.html' does not
>> exist
>
>
4] Error in the activity log, not sure how to reproduce. Generally appears
> on closing the activity after attempting to paste images, with errors.
>
> (sugar-activity3:20948): Gtk-CRITICAL **: 09:15:33.662: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
> /usr/lib/python3/dist-packages/gi/overrides/GObject.py:479: Warning: ../../../gobject/gsignal.c:2563: instance '0x290d5e0' has no handler with id '2367'
> GObjectModule.signal_handler_block(obj, handler_id)
> /usr/lib/python3/dist-packages/gi/overrides/GObject.py:560: Warning: ../../../gobject/gsignal.c:2605: instance '0x290d5e0' has no handler with id '2367'
> return func(*args, **kwargs)
> /usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1641: Warning: invalid cast from 'GtkOverlay' to 'GtkWindow'
> return _Gtk_main(*args, **kwargs)
>
> ----- *Reproducible almost every time whenever the activity opens.*
Thanks
Saumya
On Sat, Jul 4, 2020 at 6:51 PM shaansubbaiah.cs18 at bmsce.ac.in <
shaansubbaiah.cs18 at bmsce.ac.in> wrote:
> Hello all,
>
> Listed the issues found this past week. Tested on Sugar 0.117-3, Debian
> Bullseye.
>
> All issues are reproducible on Sugar 0.117, Sugar Live Build.
>
> Activities:
> *Browse:* Sometimes an error is thrown while trying to copy an image. #112
> <https://github.com/sugarlabs/browse-activity/issues/112>
>
> *Chat:* Prevent user from sending smileys when disconnected #30
> <https://github.com/sugarlabs/chat/issues/30>.
> Fixed by Chihurumnaya Ibiam ibiamchihurumnaya at gmail.com
> <http://mailto:ibiamchihurumnaya@gmail.com> in #31
> <https://github.com/sugarlabs/chat/pull/31#event-3511196996>
>
> *Jukebox:* Errors when navigating above and below the first and last
> songs respectively #30
> <https://github.com/sugarlabs/jukebox-activity/issues/30>
>
> *Write:*
> 1] Found multiple issues
> <https://github.com/sugarlabs/write-activity/issues/43#issuecomment-653773034>,
> later was found out that they were all due to Abiword.
> Some of the issues that cause the crash:
>
> 1. Resizing a cell in a table vertically
> 2. Moving an image to the extreme left/right of the page
> 3. Right Click -> Insert Table
> 4. Right Click -> Click Paragraph -> Click Tabs
> 5. Right Click -> Set Language
>
> ------------------------------
>
> 2] Pasting images (eg. the ones copied from the web like above) using CTRL
> + V throws errors.
> Whereas, Right Click -> Paste works.
>
> # Sugar 0.117-3, Debian Bullseye
> 1593791090.814256 ERROR root: tempfile is /home/ssbc/.sugar/default/org.laptop.AbiWordActi
> vity/instance/tmpgscy2lm8.png
> Traceback (most recent call last):
> File "/usr/share/sugar/activities/Write.activity/toolbar.py", line 160, in __paste_butto
> n_cb
> px_file.write(data)
> TypeError: write() argument must be str, not bytes
>
> # Sugar 0.117, Sugar Live Build
>
> Traceback (most recent call last):
> File "/usr/src/sugar-activities/Write.activity/toolbar.py", line 160, in __paste_button_
> cb
> px_file.write(data)
> TypeError: write() argument must be str, not bytes1593854307.251860 ERROR root: tempfile is /home/user/.sugar/default/org.laptop.AbiWordActi
> vity/instance/tmpmfc6g_tc.png
>
> ------------------------------
>
> 3] Clicking on the help menu in the activity throws:
>
> ** (sugar-activity3:21476): WARNING **: 15:29:36.729: Error when getting information for file “/usr/share/abiword-3.0/help/en-US/interface/dialogopenlinux.html”: No such file or directory
> Couldn't find a suitable web browser!
> Set the BROWSER environment variable to your desired browser.
>
> Right Click -> Select either Paragraph/Page Numbers/HyperLink/Save Image
> As -> Click Help
> ------------------------------
>
> 4] Error in the activity log, not sure how to reproduce. Generally appears
> on closing the activity after attempting to paste images, with errors.
>
> (sugar-activity3:20948): Gtk-CRITICAL **: 09:15:33.662: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
> /usr/lib/python3/dist-packages/gi/overrides/GObject.py:479: Warning: ../../../gobject/gsignal.c:2563: instance '0x290d5e0' has no handler with id '2367'
> GObjectModule.signal_handler_block(obj, handler_id)
> /usr/lib/python3/dist-packages/gi/overrides/GObject.py:560: Warning: ../../../gobject/gsignal.c:2605: instance '0x290d5e0' has no handler with id '2367'
> return func(*args, **kwargs)
> /usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1641: Warning: invalid cast from 'GtkOverlay' to 'GtkWindow'
> return _Gtk_main(*args, **kwargs)
>
> ------------------------------
>
> The issues listed above for the Write activity haven’t been opened it in
> Github yet.
>
> Best,
> Shaan
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
05/07/20,
00:42:24
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200705/94eec788/attachment-0001.htm>
More information about the Sugar-devel
mailing list