[Sugar-devel] Testing sugar-build

Iain Brown Douglas iain at browndouglas.plus.com
Fri Oct 18 15:28:03 EDT 2013


On Fri, 2013-10-18 at 18:29 +0200, Daniel Narvaez wrote:
> On 18 October 2013 17:22, Walter Bender <walter.bender at gmail.com>
> wrote:
Hi Daniel,

Thank you for such a fast response.
>         > == N/W ==
>         > Chat opens, appears to start but cannot tx
...

> 
> Nothing bad in the log. I suppose you need to make the activity shared
> and have someone join for it to work (?). 

No, it is not that, I have double checked.
Chat does not throw a bubble into F1 view either.

Now I see, also, that no Activities are able to throw an icon into F1
view.

>  
>         > == 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
> 
> 
> I added the missing dependencies for these. Can you give them another
> try? (You will need to "./osbuild pull").

Have done, Sugar has improved.

Trace below reports:

! Failed to run command pull

but it spent quite a few minutes, and has had some effect.

Speak now opens, but behaves dead, like Chat, above. No lip movement to
follow voice. Speaker icon is off mute. (I won't say no sound, as I have
not checked the speakers in xubuntu, but they are working ok on this OS,
on the same machine).

Memorise and Record have changed errors indicating pygst and gst are ok.

2 further logs below trace.



inky at xubuntu:~$ cd sugar-build/
inky at xubuntu:~/sugar-build$ ./osbuild pull

= Setup the host build system =

* Create the python virtualenv
* Install python packages
* Pull latest sugar-build
* Setup the build root

$ sudo broot setup
[sudo] password for inky: 

= Pulling =

* Pulling automake
* Pulling at-spi2-core
error: unknown option `points-at'
usage: git tag [-a|-s|-u <key-id>] [-f] [-m <msg>|-F <file>] <tagname>
[<head>]
   or: git tag -d <tagname>...
   or: git tag -l [-n[<num>]] [<pattern>...]
   or: git tag -v <tagname>...

    -l, --list            list tag names
    -n[<n>]               print <n> lines of each tag message
    -d, --delete          delete tags
    -v, --verify          verify tags

Tag creation options
    -a, --annotate        annotated tag, needs a message
    -m, --message <message>
                          tag message
    -F, --file <file>     read message from file
    -s, --sign            annotated and GPG-signed tag
    --cleanup <mode>      how to strip spaces and #comments from message
    -u, --local-user <key-id>
                          use another key to sign the tag
    -f, --force           replace the tag if exists

Tag listing options
    --contains <commit>   print only tags that contain the commit


! Failed to run command pull





inky at xubuntu:~/sugar-build$ ./osbuild run

	*Sugar starts

Excerpts from logs:

== Write ==

**unchanged error**

Write	ImportError: cannot import name Abi

plus:
1382120348.383153 ERROR root: Could not find any typelib for Abi


== Record ==

**Previous error: Record - ImportError: No module named pygst** has
gone**


** Message: pygobject_register_sinkfunc is deprecated (GstObject)
** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
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 122, in main
    module = __import__(module_name)
  File "/home/broot/sugar-build/activities/Record.activity/record.py",
line 48, in <module>
    from model import Model
  File "/home/broot/sugar-build/activities/Record.activity/model.py",
line 38, in <module>
    from instance import Instance
  File "/home/broot/sugar-build/activities/Record.activity/instance.py",
line 6, in <module>
    class Instance:
  File "/home/broot/sugar-build/activities/Record.activity/instance.py",
line 8, in Instance
    keyHash = util.sha_data(key)
  File
"/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar/util.py", line 48, in sha_data
    sha_hash.update(data)
TypeError: must be string or buffer, not None
Exited with status 1, pid 2170 data (None, <open file '<fdopen>', mode
'w' at 0x1d3f930>, '6387b1ca0eee87f3a900e22fa568bf13bea9ecb3')

== Memorize ==

**Previous error: Memorise - ImportError: No module named gst** has
gone**

** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
/bin/espeak
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 122, in main
    module = __import__(module_name)
  File
"/home/broot/sugar-build/activities/Memorize.activity/activity.py", line
49, in <module>
    import cardtable
  File
"/home/broot/sugar-build/activities/Memorize.activity/cardtable.py",
line 20, in <module>
    import svgcard
  File
"/home/broot/sugar-build/activities/Memorize.activity/svgcard.py", line
32, in <module>
    import model
  File "/home/broot/sugar-build/activities/Memorize.activity/model.py",
line 18, in <module>
    import libxml2
ImportError: No module named libxml2
Exited with status 1, pid 2167 data (None, <open file '<fdopen>', mode
'w' at 0x1d3f930>, '3294502d766ed494a68b0bd50d336c8b46d509be')

Regards,
Iain



More information about the Sugar-devel mailing list