[Sugar-devel] Running Sugar Activities

soham bhattacharya 116cs0171 at nitrkl.ac.in
Sun Mar 1 05:35:17 EST 2020


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/4f0ec6de/attachment.htm>


More information about the Sugar-devel mailing list