Re: [Sugar-devel] Testing sugar-build in Fedora 18

2013-11-01 Thread Iain Brown Douglas
On Thu, 2013-10-24 at 00:34 +0100, Iain Brown Douglas wrote:
> On Sun, 2013-10-20 at 12:35 +0100, Iain Brown Douglas wrote:
> 
> > On a PC running Fedora release 18 (Spherical Cow), xfce,
>   
> Write 93 now starts and runs fine.

I regret and apologise that this was a false report.

The report should have read:

Following a ./osbuild pull on 2013-10-23, ./osbuild run produced an
instance of Sugar where Write started without reported error.

Looking in Home View List, Write was/is listed as v 93.

Looking back in my Journal I see that I believed I was running Write v 93.

However if I download Write 93 from ASLO, Write fails to start.

I reproduced same behaviour in osbuild in Debian 7.

Iain
> 
> > 
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> 
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel



___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build in Fedora 18

2013-10-24 Thread Iain Brown Douglas
On Thu, 2013-10-24 at 09:26 -0200, Gonzalo Odiard wrote:
> Great! 
> 
> 
> What changed?

I don't know, I just did another pull, in case this had an effect.

http://pkgs.fedoraproject.org/cgit/abiword.git/commit/abiword.spec?id=6d6db2d7f27b618045e667600d0ae9f6231627ed

Iain
> 
> Gonzalo
> 
> 
> On Wed, Oct 23, 2013 at 8:34 PM, Iain Brown Douglas
>  wrote:
> On Sun, 2013-10-20 at 12:35 +0100, Iain Brown Douglas wrote:
> 
> > On a PC running Fedora release 18 (Spherical Cow), xfce,
> 
> 
> Write 93 now starts and runs fine.
> 
> Thanks
> Iain
> 
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> 
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> 
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build in Fedora 18

2013-10-24 Thread Gonzalo Odiard
Great!

What changed?

Gonzalo


On Wed, Oct 23, 2013 at 8:34 PM, Iain Brown Douglas <
i...@browndouglas.plus.com> wrote:

> On Sun, 2013-10-20 at 12:35 +0100, Iain Brown Douglas wrote:
>
> > On a PC running Fedora release 18 (Spherical Cow), xfce,
>
> Write 93 now starts and runs fine.
>
> Thanks
> Iain
>
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build in Fedora 18

2013-10-23 Thread Iain Brown Douglas
On Sun, 2013-10-20 at 12:35 +0100, Iain Brown Douglas wrote:

> On a PC running Fedora release 18 (Spherical Cow), xfce,

Write 93 now starts and runs fine.

Thanks
Iain

> 
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-21 Thread Gonzalo Odiard
Should work. This is a bug.

Gonzalo


On Mon, Oct 21, 2013 at 11:25 AM, Iain Brown Douglas <
i...@browndouglas.plus.com> wrote:

> On Sat, 2013-10-19 at 16:06 -0300, Gonzalo Odiard wrote:
> > The Write error looks like the Abiword package do not have
> > introspection support enabled.
>
>
> == Write 93 Fails to start ==
>
> > Anybody else using Ubuntu managed to solve the Write issue?
>
> Is Write 93 known to run in any SoaS or PC environment?
>
> I ask because I would like to create a stable up-to-date Sugar, from
> which (to learn) to contribute to the Activity XO Help.
>
> Thanks, all, for the help so far,
>
> Iain
> >
> > > ___
> > > Sugar-devel mailing list
> > > Sugar-devel@lists.sugarlabs.org
> > > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> >
> >
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-21 Thread Iain Brown Douglas
On Sat, 2013-10-19 at 16:06 -0300, Gonzalo Odiard wrote:
> The Write error looks like the Abiword package do not have
> introspection support enabled.


== Write 93 Fails to start ==

> Anybody else using Ubuntu managed to solve the Write issue?

Is Write 93 known to run in any SoaS or PC environment?

I ask because I would like to create a stable up-to-date Sugar, from
which (to learn) to contribute to the Activity XO Help.

Thanks, all, for the help so far,

Iain
> 
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> 
> 
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> 
> 
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Testing sugar-build in Fedora 18

2013-10-20 Thread Iain Brown Douglas
Hi,

@ Daniel thank you for the big improvement to sugar-build.

On a PC running Fedora release 18 (Spherical Cow), xfce,
3 days ago, on 17-10-2013,
I attempted to build sugar-build from
http://developer.sugarlabs.org/dev-environment.md.html  it failed at an
early stage.


