[Sugar-devel] Issues found in Sugar 0.117, fructose activities

shaansubbaiah.cs18 at bmsce.ac.in shaansubbaiah.cs18 at bmsce.ac.in
Sat Jul 4 11:51:05 EDT 2020


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

Chat: Prevent user from sending smileys when disconnected #30.
Fixed by Chihurumnaya Ibiam ibiamchihurumnaya at gmail.com in #31

Jukebox: Errors when navigating above and below the first and last songs respectively #30

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

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

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
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200704/a7f12183/attachment-0001.htm>


More information about the Sugar-devel mailing list