[Sugar-devel] sugar-web activity weirdness

Gonzalo Odiard godiard at sugarlabs.org
Mon Mar 30 08:08:29 EDT 2015


Sugar web activities are working for me.
Please try the following:
* Install Develop activity (
http://activities.sugarlabs.org/en-US/sugar/addon/4058)
* Create a new web activity.
* Run (from the same Develop toolbar or from the Sugar home.
If don't work, there are something in your environment,
if not, you can compare and see the differences in the activity.

By your log, looks like can't open the index.html file.

Gonzalo

On Mon, Mar 30, 2015 at 1:14 AM, Walter Bender <walter.bender at gmail.com>
wrote:

> Not sure if it is me, but I cannot get either sugar-web example
> activity to work. Did they ever work?
>
> MyActivity has an error in the toolkit:
>
> Traceback (most recent call last):
>   File
> "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/webactivity.py",
> line 161, in _app_scheme_cb
>     request.finish(Gio.File.new_for_path(path).read(None),
> gi._glib.GError: Error opening file: No such file or directory
>
>
> WebTest fails with:
>
> Traceback (most recent call last):
>   File "/home/broot/sugar-build/build/out/install/bin/sugar-activity",
> line 169, in <module>
>     main()
>   File "/home/broot/sugar-build/build/out/install/bin/sugar-activity",
> line 164, in main
>     instance = create_activity_instance(activity_constructor,
> activity_handle)
>   File "/home/broot/sugar-build/build/out/install/bin/sugar-activity",
> line 42, in     activity = constructor(handle)
>   File
> "/home/broot/sugar-build/build/out/install/share/sugar/activities/WebTest.activity/activity.py",
> line 22, in __init__
>     self._web_view.load_uri(handle.uri)
> TypeError: Argument 1 does not allow None as a value
>
> Maybe we should not be building/installing WebTest (sugar-web-template)?
>
> Also, it probably makes sense to add the HelloWorld activity to the
> default set of modules included with sugar-build, as it will help
> would-be Python developers get started. (Note that although HelloWorld
> comes with a POT file, it does not come with any PO files.)
>
> -walter
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20150330/9c089101/attachment.html>


More information about the Sugar-devel mailing list