[Sugar-devel] Run Turtleart-activity in local machine

James Cameron quozl at laptop.org
Sun Mar 1 16:44:00 EST 2020


"sudo apt install sucrose" may work, or may not, it depends on the
operating system and release.

Please tell us what operating system and release you are using?
e.g. Ubuntu 20.04

The log file you sent has an installation path that I'm not familiar
with;

/usr/lib/Python2.7/dist-packages/sugar3/graphics/icon.py

On Debian and Ubuntu the "p" of python is lowercase.  I've no idea how
this could happen on your system.

I agree with Ibiam.  It looks like you are using an old version of
Log activity built for Python 2, but the TurtleArt activity is now
Python 3.  As you've got an old version of Log, chances are it is
because you have an old version of Sugar.

The Python 2 version of Sugar cannot start a Python 3 version of an
activity, and the result you observed (icon pulsing then fail to start
error) is consistent with that.

In future please list all relevant versions or release numbers, as it
can help us answer without delay.  ;-)

On Sun, Mar 01, 2020 at 06:29:38PM +0530, b18050 b18050 wrote:
> I installed sugar using this command.
> 
> sudo apt install sucrose
> 
> On Sun, Mar 1, 2020 at 2:15 PM Chihurumnaya Ibiam <[1]
> ibiamchihurumnaya at gmail.com> wrote:
> 
>     The log you sent shows you're running a python2 version of log activity and
>     the activity has been ported to python3, the issues pointed out by the log
>     have also been fixed.
>     How did you install sugar? 
> 
>     On Sat, Feb 29, 2020, 8:47 PM b18050 b18050 <[2]
>     b18050 at students.iitmandi.ac.in> wrote:
> 
>         The log file at ~/.sugar/default/logs/org.laptop.TurtleArtActivity*.log
>         is empty.
>         But I have log file which has this error.
>         ** (sugar-activity:3712): WARNING **: Couldn't connect to accessibility
>         bus: Failed to connect to socket /tmp/dbus-Ld7oBuIM7S: Connection
>         refused
>         /usr/share/sugar/activities/Log.activity/logviewer.py:25: PyGIWarning:
>         Gtk was imported without specifying a version first . Use
>         gi.require_version('Gtk', '3.0') before import to ensure that right
>         version gets loaded.
>          from gi.repository import Gtk
>         /usr/lib/Python2.7/dist-packages/sugar3/graphics/icon.py:25:
>         PyGIWarning: Rsvg was imported without specifying a version first . Use
>         gi.require_version('Rsvg', '2.0') before import to ensure that right
>         version gets loaded.
>          from gi.repository import Rsvg
>         /usr/lib/Python2.7/dist-packages/sugar3/activity/activity.py:87:
>         PyGIWarning: SugarExt was imported without specifying a version first .
>         Use gi.require_version('SugarExt', '1.0') before import to ensure that
>         right version gets loaded.
>          from gi.repository import SugarExt
>         1583002965.344058 WARNING root: No Gtk.AccelGroup in the top level
>         window.
>         1583002965.365016 WARNING root: No Gtk.AccelGroup in the top level
>         window.
>         1583002965.389279 WARNING root: No Gtk.AccelGroup in the top level
>         window.
>         1583003083.163259 WARNING root: No Gtk.AccelGroup in the top level
>         window.
>         1583003083.164215 WARNING root: No Gtk.AccelGroup in the top level
>         window.
>         Exited with status 0, pid 3712 data (None, <open file '<fdopen>', mode
>         'w' at 0x7fc2c0ad04b0>,'f3aee6e4ef8b9f972da64bbc0f479c9e11601f')
> 
>         On Sat, Feb 29, 2020 at 6:08 PM Chihurumnaya Ibiam <[3]
>         ibiamchihurumnaya at gmail.com> wrote:
> 
>             Can you share the log file at ~/.sugar/default/logs/
>             org.laptop.TurtleArtActivity*.log?
> 
>             --
>             
>             Ibiam Chihurumnaya
>             [4]ibiamchihurumnaya at gmail.com
>            
>            
> 
>             On Sat, Feb 29, 2020 at 12:55 PM b18050 b18050 <[5]
>             b18050 at students.iitmandi.ac.in> wrote:
> 
>                 Thank you .
>                 I moved cloned turtleart directory sugar directory. I have been
>                 able to setup turtleart-activity in my sugar desktop. But , one
>                 thing , it does not open . The screen with turtle icon blinks
>                 for some time and then it shows your activity fails to start. 
>                 May be I need to install some dependencies.
>                  or anything I am missing. Please guide me.
> 
> References:
> 
> [1] mailto:ibiamchihurumnaya at gmail.com
> [2] mailto:b18050 at students.iitmandi.ac.in
> [3] mailto:ibiamchihurumnaya at gmail.com
> [4] mailto:ibiamchihurumnaya at gmail.com
> [5] mailto:b18050 at students.iitmandi.ac.in

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list