Re: [Sugar-devel] Sugar in Fedora 14

2011-05-14 Thread Alvar Maciel
On Fri, May 13, 2011 at 9:27 PM, Bert Freudenberg b...@freudenbergs.de wrote:
 Since I struggled quite a bit I thought I'd report for others.

 Fresh F14 install, almost completely updated (it cannot find the newest 
 kernel rpm in any repository for some reason, although it updated hundreds 
 others).
Hi burt, first of all sorry that i don't say godbay to you in saturday
in edujam.
I go back to my house and install a fresh Fedora 14 (on a 64 Bits
machine) and I can install sugar with no problem. but i do thi
yum install sugar-*
to instal etoys i use the software manager and install the two
packages: etoys and etoys-sugar but apears the errror that you comment.
Another problem that i found it's that put the password every
time its a little bit complicated for the childrens
here is some images
https://picasaweb.google.com/lh/photo/dzmsBFGapg13zLg1zYopRA?feat=directlink
https://picasaweb.google.com/lh/photo/5CMvB-obQ1hT_8e3UXyQog?feat=directlink
https://picasaweb.google.com/lh/photo/lKXkLPEbtrAc-sw8Jipd4Q?feat=directlink
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Sugar in Fedora 14

2011-05-14 Thread Peter Robinson
Hi Bert,

Does it run OK if you run it as native on Fedora 14? You should be
able to select it from the GDM login prompt (once you click on a
user).

Peter

On Sat, May 14, 2011 at 1:27 AM, Bert Freudenberg b...@freudenbergs.de wrote:
 Since I struggled quite a bit I thought I'd report for others.

 Fresh F14 install, almost completely updated (it cannot find the newest 
 kernel rpm in any repository for some reason, although it updated hundreds 
 others).

 Installing Sugar using the Add/Remove Software panel leaves out activities 
 and the emulator. You need to install on the command line with

        yum groupinstall sugar-desktop

 After installing, sugar-emulator fails with this error message:

        Xephyr: ../../../include/privates.h:122: dixGetPrivateAddr: Assertion 
 `key-initialized' failed.

 Googling reveals a workaround, adding -nodri to the Xephyr command line.

 So I added that to  /usr/lib/python2.7/site-packages/jarabe/util/emulator.py:

 def _run_xephyr(display, dpi, dimensions, fullscreen):
    cmd = ['Xephyr']
    cmd.append(':%d' % display)
    cmd.append('-ac')
    cmd.append('-nodri')    # WORKAROUND FOR CRASH IN F14
    ...

 With this, Sugar starts from the Applications - Education menu.

 It then asks for a keyring password. You need to enter your password, 
 otherwise the network neighborhood view will be empty. If you wait too long, 
 it quits again.

 There are no activities in the ring initially. You need to switch to list 
 mode and star them.

 Running Etoys fails because sugar-presence-service crashes with

 Traceback (most recent call last):
  File /usr/bin/sugar-presence-service, line 24, in module
    main.main()
  File /usr/share/sugar-presence-service/main.py, line 64, in main
    presenceservice.main(test_num, randomize)
  File /usr/share/sugar-presence-service/presenceservice.py, line 894, in 
 main
    ps = PresenceService()
  File /usr/share/sugar-presence-service/presenceservice.py, line 88, in 
 __init__
    self._owner = self._create_owner()
  File /usr/share/sugar-presence-service/presenceservice.py, line 57, in 
 _create_owner
    return ShellOwner(self, self._session_bus)
  File /usr/share/sugar-presence-service/buddy.py, line 866, in __init__
    f = open(icon_file, r)
 IOError: [Errno 2] No such file or directory: 
 '/home/bert/.sugar/default/buddy-icon.jpg

 You can work around that in Etoys by making /usr/share/etoys/etoys.* writable 
 temporarily, running Etoys again, dismissing the error notifier, loading 
 updates, saving the image, and make the files write-only again. This avoids 
 using presence-service at startup. Sharing will still not work with the 
 borked PS of course.

 My own XO icon went missing from the neighborhood view, see screenshot below. 
 The error in shell.log might be related:

 Traceback (most recent call last):
  File /usr/lib/python2.7/site-packages/jarabe/desktop/meshbox.py, line 460, 
 in do_size_allocate
    self._layout.move(self._owner_icon, x, y)
  File /usr/lib/python2.7/site-packages/jarabe/desktop/spreadlayout.py, line 
 53, in move
    self._grid.move(child, x / _CELL_SIZE, y / _CELL_SIZE, locked=True)
  File /usr/lib/python2.7/site-packages/jarabe/desktop/grid.py, line 88, in 
 move
    self.remove_weight(self._child_rects[child])
 KeyError: BuddyIcon object at 0xa4ba0a4 (CanvasIcon at 0xa59ba70)

 Or this one:

 Traceback (most recent call last):
  File /usr/lib/python2.7/site-packages/dbus/connection.py, line 589, in 
 msg_reply_handler
    *message.get_args_list()))
  File /usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py, line 
 212, in __error_handler_cb
    error))
 RuntimeError: Error when calling BuddyInfo.GetProperties: 
 org.freedesktop.Telepathy.Error.NetworkError: Failed to query the PEP node:
 the addressed JID or item requested cannot be found

 I don't know if any of these problems have been solved in the mean time, at 
 least no update was available that looked like a fix. I have a system for 
 developing now, so I'm not really complaining. Just wanted to point out some 
 obstacles, because someone (can't remember who) said F14 was the best to get 
 a working Sugar for developing.

 - Bert -




 ___
 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] Sugar in Fedora 14

2011-05-14 Thread Bert Freudenberg
Running as a session it does not ask for a keyring password. Good. But there 
are no peers in the neighborhood view either. There are no network logfiles 
created in .sugar/default/logs, though according to ps, telepathy is running. 
Presence-service fails with the same error.

- Bert -

On 14.05.2011, at 12:29, Peter Robinson wrote:

 Hi Bert,
 
 Does it run OK if you run it as native on Fedora 14? You should be
 able to select it from the GDM login prompt (once you click on a
 user).
 
 Peter
 
 On Sat, May 14, 2011 at 1:27 AM, Bert Freudenberg b...@freudenbergs.de 
 wrote:
 Since I struggled quite a bit I thought I'd report for others.
 
 Fresh F14 install, almost completely updated (it cannot find the newest 
 kernel rpm in any repository for some reason, although it updated hundreds 
 others).
 
 Installing Sugar using the Add/Remove Software panel leaves out activities 
 and the emulator. You need to install on the command line with
 
yum groupinstall sugar-desktop
 
 After installing, sugar-emulator fails with this error message:
 
Xephyr: ../../../include/privates.h:122: dixGetPrivateAddr: 
 Assertion `key-initialized' failed.
 
 Googling reveals a workaround, adding -nodri to the Xephyr command line.
 
 So I added that to  /usr/lib/python2.7/site-packages/jarabe/util/emulator.py:
 
 def _run_xephyr(display, dpi, dimensions, fullscreen):
