Sugar Learning Environment, Activity Toolkit, GTK 3.
Activity install target used by downstream activity packaging did fail
with;
Traceback (most recent call last):
File "setup.py", line 21, in <module>
bundlebuilder.start()
File "/usr/lib/python3.7/dist-packages/sugar3/activity/bundlebuilder.py", line 633, in start
globals()['cmd_' + options.command](config, options)
File "/usr/lib/python3.7/dist-packages/sugar3/activity/bundlebuilder.py", line 513, in cmd_install
options.install_desktop_file)
File "/usr/lib/python3.7/dist-packages/sugar3/activity/bundlebuilder.py", line 290, in install
for f in self.get_files_in_git():
File "/usr/lib/python3.7/dist-packages/sugar3/activity/bundlebuilder.py", line 209, in get_files_in_git
stdout.strip('\n').split('\n')]
TypeError: a bytes-like object is required, not 'str'
Workaround was to hide .git directory.
Cause was subprocess pipe returning a bytes-like object in Python 3.
Regression introduced by incomplete
|
||
|---|---|---|
| bin | ||
| doc | ||
| examples | ||
| m4 | ||
| po | ||
| src | ||
| tests | ||
| .flake8 | ||
| .gitignore | ||
| AUTHORS | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| MAINTAINERS | ||
| make-doc.sh | ||
| Makefile.am | ||
| README.md | ||
Sugar Toolkit
Sugar Toolkit provides services and a set of GTK+ widgets to build activities and other Sugar components on Linux based computers.
This is the GTK+ 3 binding of the Sugar Toolkit.
Installing on Debian or Ubuntu
Automatically done when you install Sugar desktop.
To install Sugar Toolkit alone without Sugar desktop,
sudo apt install python-sugar3
Installing on Fedora
Automatically done when you install Sugar desktop.
To install Sugar Toolkit alone without Sugar desktop,
sudo dnf install sugar-toolkit-gtk3
Building
Sugar Toolkit follows the GNU Coding Standards.
Install all dependencies, especially sugar-artwork and sugar-datastore.
Clone the repository, run autogen.sh, then make and make install.