Re: [Sugar-devel] no module named sugar.activity.activity

2020-01-29 Thread Tony Anderson
It is sad that these developers do not have access to Sugar installed on an XO. The process of upgrading from GTK2 to GTK3 is simple and practical. The original version of the activity can be run directly. The new version can be installed in parallel. As changes are made they can be directly

Re: [Sugar-devel] no module named sugar.activity.activity

2020-01-29 Thread James Cameron
Yes, that's an expected traceback. It is caused because the "Sugar Toolkit for GTK 2" software is not installed on your computer. Ubuntu 18.04 does not have a package for this software. It was removed in the interval between Ubuntu 16.04 and 18.04, in turn because other GTK 2 packages were

Re: [Sugar-devel] no module named sugar.activity.activity

2020-01-29 Thread Abhishek Tanwar
Sorry I posted the wrong traceback by mistake. Here is the traceback I wanted to post . I am really sorry Traceback (most recent call last): File "/usr/bin/sugar-activity", line 219, in main() File "/usr/bin/sugar-activity", line 163, in main module = _import_(module_name) File

Re: [Sugar-devel] no module named sugar.activity.activity

2020-01-29 Thread Chihurumnaya Ibiam
The traceback you posted shows you didn't import Gdk but used it, make sure Gdk is imported. On Wed, Jan 29, 2020, 8:33 AM Abhishek Tanwar wrote: > I am trying to port https://github.com/sugarlabs/arithmetic to GTk3 but > when i run the activity to understand the working(with GTK) it throws an