cmd = ['Xephyr']
cmd.append(':%d' % display)
cmd.append('-ac')
cmd.append('-nodri')# WORKAROUND FOR CRASH IN F14
...
 
 With this, Sugar starts from the Applications - Education menu.
 
 It then asks for a keyring password. You need to enter your password, 
 otherwise the network neighborhood view will be empty. If you wait too long, 
 it quits again.
 
 There are no activities in the ring initially. You need to switch to list 
 mode and star them.
 
 Running Etoys fails because sugar-presence-service crashes with
 
 Traceback (most recent call last):
  File /usr/bin/sugar-presence-service, line 24, in module
main.main()
  File /usr/share/sugar-presence-service/main.py, line 64, in main
presenceservice.main(test_num, randomize)
  File /usr/share/sugar-presence-service/presenceservice.py, line 894, in 
 main
ps = PresenceService()
  File /usr/share/sugar-presence-service/presenceservice.py, line 88, in 
 __init__
self._owner = self._create_owner()
  File /usr/share/sugar-presence-service/presenceservice.py, line 57, in 
 _create_owner
return ShellOwner(self, self._session_bus)
  File /usr/share/sugar-presence-service/buddy.py, line 866, in __init__
f = open(icon_file, r)
 IOError: [Errno 2] No such file or directory: 
 '/home/bert/.sugar/default/buddy-icon.jpg
 
 You can work around that in Etoys by making /usr/share/etoys/etoys.* 
 writable temporarily, running Etoys again, dismissing the error notifier, 
 loading updates, saving the image, and make the files write-only again. This 
 avoids using presence-service at startup. Sharing will still not work with 
 the borked PS of course.
 
 My own XO icon went missing from the neighborhood view, see screenshot 
 below. The error in shell.log might be related:
 
 Traceback (most recent call last):
  File /usr/lib/python2.7/site-packages/jarabe/desktop/meshbox.py, line 
 460, in do_size_allocate
self._layout.move(self._owner_icon, x, y)
  File /usr/lib/python2.7/site-packages/jarabe/desktop/spreadlayout.py, 
 line 53, in move
self._grid.move(child, x / _CELL_SIZE, y / _CELL_SIZE, locked=True)
  File /usr/lib/python2.7/site-packages/jarabe/desktop/grid.py, line 88, in 
 move
self.remove_weight(self._child_rects[child])
 KeyError: BuddyIcon object at 0xa4ba0a4 (CanvasIcon at 0xa59ba70)
 
 Or this one:
 
 Traceback (most recent call last):
  File /usr/lib/python2.7/site-packages/dbus/connection.py, line 589, in 
 msg_reply_handler
