[Sugar-devel] Running Sugar Activities
Alex Perez
aperez at alexperez.com
Sun Mar 1 12:09:58 EST 2020
Soham,
Two details we'll need which are missing from your report are: which version of Sugar do you have installed, and how are you installing the activities?
On 3/1/2020 2:35:34 AM, soham bhattacharya <116cs0171 at nitrkl.ac.in> wrote:
Hi,
I am Soham. I am running Sugar on Ubuntu 18.04.3 LTS. I also have the Sugar toolkit installed. The problem is after installing any sugar activity I am not being able to run it.
for example if I run Calculate.activity I get:
Traceback (most recent call last):
File "calculate.py", line 37, in <module>
from shareable_activity import ShareableActivity
File "/usr/share/sugar/activities/Calculate.activity/shareable_activity.py", line 5, in <module>
from sugar3.activity import activity
File "/usr/local/lib/python2.7/dist-packages/sugar3/activity/activity.py", line 175, in <module>
gi.require_version('TelepathyGLib', '0.12')
File "/home/soham/.local/lib/python2.7/site-packages/gi/__init__.py", line 129, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace TelepathyGLib not available
Or if I try to run TurtleBlocks.activity:
File "TurtleArtActivity.py", line 43, in <module>
from sugar3.activity import activity
File "/usr/local/lib/python2.7/dist-packages/sugar3/activity/activity.py", line 175, in <module>
gi.require_version('TelepathyGLib', '0.12')
File "/home/soham/.local/lib/python2.7/site-packages/gi/__init__.py", line 129, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace TelepathyGLib not available
It looks like TelepathyGLib is missing from gi. What should I do. Help will be appreciated.
Thanks,
Soham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20200301/3ccc4acc/attachment.htm>
More information about the Sugar-devel
mailing list