sugarlabs / sugar Goto Github PK
View Code? Open in Web Editor NEWSugar GTK shell
License: GNU General Public License v3.0
Sugar GTK shell
License: GNU General Public License v3.0
Finance Application - When selecting a period of forever in the finance application, the list is not updated until a new credit is added. I suggest the list be updated immediately upon selection.
Installation of Sugar desktop environment on ubuntu is version specific. The method provided in the documentation doesnt work in case of ubuntu 17 . There should be a link to the proper installation page in the documentation.
Hi,
I installed Sugar via APT as the guide says for Ubuntu: apt install sucrose
After installing on a fresh Ubuntu 17 install, I was able to boot into Sugar, and all the preinstalled Activities worked fine except for the Web Browser.
Every time you tried to load it, it would just say "Browser failed to load".
I traced the error to an import in the Browser.activity via a stacktrace in log file. It failed on:
webactivity.py:
from collabwrapper.collabwrapper import CollabWrapper
I fixed this by doing the following:
sudo touch collabwrapper/__init__.py
Adding this ticket so it can be fixed properly in the main branch so no one else has this problem.
HTH
The Ubuntu 16.04 sucrose does not show the Journal as the current activity below the XO icon in the home view. I think this is the way it should work. However, a click on the current activity button links to the Journal.
My proposal is that Sugar never show the Journal icon as the current activity - it isn't an activity. The Journal should be considered a View with access by the Journal button or frame link. This would enable a user to switch to the Journal view and then return with the Activity view button.
If this is not the place for general issues, I would appreciate some counsel on where these issues should be raised.
Steps to Reproduce:
No further keyboard input is detected
Reproduced on:
Ubuntu 16.04, rdesktop, using sugar @489974f and Sugar Toolkit @58224cb
Logs did not have anything attributing to this
After successfully installing sucrose, I could not manage to run the Sugar DE. I tried in both rdesktop and as a session, but I will focus more on the session error as there are more log files for that. The first time I ran the session, the setup went fine. After the setup was complete, though, the screen switch to a photo of my desktop instead of the Sugar DE. While it did have the Sugar cursor, I could not do anything besides move the cursor or switch to a console terminal. This forced me to restart my computer. Now, whenever I try to log into the Sugar session, it will quickly flash my desktop and the cursor, but take me back to the login prompt right after.
I am running AVLinux (I believe the 2017 edition, but I'm not 100% sure), which is based off Debian.
Running lsb_release -a | grep Description
says
No LSB modules are available.
Description: Debian GNU/Linux 9.4 (stretch)
I also use UberMix, which is based off Ubuntu, and had no problems with either rdesktop or running the Sugar DE as a session.
I have attached my log files below:
Sugar Logs.zip
Thank you,
Harrison
Off by default. Let deployments who want it activate it.
Ubuntu 16.04 sucrose does provide an internet connection -the one to which ubuntu is connected. However, the neighborhood view is empty.
Reproducer: open the frame, hover mouse or touch the battery or speaker icon.
Expected result: palette for icon is drawn, no other changes.
Observed result: palette for icon is drawn, but other icons may vanish. Is most likely on first use of palette for an icon; repeated uses don't cause other icons to vanish.
Occurs on Ubuntu 18.04
Clock Application - Toggling time to speech button does not result in any icon change. It’s impossible to tell that the button is actually a toggle and not a normal button. I suggest adding an icon that indicates when it is toggled.
In the country activity, where you name one country for each letter except for w and x, the input will occasionally repeat, as if a key is stuck. Leaving the activity and then returning stops the repeating input, ruling out a keyboard issue, and I made a second copy of Sugar on a Stick that also has the same issue, ruling out the flash drive itself being a cause. It still could be my computer, but my computer has not had issues like this elsewhere.
Update: Version: 0.108.1 windows x86_64 (64-bit)
Activity: Words
Activity Version: 21
Translating from English to Hindi, the translator reads an English phrase instead of reading the Hindi translation of the word. However, this only happens if the translated word and phrase are on different lines. If they are on the same line then it works fine. I'm not sure how to take a video of my problem without using another device.
PopWindow
needs to be moved from sugar-toolkit-gtk3
to sugar
, in order to remove dependency of toolkit on jarabeSee discussions at https://github.com/pro-panda/sugar/pull/1 and https://github.com/pro-panda/sugar/pull/2
Reproducer: start an activity, stop it, view the home view activity ring, observe the activity icon now has user colour, press and hold the alt
key, observe that user colour is removed, click on the icon, release the alt
key.
Expected result; activity is started new.
Observed result; no response, no errors logged.
Workaround; right-click, choose start new.
Does not occur on Fedora 18.
Does occur on Ubuntu 16.04, and 18.04 beta.
On Ubuntu 18.04 on two laptops connected to an ad-hoc network, it takes 27 seconds between asking to join a shared Chat activity and being told the connection is ready. This used to be much faster.
Collaboration while connected is also affected. As an example, using the CollabWrapper test activity, ping times of a few hundred milliseconds were normal, but with Ubuntu 18.04 the ping times vary between 295ms and 11842ms, averaging around 5000ms (five seconds).
Reproducer: expose the journal (F5), click on a journal entry name, change the name, press TAB.
Expected result: name change is accepted.
Observed result: name change is abandoned.
After typing a bit in the writing application, I went back to the main menu to restart the computer. A message popped up asking if I wanted to restart and discard my unsaved document. I clicked yes, but nothing happened. Then I clicked restart again, but allowing the timer to finish and still nothing happened. I tried clicking restart and shut-down several times, sometimes with the dialogue appearing, and sometimes without. No matter what, the computer would not shut down or restart. I ended up having to physically restart by holding the physical power button on the computer.
Can run SOAS by booting from USB stick, but installing to hard drive fails.
Running the liveinst command as per https://wiki.sugarlabs.org/go/Tutorials/Installation/Install_with_liveinst results in "No protocol specified; Anaconda received signal 11! gcore exited with status 256".
This is using http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Downloads x86_64 with SOAS released on 11 July 2017 with Fedora 26. Bootable USB stick created with Rufus https://rufus.akeo.ie on win10.
Hardware is a Laptop: HP Stream 14-ax010nr intel celeron N3060 1.6GHz cpu, 4096mb ram, and 32 gb SSD HD. Goal is to have this machine dual-booting win10 (for firmware updates) and SOAS from the hard drive (solid state drive or SSD).
Using sugar-control-panel
command generates a harmless but emotionally disruptive traceback;
guest@guest:~$ sugar-control-panel -g timezone
/usr/lib/python2.7/dist-packages/jarabe/journal/model.py:33: PyGIWarning: SugarExt was imported without specifying a version first. Use gi.require_version('SugarExt', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import SugarExt
/usr/lib/python2.7/dist-packages/jarabe/frame/eventarea.py:19: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Wnck
ERROR:root:Exception while loading extension:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/jarabe/controlpanel/cmd.py", line 68, in load_modules
globals(), locals(), ['model'])
File "/usr/share/sugar/extensions/cpsection/frame/model.py", line 17, in <module>
from jarabe.frame import get_view
File "/usr/lib/python2.7/dist-packages/jarabe/frame/__init__.py", line 16, in <module>
from jarabe.frame.frame import Frame
File "/usr/lib/python2.7/dist-packages/jarabe/frame/frame.py", line 31, in <module>
from jarabe.frame.friendstray import FriendsTray
File "/usr/lib/python2.7/dist-packages/jarabe/frame/friendstray.py", line 20, in <module>
from jarabe.view.buddymenu import BuddyMenu
File "/usr/lib/python2.7/dist-packages/jarabe/view/buddymenu.py", line 37, in <module>
import jarabe.desktop.homewindow
File "/usr/lib/python2.7/dist-packages/jarabe/desktop/homewindow.py", line 28, in <module>
from jarabe.desktop.meshbox import MeshBox
File "/usr/lib/python2.7/dist-packages/jarabe/desktop/meshbox.py", line 35, in <module>
from jarabe.view.buddyicon import BuddyIcon
File "/usr/lib/python2.7/dist-packages/jarabe/view/buddyicon.py", line 19, in <module>
from jarabe.view.buddymenu import BuddyMenu
ImportError: cannot import name BuddyMenu
/usr/share/sugar/extensions/cpsection/keyboard/model.py:19: PyGIWarning: Xkl was imported without specifying a version first. Use gi.require_version('Xkl', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Xkl
guest@guest:~$ █
Return status is zero, which indicates success. Actual output is the blank line before the shell prompt.
The sugar-*.tar.xz file generated by make dist
or make distcheck
does not include the file README.md
and the directory docs/
.
Text To Speech - Was able to make text to speech application say expletives. Using the following: “phuck”,”ass". Any expletive word censorship can be overridden by adding the “^” character before it. This character makes no sound so it just sounds like the normal expletive. Possibly other characters behave in the same way. I suggest creating or finding an extensive list of words to ban, or providing users the option to create a black list of words
My Settings - Network - Radio toggle button is always off. It can be turned on, but there is no effect; after restart it is off again. Wireless function continues to work regardless.
Ubuntu 18.04.
https://bugzilla.redhat.com/show_bug.cgi?id=1660597 even with prosody "telnet jabber.sugarlabs.org 5222" connected in terminal
lt.po is in the root.
Must be a mistake.
Moving the slider back and forth causes disk writes as GSettings instances are being created and changed rapidly.
By comparison, the Frame control panel uses one instance of GSettings and waits for user to stop moving the slider before saving the change.
After testing Sugar Live Build , Sugar on ubuntu 16.04 , 17.04 and 17.10. I noticed that in case of ubuntu 17.10 Journal activity starts over Home activity at the boot unexpectedly. It seems like it automatically starts at the boot without any user response.
Sugar desktop does not start on Wayland when tested with Fedora 27.
Workaround is to avoid Wayland by using an Xorg fallback configuration.
Our plans in 2013 were to wait for the necessary libraries to become available for Wayland, and these libraries seem to be available now.
Reproducer: start Browse activity, go to activities.sugarlabs.org, click on News category.
Observed result: GogoNews is offered.
Expected result: GogoNews is not offered, because it is not listed as compatible with 0.112
Reported by: @aperezbios.
Story Activity - Story activity appears to have no censorship on text to speech whatsoever. I recommend implementing some version of this. I know if I was a child who had text to speech like this I'd have countless hours of fun figuring out how to get the computer to cuss. I know that as software developers it's not necessarily your job to monitor that closely, but at least making it a bit more difficult for kids to do would be nice.
I prepare a SD card (32G Samung EVO) with Fedora-SoaS-armhfp-29. 1.2-sda.raw.zx for my Raspberry Pi 3. It stuck at
A start job is running for dev-disk...device ...
I waited for over 30 minutes for a couple times and I also tried to prepare the image by dd and Etcher.io but it still failed.
I wonder if someone can advise how to fix it.
It would be great If we can add social media links on README i.e Twitter and Mailing list.
Reproducer: open Record, take a photo, switch to Journal, locate the photo, right-click, choose Resume with, and Image Viewer.
Expected result: Image Viewer activity starts and photo is shown.
Observed result: Record activity regains focus.
Workaround: stop Record activity before trying to Resume with.
(issue created so that anyone else can work on the problem)
Reproducer:
ctrl+shift+c
; the frame will show a text clipping,ctrl+shift+c
; the frame will show two text clippings,ctrl+shift+v
,Expected result:
Observed result:
Logs: nothing unusual in Terminal log, but shell.log contains these two lines for each ctrl+shift+c
key event,
1517518078.319098 WARNING root: no data for selection target MULTIPLE.
1517518078.328716 WARNING root: no data for selection target NULL.
Reported by @Menzador.
While regenerating the POT file (e.g. 4e551f0), warnings are issued for three source code lines;
src/jarabe/controlpanel/cmd.py:27
src/jarabe/frame/activitiestray.py:627
src/jarabe/view/alerts.py:38
The warnings issued are;
warning: 'msgid' format string with unnamed arguments cannot be properly localized:
The translator cannot reorder the arguments.
Please consider using a format string with named arguments,
and a mapping instead of a tuple for the arguments.
Reproducer: set Browse activity.info show_launcher = no
, and restart Sugar.
Observed result: Browse is not shown in List View (F3, ctrl-2), but Browse is shown in Favorites View (F3, ctrl-1).
Expected result: Browse is not shown in either view.
show_launcher
was proposed for deprecation in January 2014 on sugar-devel@. We might finish deprecating it, or we might fix it so it works the way it should.
Independently reproduce Sugar Live Build, and improve documentation.
When we released Sugar 0.112 a Debian Live Build was made for demonstrating, using, and developing for Sugar. Sugar Live Build is a complete bootable image containing Sugar and demonstration activities.
We need;
a README.md in the sugar-live-build repository to explain briefly (a) that repository contains configuration files for Debian Live Build, and (b) how to reproduce the build,
community edited Wiki pages for Sugar Live Build (page name Live_Build), with inline or subpage answers to frequently asked questions such as how to install, how to test, and how to reproduce,
community agreement and implementation of a transition to using download.sugarlabs.org for hosting live builds instead of people.sugarlabs.org,
documentation in a Wiki subpage of how to add additional Sugar activities and reproduce a build for a classroom,
community agreement to remove some quite old images on download.sugarlabs.org, which are out of date, unmaintained, consume disk space, and have software security vulnerabilities.
Prerequisites;
subscription to sugar-devel@ and systems@ mailing lists,
a Debian system, a schroot
on an Ubuntu system, or a Debian virtual machine,
internet access to download or upload ISO files of about 1GB each,
References:
Sugar Live Build 20171009 with Sugar 0.112 for i386 announcement;
Sugar 0.112 testing page shows how to test using Sugar Live Build;
Developer documentation explains how to use and maintain a Sugar Live Build environment for development;
Debian page on Wiki refers to Sugar Live Build;
How to test Sugar Live Build on a Linux system using KVM;
kvm -m 512 -soundhw es1370 -net user -net nic,model=rtl8139 \
-cdrom sugar-live-build-20171009.hybrid.iso
An example of what happens when documentation is scarce, from #773;
But now how do I install Sugar to the hard drive?
Sorry, it is not documented at Sugar Labs because we just borrowed the downstream distribution method. Check the boot menu. It follows unchanged a tradition of Debian Live Builds, and has an option to install or graphical install.
"school": does not connect to "http//schoolserver"but does link to "http://schoolserver.org" if .org is added to search line.
While using SOAS on multiple monitors, there is an inconsistency in how some activities and menus are displayed. For example, the gender selection and the two menus before it use only one screen, while age selection is across two. I have tested one and two monitors; both display on SOAS, but the problems only come up with multiple screens. I have not tested with more than two monitors, so I do not know if the apps that are stretched would continue stretching beyond two screens.
As it is now, some of the problems are:
The abacus is split across two screens; this is acceptable since nothing is cut off, but it splits the middle slider down the middle, which may create a large gap depending on the size of the monitor bezels.
Countries is on both screens. This application is stretched to go across the two screens, which results in a warped Earth.
Info Slicer takes up one and a half screens, making it very awkward. This is obviously not intended behavior; I would recommend the one screen and journal format.
For ease of use, the activities should be in one or two forms, not the current three (plus the InfoSlicer mess).
As it is currently:
Generally, the Journal would be a better use of space in the applications that use one screen and place nothing on the second display. Also, the Abacus, Chat, Countries, Info Slicer, Memorize, Moon, Record, Speak, Story, Visual Match and Words are applications that run on two displays, but in my opinion should be reduced to one screen. Maze, however, should be expanded to two screens since it can benefit from the extra space.
I would recommend a configuration such as:
In previous versions, Sugar startup shows the home view, a busy cursor, asynchronously starts the journal, and then turns off the busy cursor leaving the home view available.
In Ubuntu 17.10 Artful, Sugar startup shows the home view, a busy cursor, but the journal window is created above the home window.
Related to sugarlabs/sugar-toolkit-gtk3#368
Port Sugar to Python 3 and the Sugar Toolkit for GTK+ 3, providing a Python 3 implementation of this package with no Python 2 dependencies.
Requires most of sugarlabs/sugar-toolkit-gtk3#382, most of sugarlabs/sugar-datastore#7 and some of sugarlabs/hello-world#2 to be completed.
Progress goals:
src/jarabe
,extensions
,this is an issue for tracking a major project which is larger than one person's contributions, so developers should make pull requests to satisfy any of these items, and not ask to own the issue.
Steps to reproduce:
CowBulls
activityCowBulls
activityCowBulls
activityReproduced on:
Possible fix:
Proposed Feature:
CellRendererToggle
) next to an activity (say, 2nd in line from the top)shift
and click on another checkbox (say, 5th in line from the top)Observed output:
Proposed output:
2nd, 3rd, 4th and 5th activities should get selected(checked)
Reason for proposal:
This could be helpful when a user wishes to remove a continuous list of activities(say, 10) out of a total of (say. 30). This coincides with the general way of selection using shift
key
Finding:
Shiift
+ click
is not detected by toggled
signal. It has no other signals available.SHIFT Mask
check can't be done because of 1.TreeView Column
also didn't give a lead.Seeking guidance:
shift
+click
), but this again depends on 1. and the fact that is it achievable for checkboxes(to ensure consistency) without a costKindly suggest
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.