*message.get_args_list()))
  File /usr/lib/python2.7/site-packages/jarabe/model/neighborhood.py, line 
 212, in __error_handler_cb
error))
 RuntimeError: Error when calling BuddyInfo.GetProperties: 
 org.freedesktop.Telepathy.Error.NetworkError: Failed to query the PEP node:
 the addressed JID or item requested cannot be found
 
 I don't know if any of these problems have been solved in the mean time, at 
 least no update was available that looked like a fix. I have a system for 
 developing now, so I'm not really complaining. Just wanted to point out some 
 obstacles, because someone (can't remember who) said F14 was the best to get 
 a working Sugar for developing.
 
 - Bert -
 
 
 
 
 ___
 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] Sugar in Fedora 14

2011-05-14 Thread Peter Robinson
On Sat, May 14, 2011 at 9:19 PM, Bert Freudenberg b...@freudenbergs.de wrote:
 Running as a session it does not ask for a keyring password. Good. But there 
 are no peers in the neighborhood view either. There are no network logfiles 
 created in .sugar/default/logs, though according to ps, telepathy is running. 
 Presence-service fails with the same error.

Network logs are in the main shell.log last time I looked.
presence-service is obsolete, but etoys still uses it and nothing
else. No idea why it no longer runs. I wish etoys would hurry up and
fix their issues so I can kill it properly.

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


Re: [Sugar-devel] Sugar in Fedora 14

2011-05-14 Thread Bert Freudenberg

On 14.05.2011, at 23:06, Peter Robinson wrote:

 On Sat, May 14, 2011 at 9:19 PM, Bert Freudenberg b...@freudenbergs.de 
 wrote:
 Running as a session it does not ask for a keyring password. Good. But there 
 are no peers in the neighborhood view either. There are no network logfiles 
 created in .sugar/default/logs, though according to ps, telepathy is 
 running. Presence-service fails with the same error.
 
 Network logs are in the main shell.log last time I looked.

There is nothing network-related in shell.log.

 presence-service is obsolete, but etoys still uses it and nothing
 else. No idea why it no longer runs.

Because PS does not find the buddy icon file. If I do

touch ~/.sugar/default/buddy-icon.jpg

then Etoys starts fine.

- Bert -


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


Re: [Sugar-devel] Sugar in Fedora 14

2011-05-14 Thread Samuel Greenfeld
That's because sugar-presence-service-0.90.2-1.fc14 {which fixes this} needs
to be approved to move from testing to stable.  If you install it from
updates-testing it should work correctly without the file.

In general there are a few things one needs to do to get Sugar working
beyond single-user-mode or with Jabber in Fedora.  If you are using Salut,
you will have to make sure that avahi-daemon is enabled with mDNS allowed
through Fedora's default firewall (along with possibly some other ports;
this is currently being debated in Redhat BZ #699432).

There are also a number of collaboration bugs from Sugar 0.90 which Sugar
0.92 is only starting to fix.


On Sat, May 14, 2011 at 5:36 PM, Bert Freudenberg b...@freudenbergs.dewrote:


 On 14.05.2011, at 23:06, Peter Robinson wrote:

  On Sat, May 14, 2011 at 9:19 PM, Bert Freudenberg b...@freudenbergs.de
 wrote:
  Running as a session it does not ask for a keyring password. Good. But
 there are no peers in the neighborhood view either. There are no network
 logfiles created in .sugar/default/logs, though according to ps, telepathy
 is running. Presence-service fails with the same error.
 
  Network logs are in the main shell.log last time I looked.

 There is nothing network-related in shell.log.

  presence-service is obsolete, but etoys still uses it and nothing
  else. No idea why it no longer runs.

 Because PS does not find the buddy icon file. If I do

touch ~/.sugar/default/buddy-icon.jpg

 then Etoys starts fine.

 - Bert -


 ___
 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] Sugar in Fedora 14

2011-05-14 Thread Alvar Maciel
On Sat, May 14, 2011 at 7:31 PM, Samuel Greenfeld greenf...@laptop.org wrote:
 That's because sugar-presence-service-0.90.2-1.fc14 {which fixes this} needs
 to be approved to move from testing to stable.  If you install it from
 updates-testing it should work correctly without the file.
I make the changes and the etoys works welll

 In general there are a few things one needs to do to get Sugar working
 beyond single-user-mode or with Jabber in Fedora.  If you are using Salut,
 you will have to make sure that avahi-daemon is enabled with mDNS allowed
 through Fedora's default firewall (along with possibly some other ports;
 this is currently being debated in Redhat BZ #699432).
this i wiil do it tomorrow
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel