[Sugar-devel] Advice needed on sugar-runner

Chihurumnaya Ibiam ibiam at sugarlabs.org
Mon Feb 19 12:11:36 EST 2024


My guess is SugarRunner is not in the Python Path, you'll have to confirm
and make sure it is.

-- 

Ibiam Chihurumnaya
ibiam at sugarlabs.org



On Mon, Feb 19, 2024 at 4:47 PM James Simmons <nicestep at gmail.com> wrote:

> I've been preparing an old computer I just replaced as a gift for a bright
> eight year old boy and his older brother. It will run Fedora 39. In
> addition to the XFCE environment I want to give him a Sugar environment
> with Activities.
>
> In the process of setting this up I discovered that some of the Activities
> I wrote years ago have succumbed to bit rot and needed updating. I was able
> to do this, but I was disappointed to find that I could not use
> sugar-runner to run the Sugar environment in a window because it had not
> been maintained.
>
> I thought I'd take a stab at getting sugar-runner working. I checked out
> the project, installed all the dependencies autogen.sh asked for, updated
> the scripts to use python3, then ran what looked to be a successful make
> and sudo make install. Then I tried to run
>
> sugar-runner
>
> and I got these Python errors:
>
> jamessimmons at unknownF4390913EB01:~$ sugar-runner
> Traceback (most recent call last):
>   File "/usr/local/bin/sugar-runner", line 28, in <module>
>     gi.require_version('SugarRunner', '1.0')
>   File "/usr/lib64/python3.12/site-packages/gi/__init__.py", line 126, in
> require_version
>     raise ValueError('Namespace %s not available' % namespace)
> ValueError: Namespace SugarRunner not available
>
> At this point I'm stuck. If any of you have any suggestions on how to
> proceed I'd love to hear them.
>
> Thanks,
>
> James Simmons
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20240219/ca461810/attachment.htm>


More information about the Sugar-devel mailing list