[Sugar-devel] Testing sugar-build

Daniel Narvaez dwnarvaez at gmail.com
Fri Oct 18 12:10:51 EDT 2013


Actually it supports gtk2 activities too these days.


On 18 October 2013 17:22, Walter Bender <walter.bender at gmail.com> wrote:

> My understanding is that by default, the sugar build environment is
> not set up to support gtk2 activities or gst-0.10. This would perhaps
> account for most the errors you found. Cannot comment of what seems to
> be broken with web activities.
>
> regards
>
> -walter
>
> On Fri, Oct 18, 2013 at 7:27 AM, Iain Brown Douglas
> <iain at browndouglas.plus.com> wrote:
> > I tested sugar-build from
> > http://developer.sugarlabs.org/dev-environment.md.html
> > on a PC running xubuntu. It installed fine, without reported error.
> >
> > It runs nicely. Very impressed, *thank you all*.
> >
> > I have a problem with a few Activities.
> > My guess is that the cause is that I am not working in GNOME.
> >
> > == N/W ==
> > Chat opens, appears to start but cannot tx #log below
> >
> > == Fail to start ==
> >
> > Memorise        ImportError: No module named gst
> > Write           ImportError: cannot import name Abi
> > Record          ImportError: No module named pygst
> > Speak           ImportError: No module named gst
> > TestWebActivity #log below
> > Tuxpaint        #log below
> >
> >
> >
> >
> >
> > == Logs ==
> >
> >
> > == Tuxpaint ==
> > activity/tuxpaint:
> /home/broot/sugar-build/activities/TuxPaint.activity/bin/tuxpaint:
> /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
> > activity/tuxpaint: line 6:
> /home/broot/sugar-build/activities/TuxPaint.activity/bin/tuxpaint: Success
> > Exited with status 126, pid 24175 data (None, <open file '<fdopen>',
> mode 'w' at 0x1d19a50>, '4093e953b4199705f8a94c22f8656e076cf147d9')
> >
> > == Chat ==
> > 1382052633.920840 WARNING root: No Gtk.AccelGroup in the top level
> window.
> > Exited with status 0, pid 24210 data (None, <open file '<fdopen>', mode
> 'w' at 0x27c41e0>,
> dbus.ByteArray('e83a8448e7dd969bc3e6f5e9553c33e7dbfde62c', variant_level=1))
> >
> > == TestWebActivity ==
> > Traceback (most recent call last):
> >   File "/home/broot/sugar-build/build/out/install/bin/sugar-activity",
> line 164, in <module>
> >     main()
> >   File "/home/broot/sugar-build/build/out/install/bin/sugar-activity",
> line 159, in main
> >     instance = create_activity_instance(activity_constructor,
> activity_handle)
> >   File "/home/broot/sugar-build/build/out/install/bin/sugar-activity",
> line 44, in create_activity_instance
> >     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)
> >   File "/usr/lib64/python2.7/site-packages/gi/types.py", line 113, in
> function
> >     return info.invoke(*args, **kwargs)
> > TypeError: Argument 1 does not allow None as a value
> > Terminated by signal 11, pid 24160 data (None, <open file '<fdopen>',
> mode 'w' at 0x1d19a50>, '37ebed09465ce2d579247eeae14daf13d68361c0')
> >
> > == FYO, ==
> > This is the trace when I ran
> > [osbuild sugar-build]$ check
> >
> > = Check =
> >
> > * Running smoke test
> > * Checking gwebsockets
> > * Checking sugar-toolkit-gtk3
> > * Checking sugar
> > * Checking sugar-runner
> > * Checking sugar-web
> > Traceback (most recent call last):
> >   File "/home/broot/sugar-build/build/commands/broot/check", line 89, in
> > <module>
> >     result = check.check()
> >   File
> >
> "/home/broot/sugar-build/build/out/sandbox-broot/install/lib/python2.7/site-packages/osbuild/check.py",
> line 45, in check
> >     if not _check_module(module):
> >   File
> >
> "/home/broot/sugar-build/build/out/sandbox-broot/install/lib/python2.7/site-packages/osbuild/check.py",
> line 56, in _check_module
> >     return _checkers[module.build_system](module)
> >   File
> >
> "/home/broot/sugar-build/build/out/sandbox-broot/install/lib/python2.7/site-packages/osbuild/check.py",
> line 111, in _volo_checker
> >     with open(f) as less_file:
> > IOError: [Errno 2] No such file or directory: u'sugar.less'
> >
> > == Attached ~/sugar-build/home/dotsugar/default/logs/shell.log ==
> >
> > With thanks
> > Iain
> >
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
>
>
>
> --
> 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
>



-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131018/fb93a982/attachment.html>


More information about the Sugar-devel mailing list