Now it runs well.

All "on board" Activities open and run.

Browse
Clock
Get Things Done
Image Viewer
Jukebox
Log
Pippy 
Read 
Terminal
TestWebActivity
TurtleBlocks

Except Chat, opens, seems unresponsive. I think it has a jabber
connection, because it can "join" another chat, but not tx. 
-Log attached-

==Sound works==

Browse plays sounds.
Speak is fine, brain connects.

None of my shared Activity icons appear in F1 view.


Write 93 Fails to start
Write 79 Fails to start
Write 75 works
Write 73 works

==Write, non-running log includes==

1382237048.596257 ERROR root: Could not find any typelib for Abi
...
ImportError: cannot import name Abi


Record 99 Fails to start
Record 98 Fails to start
Record 97 Fails to start

[However I have Record 99 running in sugar-emulator]
Log attached




1382265227.066163 WARNING root: No Gtk.AccelGroup in the top level window.
Traceback (most recent call last):
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/presence/activity.py", line 281, in __joined_cb
self._start_tracking_buddies()
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/presence/activity.py", line 285, in _start_tracking_buddies
group = self.telepathy_text_chan[CHANNEL_INTERFACE_GROUP]
TypeError: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/widgets.py", line 151, in __neighborhood_clicked_cb
activity.share()
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/activity.py", line 869, in share
pservice.share_activity(self, private=private)
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/presence/presenceservice.py", line 202, in share_activity
activity.get_id())
ValueError: ('Activity %s is already tracked', '784a08f7c455e2ec44eb2d62d4b054e375be888d')
1382266389.219049 WARNING root: No Gtk.AccelGroup in the top level window.
Traceback (most recent call last):
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/activity.py", line 533, in __session_quit_cb
self._complete_close()
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/activity.py", line 921, in _complete_close
self.shared_activity.leave()
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/presence/activity.py", line 474, in leave
self.telepathy_text_chan.Close()
AttributeError: 'NoneType' object has no attribute 'Close'
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gi/_gobject/propertyhelper.py", line 409, in obj_set_property
prop.fset(self, value)
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/activity.py", line 460, in set_active
self.save()
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/activity.py", line 729, in save
preview = self.get_preview()
  File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/activity.py", line 655, in get_preview
dummy_cr = Gdk.cairo_create(window)
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 113, in function
return info.invoke(*args, **kwargs)
TypeError: Argument 0 does not allow None as a value
** 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 
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 
from model import Model
  File "/home/broot/sugar-build/activities/Record.activity/model.py", line 38, in 
from instance import Instance
  File "/home/broot/sugar-build/activities/Record.activity/instance.py", line 6, in 
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 18794 data (None, ', mode 'w' at 0x2cc8a50>, '0e63aaa8098707073089ea9522e63582ae1a6f9d')
___
Sugar-d

Re: [Sugar-devel] Testing sugar-build

2013-10-19 Thread Daniel Narvaez
On 19 October 2013 23:28, Gonzalo Odiard  wrote:

>
>
>
> On Sat, Oct 19, 2013 at 6:22 PM, Daniel Narvaez wrote:
>
>> On 19 October 2013 15:04, Iain Brown Douglas 
>> wrote:
>>
>>> ==Fail to start==
>>> Write
>>>
>>
>> F19 libabiword doesn't seem to have gobject introspection typelib, not
>> sure why :(
>>
>>
>
> Is compiled with introspection support enabled?
>
> We use "configure --disable-static --enable-dynamic --enable-plugins --
> enable-clipart --enable-templates --enable-introspection --disable-spell"
>

Peter seems to have fixed these a few days ago

http://pkgs.fedoraproject.org/cgit/abiword.git/commit/abiword.spec?id=6d6db2d7f27b618045e667600d0ae9f6231627ed

Guess we will get it when we upgrade to F20.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-19 Thread Gonzalo Odiard
On Sat, Oct 19, 2013 at 6:22 PM, Daniel Narvaez  wrote:

> On 19 October 2013 15:04, Iain Brown Douglas 
> wrote:
>
>> ==Fail to start==
>> Write
>>
>
> F19 libabiword doesn't seem to have gobject introspection typelib, not
> sure why :(
>
>

Is compiled with introspection support enabled?

We use "configure --disable-static --enable-dynamic --enable-plugins --
enable-clipart --enable-templates --enable-introspection --disable-spell"

in F18

Gonzalo



>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-19 Thread Daniel Narvaez
Hi,

the distro doesn't matter for sugar-build these days since we are using a
chroot. We should get this fixed in Fedora, if not in F19 at least in F20
(assuming it's not already fixed there).


On 19 October 2013 21:06, Gonzalo Odiard  wrote:

> The Write error looks like the Abiword package do not have introspection
> support enabled.
> Daniel,
> Do you plan add abiword to sugar-build (for non Fedora) or there are
> another solution?
> Anybody else using Ubuntu managed to solve the Write issue?
>
> Gonzalo
>
>
> On Sat, Oct 19, 2013 at 10:04 AM, Iain Brown Douglas <
> i...@browndouglas.plus.com> wrote:
>
>> On Sat, 2013-10-19 at 11:15 +0200, Daniel Narvaez wrote:
>> > On 19 October 2013 05:35, Iain Brown Douglas
>> >  wrote:
>> > > Which git version and which distribution are you using?
>> > >
>> >
>> > Sorry that was not in OP
>> > Ubuntu 12.04.3 LTS \n \l
>> >
>> > git version 1.7.9.5
>> >
>> > The pull trace still shows the error you noticed.
>> >
>> >
>> > Should be fixed now. Thanks.
>> >
>> Pull looked so busy, I thought we were winning, there are improvements.
>>
>>
>> General Sugar experience has improved. Actually it is the fastest Sugar
>> I have seen. 7 Activities running and Browse and XO Help are very
>> snappy. (2 MB RAM)
>>
>> Activity problems have not changed this time, but having eliminated the
>> Activities not advertised to run in Sugar 1.0, for complete fails we
>> have only, I think:
>>
>> ==Fail to start==
>>
>> Write
>> Record
>> Same errors as reported before.
>>
>>
>> ==F1 View==
>>
>> No Activity icons go to F1 for sharing.
>> Any chance this is just a jabber login failure?
>> How would I check?
>>
>> ==Sound test==
>>
>> Can get no progress with sound.
>>
>> Browse sound test - attempting to play sounds off
>> http://commons.wikimedia.org/wiki/Commons:Media_of_the_day
>> collapsed Browse 3 times.
>> - include the last line of log
>> (sugar-activity:4809): Gtk-WARNING **: Invalid icon size 16
>> I would guess the cause of crash is lost.
>>
>> Jukebox 32 opens fine, collapses when given a music file.
>> Last lines of log:
>> File
>> "/home/broot/sugar-build/build/out/install/share/sugar/activities/Jukebox.activity/playlist.py",
>> line 119, in _set_number
>> cell.set_property('text', idx + 1)
>> TypeError: expected string or Unicode object, int found
>> Terminated by signal 11, pid 5475 data (None, ',
>> mode 'w' at 0x4bcd810>, '2d050979f2b713567510d4ec7d4a779bc38ccfe2')
>>
>> ==Other==
>>
>> I should test further but Sugar Commander cannot access anything
>> in /media (eg other partitions, USB sticks)
>> Plugging in a USB, is not recognised on Frame or Journal
>>
>>
>> I have been given a XO man name-change to Dummy.
>> I have seen this before, where does that come from?
>>
>>
>> 
>> Pull, check, run
>> 
>>
>> inky@xubuntu:~$ cd sugar-build/
>> inky@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
>> * Pulling at-spi2-atk
>> * Pulling libxklavier
>> * Pulling gwebsockets
>> * Pulling grunt-cli
>> * Pulling volo
>> * Pulling karma
>> * Pulling jshint
>> * Pulling js-beautify
>> * Pulling recess
>> * Pulling docker
>> * Pulling pep8
>> * Pulling pyflakes
>> * Pulling flake8
>> * Pulling sugar-docs
>> * Pulling sugar-base
>> * Pulling sugar-toolkit
>> * Pulling sugar-toolkit-gtk3
>> * Pulling sugar
>> * Pulling sugar-artwork
>> * Pulling sugar-datastore
>> * Pulling sugar-runner
>> * Pulling webL10n
>> * Pulling sugar-web
>> * Pulling sugar-web-test
>> * Pulling sugar-web-template
>> * Pulling browse
>> * Pulling chat
>> * Pulling read
>> * Pulling log
>> * Pulling terminal
>> * Pulling pippy
>> * Pulling imageviewer
>> * Pulling jukebox
>> * Pulling turtleart
>> * Pulling clock-web
>> * Pulling gtd-activity
>> inky@xubuntu:~/sugar-build$ ./osbuild check
>>
>> $ sudo broot run osbuild check
>>
>> = Setup the broot build system =
>>
>> * Create the python virtualenv
>> * Install python packages
>>
>> = Building =
>>
>> * Building sugar-docs
>> * Building turtleart
>>
>> = Check =
>>
>> * Running smoke test
>> * Checking gwebsockets
>> * Checking sugar-toolkit-gtk3
>> * Checking sugar
>> * Checking sugar-runner
>> * Checking sugar-web
>> * Checking sugar-web-template
>> inky@xubuntu:~/sugar-build$ ./osbuild run
>>
>> $ sudo broot run osbuild run
>>
>> = Building =
>>
>> * Building gwebsockets
>> * Building sugar-toolkit-gtk3
>> * Building sugar-web
>> * Building sugar-web-template
>> Type Shift-Alt-Q inside sugar to close.
>>
>> ==Attach Shell_log==
>>
>> > ___
>> > Sugar-devel mailing list
>> > Sugar-devel@lists.sugarlabs.org
>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>> __

Re: [Sugar-devel] Testing sugar-build

2013-10-19 Thread Daniel Narvaez
On 19 October 2013 15:04, Iain Brown Douglas wrote:

> ==Fail to start==
> Write
>

F19 libabiword doesn't seem to have gobject introspection typelib, not sure
why :(


> Record
>

Yeah, not really sure what is going on there from the trace. Someone needs
to look at the code and see what is failing exactly.


> No Activity icons go to F1 for sharing.
> Any chance this is just a jabber login failure?
> How would I check?
>

I don't really know much about the collab stuff. Maybe someone else on the
list can help with this?


> ==Sound test==
>
> Can get no progress with sound.
>
> Browse sound test - attempting to play sounds off
> http://commons.wikimedia.org/wiki/Commons:Media_of_the_day
> collapsed Browse 3 times.
>

It seems like audio is not working inside the chroot. I had a quick look
but I couldn't get it to work easily... I'll try to find time to look into
it more and let you know if I manage to fix it.


> Jukebox 32 opens fine, collapses when given a music file.
> Last lines of log:
> File
> "/home/broot/sugar-build/build/out/install/share/sugar/activities/Jukebox.activity/playlist.py",
> line 119, in _set_number
> cell.set_property('text', idx + 1)
> TypeError: expected string or Unicode object, int found
> Terminated by signal 11, pid 5475 data (None, ',
> mode 'w' at 0x4bcd810>, '2d050979f2b713567510d4ec7d4a779bc38ccfe2')
>

This looks like a bug in the activity.



> ==Other==
>
> I should test further but Sugar Commander cannot access anything
> in /media (eg other partitions, USB sticks)
> Plugging in a USB, is not recognised on Frame or Journal
>

Not too sure how to make this work in the chroot. I'll have to think about
it, ideas welcome :)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-19 Thread Gonzalo Odiard
The Write error looks like the Abiword package do not have introspection
support enabled.
Daniel,
Do you plan add abiword to sugar-build (for non Fedora) or there are
another solution?
Anybody else using Ubuntu managed to solve the Write issue?

Gonzalo


On Sat, Oct 19, 2013 at 10:04 AM, Iain Brown Douglas <
i...@browndouglas.plus.com> wrote:

> On Sat, 2013-10-19 at 11:15 +0200, Daniel Narvaez wrote:
> > On 19 October 2013 05:35, Iain Brown Douglas
> >  wrote:
> > > Which git version and which distribution are you using?
> > >
> >
> > Sorry that was not in OP
> > Ubuntu 12.04.3 LTS \n \l
> >
> > git version 1.7.9.5
> >
> > The pull trace still shows the error you noticed.
> >
> >
> > Should be fixed now. Thanks.
> >
> Pull looked so busy, I thought we were winning, there are improvements.
>
>
> General Sugar experience has improved. Actually it is the fastest Sugar
> I have seen. 7 Activities running and Browse and XO Help are very
> snappy. (2 MB RAM)
>
> Activity problems have not changed this time, but having eliminated the
> Activities not advertised to run in Sugar 1.0, for complete fails we
> have only, I think:
>
> ==Fail to start==
>
> Write
> Record
> Same errors as reported before.
>
>
> ==F1 View==
>
> No Activity icons go to F1 for sharing.
> Any chance this is just a jabber login failure?
> How would I check?
>
> ==Sound test==
>
> Can get no progress with sound.
>
> Browse sound test - attempting to play sounds off
> http://commons.wikimedia.org/wiki/Commons:Media_of_the_day
> collapsed Browse 3 times.
> - include the last line of log
> (sugar-activity:4809): Gtk-WARNING **: Invalid icon size 16
> I would guess the cause of crash is lost.
>
> Jukebox 32 opens fine, collapses when given a music file.
> Last lines of log:
> File
> "/home/broot/sugar-build/build/out/install/share/sugar/activities/Jukebox.activity/playlist.py",
> line 119, in _set_number
> cell.set_property('text', idx + 1)
> TypeError: expected string or Unicode object, int found
> Terminated by signal 11, pid 5475 data (None, ',
> mode 'w' at 0x4bcd810>, '2d050979f2b713567510d4ec7d4a779bc38ccfe2')
>
> ==Other==
>
> I should test further but Sugar Commander cannot access anything
> in /media (eg other partitions, USB sticks)
> Plugging in a USB, is not recognised on Frame or Journal
>
>
> I have been given a XO man name-change to Dummy.
> I have seen this before, where does that come from?
>
>
> 
> Pull, check, run
> 
>
> inky@xubuntu:~$ cd sugar-build/
> inky@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
> * Pulling at-spi2-atk
> * Pulling libxklavier
> * Pulling gwebsockets
> * Pulling grunt-cli
> * Pulling volo
> * Pulling karma
> * Pulling jshint
> * Pulling js-beautify
> * Pulling recess
> * Pulling docker
> * Pulling pep8
> * Pulling pyflakes
> * Pulling flake8
> * Pulling sugar-docs
> * Pulling sugar-base
> * Pulling sugar-toolkit
> * Pulling sugar-toolkit-gtk3
> * Pulling sugar
> * Pulling sugar-artwork
> * Pulling sugar-datastore
> * Pulling sugar-runner
> * Pulling webL10n
> * Pulling sugar-web
> * Pulling sugar-web-test
> * Pulling sugar-web-template
> * Pulling browse
> * Pulling chat
> * Pulling read
> * Pulling log
> * Pulling terminal
> * Pulling pippy
> * Pulling imageviewer
> * Pulling jukebox
> * Pulling turtleart
> * Pulling clock-web
> * Pulling gtd-activity
> inky@xubuntu:~/sugar-build$ ./osbuild check
>
> $ sudo broot run osbuild check
>
> = Setup the broot build system =
>
> * Create the python virtualenv
> * Install python packages
>
> = Building =
>
> * Building sugar-docs
> * Building turtleart
>
> = Check =
>
> * Running smoke test
> * Checking gwebsockets
> * Checking sugar-toolkit-gtk3
> * Checking sugar
> * Checking sugar-runner
> * Checking sugar-web
> * Checking sugar-web-template
> inky@xubuntu:~/sugar-build$ ./osbuild run
>
> $ sudo broot run osbuild run
>
> = Building =
>
> * Building gwebsockets
> * Building sugar-toolkit-gtk3
> * Building sugar-web
> * Building sugar-web-template
> Type Shift-Alt-Q inside sugar to close.
>
> ==Attach Shell_log==
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-19 Thread Gonzalo Odiard
T


On Sat, Oct 19, 2013 at 10:04 AM, Iain Brown Douglas <
i...@browndouglas.plus.com> wrote:

> On Sat, 2013-10-19 at 11:15 +0200, Daniel Narvaez wrote:
> > On 19 October 2013 05:35, Iain Brown Douglas
> >  wrote:
> > > Which git version and which distribution are you using?
> > >
> >
> > Sorry that was not in OP
> > Ubuntu 12.04.3 LTS \n \l
> >
> > git version 1.7.9.5
> >
> > The pull trace still shows the error you noticed.
> >
> >
> > Should be fixed now. Thanks.
> >
> Pull looked so busy, I thought we were winning, there are improvements.
>
>
> General Sugar experience has improved. Actually it is the fastest Sugar
> I have seen. 7 Activities running and Browse and XO Help are very
> snappy. (2 MB RAM)
>
> Activity problems have not changed this time, but having eliminated the
> Activities not advertised to run in Sugar 1.0, for complete fails we
> have only, I think:
>
> ==Fail to start==
>
> Write
> Record
> Same errors as reported before.
>
>
> ==F1 View==
>
> No Activity icons go to F1 for sharing.
> Any chance this is just a jabber login failure?
> How would I check?
>
> ==Sound test==
>
> Can get no progress with sound.
>
> Browse sound test - attempting to play sounds off
> http://commons.wikimedia.org/wiki/Commons:Media_of_the_day
> collapsed Browse 3 times.
> - include the last line of log
> (sugar-activity:4809): Gtk-WARNING **: Invalid icon size 16
> I would guess the cause of crash is lost.
>
> Jukebox 32 opens fine, collapses when given a music file.
> Last lines of log:
> File
> "/home/broot/sugar-build/build/out/install/share/sugar/activities/Jukebox.activity/playlist.py",
> line 119, in _set_number
> cell.set_property('text', idx + 1)
> TypeError: expected string or Unicode object, int found
> Terminated by signal 11, pid 5475 data (None, ',
> mode 'w' at 0x4bcd810>, '2d050979f2b713567510d4ec7d4a779bc38ccfe2')
>
> ==Other==
>
> I should test further but Sugar Commander cannot access anything
> in /media (eg other partitions, USB sticks)
> Plugging in a USB, is not recognised on Frame or Journal
>
>
> I have been given a XO man name-change to Dummy.
> I have seen this before, where does that come from?
>
>
> 
> Pull, check, run
> 
>
> inky@xubuntu:~$ cd sugar-build/
> inky@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
> * Pulling at-spi2-atk
> * Pulling libxklavier
> * Pulling gwebsockets
> * Pulling grunt-cli
> * Pulling volo
> * Pulling karma
> * Pulling jshint
> * Pulling js-beautify
> * Pulling recess
> * Pulling docker
> * Pulling pep8
> * Pulling pyflakes
> * Pulling flake8
> * Pulling sugar-docs
> * Pulling sugar-base
> * Pulling sugar-toolkit
> * Pulling sugar-toolkit-gtk3
> * Pulling sugar
> * Pulling sugar-artwork
> * Pulling sugar-datastore
> * Pulling sugar-runner
> * Pulling webL10n
> * Pulling sugar-web
> * Pulling sugar-web-test
> * Pulling sugar-web-template
> * Pulling browse
> * Pulling chat
> * Pulling read
> * Pulling log
> * Pulling terminal
> * Pulling pippy
> * Pulling imageviewer
> * Pulling jukebox
> * Pulling turtleart
> * Pulling clock-web
> * Pulling gtd-activity
> inky@xubuntu:~/sugar-build$ ./osbuild check
>
> $ sudo broot run osbuild check
>
> = Setup the broot build system =
>
> * Create the python virtualenv
> * Install python packages
>
> = Building =
>
> * Building sugar-docs
> * Building turtleart
>
> = Check =
>
> * Running smoke test
> * Checking gwebsockets
> * Checking sugar-toolkit-gtk3
> * Checking sugar
> * Checking sugar-runner
> * Checking sugar-web
> * Checking sugar-web-template
> inky@xubuntu:~/sugar-build$ ./osbuild run
>
> $ sudo broot run osbuild run
>
> = Building =
>
> * Building gwebsockets
> * Building sugar-toolkit-gtk3
> * Building sugar-web
> * Building sugar-web-template
> Type Shift-Alt-Q inside sugar to close.
>
> ==Attach Shell_log==
>
> > ___
> > Sugar-devel mailing list
> > Sugar-devel@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-19 Thread Daniel Narvaez
On 19 October 2013 05:35, Iain Brown Douglas wrote:

> > Which git version and which distribution are you using?
> >
> Sorry that was not in OP
> Ubuntu 12.04.3 LTS \n \l
>
> git version 1.7.9.5
>
> The pull trace still shows the error you noticed.
>

Should be fixed now. Thanks.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-18 Thread Iain Brown Douglas
On Sat, 2013-10-19 at 00:28 +0200, Daniel Narvaez wrote:
> On 18 October 2013 21:28, Iain Brown Douglas
>  wrote:
> >
> > 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.
> 
> 
> Hmm would need further debugging then. I can reproduce but I don't see
> anything useful in the logs.
> 
>  
> Now I see, also, that no Activities are able to throw an icon
> into F1
> view.
> 
> 
> Yup, same issue here.
> 
>  
> * Pulling at-spi2-core
> error: unknown option `points-at'
> 
> 
> 
> Which git version and which distribution are you using?
> 
Sorry that was not in OP
Ubuntu 12.04.3 LTS \n \l

git version 1.7.9.5

The pull trace still shows the error you noticed.

= Pulling =

* Pulling automake
* Pulling at-spi2-core
error: unknown option `points-at'
...
! Failed to run command pull
> 
> == Write ==
> 
> **unchanged error**
> 
> Write   ImportError: cannot import name Abi
> 
> 
> 
> 
> Added another dependency, it's the gtk3 lib.
> 
Write, same error remains.
>  
> 
> == Record ==
> 
> 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
> 
> 
> Not sure what is going on here, needs further debugging.
> 
>  
> == Memorize ==
> 
>   File
> "/home/broot/sugar-build/activities/Memorize.activity/model.py",
> line 18, in 
> import libxml2
> ImportError: No module named libxml2
> Exited with status 1, pid 2167 data (None,  '', mode
> 'w' at 0x1d3f930>, '3294502d766ed494a68b0bd50d336c8b46d509be')
> 
> 
> Added the dep.

Memorize is now working :)
> 
> Thanks! 
> 
Apropos Speak, it is silent, sound/speakers are fine in host.

I downloaded IRC, to see if I could tx, but it fails to start.


Logs


==Memorise==

===Runs fine===

** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
/bin/espeak
1382143743.095295 WARNING root: KeepButton has been deprecated since
Sugar 0.94 and should not be used in newly written code.
1382143743.097363 WARNING root: No gtk.AccelGroup in the top level
window.
1382143743.102252 WARNING root: No gtk.AccelGroup in the top level
window.
1382143743.109889 WARNING root: No gtk.AccelGroup in the top level
window.
1382143743.116338 WARNING root: No gtk.AccelGroup in the top level
window.
1382143743.146572 WARNING root: No gtk.AccelGroup in the top level
window.
Best voice for LANG C seems to be en Default
/home/broot/sugar-build/activities/Memorize.activity/activity.py:399:
GtkWarning: IA__gtk_container_remove: assertion `GTK_IS_TOOLBAR
(container) || widget->parent == GTK_WIDGET (container)' failed
  self.hbox.remove(self.vbox)
1382143805.784146 WARNING root: No gtk.AccelGroup in the top level
window.
1382143805.797529 WARNING root: No gtk.AccelGroup in the top level
window.
Exited with status 0, pid 2984 data (None, ', mode
'w' at 0x2d684b0>, '9ea9216ee28c7461321b541f544cff32dd0dc745')



==Chat==

===Opens, but no tx===

1382144398.897691 WARNING root: No Gtk.AccelGroup in the top level
window.

==Speak==

===Opens, but silent===

** Message: pygobject_register_sinkfunc is deprecated (HippoCanvasBox)
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
/bin/espeak
Best voice for LANG C seems to be en Default
1382143621.916136 WARNING root: No gtk.AccelGroup in the top level
window.
1382143622.047998 WARNING root: No gtk.AccelGroup in the top level
window.
Loading brain from bot/alice.brn... done (40564 categories in 1.82
seconds)
1382143712.626590 WARNING root: No gtk.AccelGroup in the top level
window.
1382144313.153956 WARNING root: No gtk.AccelGroup in the top level
window.
1382144373.003680 WARNING root: No gtk.AccelGroup in the top level
window.

==Record==

===Fails to start===

** 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 
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 
from model import Model
  File "/home/broot/sugar-build/activities/Record.activity/model.py",
line 38, in 
from instance import Instance
  File "/home/broot/sugar-build/activi

Re: [Sugar-devel] Testing sugar-build

2013-10-18 Thread Daniel Narvaez
On 18 October 2013 21:28, Iain Brown Douglas wrote:

> >
> > 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.
>

Hmm would need further debugging then. I can reproduce but I don't see
anything useful in the logs.


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

Yup, same issue here.


> * Pulling at-spi2-core
> error: unknown option `points-at'
>
>
Which git version and which distribution are you using?


> == Write ==
>
> **unchanged error**
>
> Write   ImportError: cannot import name Abi
>
>
Added another dependency, it's the gtk3 lib.



>  == Record ==
>
> 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
>

Not sure what is going on here, needs further debugging.


> == Memorize ==
>
>   File "/home/broot/sugar-build/activities/Memorize.activity/model.py",
> line 18, in 
> import libxml2
> ImportError: No module named libxml2
> Exited with status 1, pid 2167 data (None, ', mode
> 'w' at 0x1d3f930>, '3294502d766ed494a68b0bd50d336c8b46d509be')
>

Added the dep.

Thanks!
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-18 Thread Iain Brown Douglas
On Fri, 2013-10-18 at 18:29 +0200, Daniel Narvaez wrote:
> On 18 October 2013 17:22, Walter Bender 
> 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 ==
> >
> > MemoriseImportError: 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@xubuntu:~$ cd sugar-build/
inky@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 ] [-f] [-m |-F ] 
[]
   or: git tag -d ...
   or: git tag -l [-n[]] [...]
   or: git tag -v ...

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

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

Tag listing options
--containsprint only tags that contain the commit


! Failed to run command pull





inky@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 
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 
from model import Model
  File "/home/broot/sugar-build/activities/Record.activity/model.py",
line 38, in 
from instance import Instance
  File "/home/broot/sugar-build/activities/Record.activity/instance.py",
line 6, in 
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, ', 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 
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 
import cardtable
  File
"/home/broot/sugar-build/activities/Memorize.activity/cardtable.py",
line 20, in 
import svgcard
  File
"/home/broot/sugar-build/activities/Memorize.activity/svgcard.py", line
32, in 
import model
  File "/home/broot/sugar-build/activities/Memorize.acti

Re: [Sugar-devel] Testing sugar-build

2013-10-18 Thread Daniel Narvaez
On 18 October 2013 18:29, Daniel Narvaez  wrote:

> > Tuxpaint#log below
>>
>
> I guess this contains binaries compiled on another distribution or
> something. You would need to rebuild on F19 (or inside the sugar-build
> chroot anyway).
>

More precisely they seem to be built on a 32 bit machine. I don't think I
want to get into supporting 32 bits executables inside 64 bit sugar-build :)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-18 Thread Daniel Narvaez
On 18 October 2013 17:22, Walter Bender  wrote:

> > This is the trace when I ran
> > [osbuild sugar-build]$ check
>

Fixed.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-18 Thread Daniel Narvaez
On 18 October 2013 17:22, Walter Bender  wrote:

> > == N/W ==
> > Chat opens, appears to start but cannot tx #log below
>
>
Nothing bad in the log. I suppose you need to make the activity shared and
have someone join for it to work (?).


> > == Fail to start ==
> >
> > MemoriseImportError: 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").


> > TestWebActivity #log below
>

Yeah, this is not supposed to be run as an activity, it's an automated test
helper. We should really make it display some useful message instead of
failin.


> > Tuxpaint#log below
>

I guess this contains binaries compiled on another distribution or
something. You would need to rebuild on F19 (or inside the sugar-build
chroot anyway).
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-18 Thread Daniel Narvaez
Actually it supports gtk2 activities too these days.


On 18 October 2013 17:22, Walter Bender  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
>  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 ==
> >
> > MemoriseImportError: 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, ',
> 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, ', 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 
> > 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, ',
> 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
> > 
> > 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@lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Testing sugar-build

2013-10-18 Thread Walter Bender
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
 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 ==
>
> MemoriseImportError: 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, ', 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, ', 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 
> 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, ', 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
> 
> 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@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Testing sugar-build

2013-10-18 Thread Iain Brown Douglas
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 ==

MemoriseImportError: 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, ', 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, ', 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 
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, ', 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

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
1382094273.580639 WARNING root: No Gtk.AccelGroup in the top level window.
1382094273.600234 WARNING root: No Gtk.AccelGroup in the top level window.
1382094274.111884 ERROR dbus.proxies: Introspect error on org.freedesktop.ohm:/org/freedesktop/ohm/Keystore: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ohm was not provided by any .service files
1382094274.112883 ERROR root: Cannot unfreeze the DCON
1382094274.453572 WARNING root: No Gtk.AccelGroup in the top level window.
1382094274.473465 WARNING root: No Gtk.AccelGroup in the top level window.
1382094274.489186 WARNING root: No Gtk.AccelGroup in the top level window.
1382094274.505099 WARNING root: No Gtk.AccelGroup in the top level window.
1382094274.549990 ERROR root: Could not find any typelib for Maliit
/usr/lib64/python2.7/site-packages/gi/types.py:113: Warning: g_object_set_property: assertion `G_IS_VALUE (value)' failed
  return info.invoke(*args, **kwargs)
/usr/lib64/python2.7/site-packages/gi/types.py:113: Warning: g_value_unset: assertion `G_IS_VALUE (value)' failed
  return info.invoke(*args, **kwargs)
1382094276.157251 WARNING root: _Account.__set_current_activity_cb
1382094278.079226 ERROR root: No activities are running
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel