[Sugar-devel] Error on "run sugar-emulator"

Manuel Kaufmann humitos at gmail.com
Mon Mar 26 20:04:33 EDT 2012


On Mon, Mar 26, 2012 at 20:35, Manuel Kaufmann <humitos at gmail.com> wrote:
> Do you see something strange?

Well, taking a look at the Makefile and trying to run all the commands
one by one, I found that my problem was / is the GREP_OPTIONS env var.

I had to "unset GREP_OPTIONS" before running this command and
everything went right. I think that is not a good option to have set.
This is not the first time that I have problems because of this!

So, my recommendation for the grep's developers is to remove this option :D

Some time later......

After re-compiling and installing this package again, I get this error
when I run "sugar-emulator":

[humitos] [/srv/sugar-jhbuild]$ cat ~/.sugar/default/logs/shell.log
:30
** (sugar-session:21841): DEBUG: starting phase 1

** (sugar-session:21841): DEBUG: ending phase 1

** (sugar-session:21841): DEBUG: starting phase 2

** (sugar-session:21841): DEBUG: ending phase 2

** (sugar-session:21841): DEBUG: starting phase 3

** (sugar-session:21841): DEBUG: ending phase 3

** (sugar-session:21841): DEBUG: starting phase 4

** (sugar-session:21841): DEBUG: ending phase 4

** (sugar-session:21841): DEBUG: starting phase 5

** (sugar-session:21841): DEBUG: ending phase 5

1332805956.464469 DEBUG root: STARTUP: Loading the desktop window
1332805956.467270 DEBUG root: STARTUP: Loading the home view
1332805956.467688 DEBUG root: STARTUP: Loading the favorites view
1332805956.501929 DEBUG root: FavoritesSetting layout 'ring-layout'
1332805956.502219 DEBUG root: Icon without fixed_position: <OwnerIcon
object at 0xa087edc (SugarFavoritesOwnerIcon at 0x99e88f0)>
1332805956.502289 DEBUG root: Icon without fixed_position:
<CurrentActivityIcon object at 0xa08a20c (CanvasIcon at 0x99e8968)>
1332805956.502366 DEBUG root: STARTUP: Loading the activities list
1332805956.593992 WARNING root: No gtk.AccelGroup in the top level window.
1332805956.596500 WARNING root: No gtk.AccelGroup in the top level window.
1332805956.596868 DEBUG root: STARTUP: Loading the group view
1332805956.610659 DEBUG root: STARTUP: Loading the mesh view
1332805956.791149 DEBUG root: NetworkManager not available
1332805956.799760 DEBUG root: Not an activity icon <OwnerIcon object
at 0xa087edc (SugarFavoritesOwnerIcon at 0x99e88f0)>
1332805956.799964 DEBUG root: Not an activity icon
<CurrentActivityIcon object at 0xa08a20c (CanvasIcon at 0x99e8968)>
1332805956.870564 DEBUG root: Already have a Salut account
1332805956.873975 DEBUG root: _Account.enable
/org/freedesktop/Telepathy/Account/salut/local_xmpp/account0
1332805956.875505 DEBUG root: Already have a Gabble account
1332805956.878500 DEBUG root: _Account.enable
/org/freedesktop/Telepathy/Account/gabble/jabber/_39768901951664f881b9434c7587805381ae6d322_40jabber_2esugarlabs_2eorg0
1332805956.891479 DEBUG root: _Account.__got_connection_cb
dbus.ObjectPath('/', variant_level=1)
1332805956.892488 DEBUG root: _Account.__set_enabled_cb success
1332805956.892868 DEBUG root: _Account.__got_connection_cb
dbus.ObjectPath('/org/freedesktop/Telepathy/Connection/gabble/jabber/_39768901951664f881b9434c7587805381ae6d322_40jabber_2esugarlabs_2eorg_2fsugar',
variant_level=1)
1332805956.895564 DEBUG root: _Account.__set_enabled_cb success
1332805956.904223 DEBUG root: _Account.__got_connection_error_cb
dbus.String(u'', variant_level=1)
1332805956.917731 DEBUG root: STARTUP: unfreeze_dcon_cb
1332805956.919606 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
1332805956.919911 DEBUG dbus.proxies: Executing introspect queue due to error
1332805956.921552 ERROR root: Cannot unfreeze the DCON
1332805956.946958 DEBUG root: STARTUP: window_manager
:30
1332805957.044177 DEBUG root: STARTUP: Loading the bundle registry
1332805957.045608 DEBUG root: STARTUP: Adding bundle
'/home/humitos/Activities/Productive.activity'
1332805957.047546 DEBUG root: STARTUP: Adding bundle
'/home/humitos/Activities/StopWatch.activity'
1332805957.048936 DEBUG root: STARTUP: Adding bundle
'/home/humitos/Activities/Colors!.activity'
1332805957.050224 DEBUG root: STARTUP: Adding bundle
'/home/humitos/Activities/FiftyTwo.activity'
1332805957.051504 DEBUG root: STARTUP: Adding bundle
'/home/humitos/Activities/StoryBuilder.activity'
1332805957.052795 DEBUG root: STARTUP: Adding bundle
'/home/humitos/Activities/Moon.activity'
1332805957.054058 DEBUG root: STARTUP: Adding bundle
'/home/humitos/Activities/Paint.activity'
1332805957.055428 DEBUG root: STARTUP: Adding bundle
'/home/humitos/Activities/Maze.activity'
1332805957.058184 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/ImageViewer.activity'
1332805957.059297 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Write.activity'
1332805957.077267 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Pippy.activity'
1332805957.078967 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Calculate.activity'
1332805957.084735 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Chat.activity'
1332805957.092691 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/TurtleArt.activity'
1332805957.094397 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Jukebox.activity'
1332805957.096122 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Log.activity'
1332805957.097516 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Terminal.activity'
1332805957.107172 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Read.activity'
1332805957.116847 DEBUG root: STARTUP: Adding bundle
'/srv/sugar-jhbuild/install/share/sugar/activities/Browse.activity'
1332805957.143110 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa096cfc (SugarFavoriteActivityIcon at 0xa1a9490)>
1332805957.146661 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a3a54 (SugarFavoriteActivityIcon at 0xa1a9508)>
1332805957.148357 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a357c (SugarFavoriteActivityIcon at 0xa1a9580)>
1332805957.151027 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a3d74 (SugarFavoriteActivityIcon at 0xa1a95f8)>
1332805957.153902 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a3fcc (SugarFavoriteActivityIcon at 0xa1a9670)>
1332805957.155983 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a925c (SugarFavoriteActivityIcon at 0xa1a96e8)>
1332805957.158013 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a94b4 (SugarFavoriteActivityIcon at 0xa1a9760)>
1332805957.161671 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a970c (SugarFavoriteActivityIcon at 0xa208c10)>
1332805957.163881 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a9964 (SugarFavoriteActivityIcon at 0xa208c88)>
1332805957.166434 DEBUG root: Icon out of bounds: <ActivityIcon object
at 0xa0a9be4 (SugarFavoriteActivityIcon at 0xa208d00)>
1332805957.177396 DEBUG root: Not an activity icon <OwnerIcon object
at 0xa087edc (SugarFavoritesOwnerIcon at 0x99e88f0)>
1332805957.177544 DEBUG root: Not an activity icon
<CurrentActivityIcon object at 0xa08a20c (CanvasIcon at 0x99e8968)>
1332805957.190900 DEBUG root: Not an activity icon <OwnerIcon object
at 0xa087edc (SugarFavoritesOwnerIcon at 0x99e88f0)>
1332805957.191048 DEBUG root: Not an activity icon
<CurrentActivityIcon object at 0xa08a20c (CanvasIcon at 0x99e8968)>
1332805957.214938 DEBUG root: STARTUP: setup_frame_cb
1332805957.237780 DEBUG root: STARTUP: Loading the frame
1332805957.244413 WARNING root: No gtk.AccelGroup in the top level window.
1332805957.250306 WARNING root: No gtk.AccelGroup in the top level window.
1332805957.256122 WARNING root: No gtk.AccelGroup in the top level window.
1332805957.261706 WARNING root: No gtk.AccelGroup in the top level window.
1332805957.263943 DEBUG root: new zoom level: 2
1332805957.351398 ERROR root: Exception while loading extension:
Traceback (most recent call last):
  File "/srv/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/frame/devicestray.py",
line 35, in __init__
    mod.setup(self)
  File "/srv/sugar-jhbuild/install/share/sugar/extensions/deviceicon/speech.py",
line 148, in setup
    tray.add_device(SpeechDeviceView())
  File "/srv/sugar-jhbuild/install/share/sugar/extensions/deviceicon/speech.py",
line 47, in __init__
    self._manager = speech.get_speech_manager()
  File "/srv/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/model/speech.py",
line 229, in get_speech_manager
    _speech_manager = SpeechManager()
  File "/srv/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/model/speech.py",
line 56, in __init__
    self._voice_name = self._player.get_default_voice()
  File "/srv/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/model/speech.py",
line 209, in get_default_voice
    voices = self.get_all_voices()
  File "/srv/sugar-jhbuild/install/lib/python2.7/site-packages/jarabe/model/speech.py",
line 198, in get_all_voices
    for voice in gst.element_factory_make('espeak').props.voices:
ElementNotFoundError: espeak
1332805957.374856 ERROR root: org.freedesktop.NetworkManager service
not available
1332805957.392160 DEBUG root: STARTUP: setup_keyhandler_cb
1332805957.393556 DEBUG root: Loading module 'speech'
1332805957.394116 DEBUG root: Loading module 'viewsource'
1332805957.394289 DEBUG root: Loading module 'screenshot'

** (sugar-session:21841): WARNING **: Keycode out of bounds: 0 for key 0xDC

** (sugar-session:21841): WARNING **: Keycode out of bounds: 0 for key 0xEC

** (sugar-session:21841): WARNING **: Keycode out of bounds: 0 for key 0x93
1332805957.451641 DEBUG root: STARTUP: setup_journal_cb
1332805957.451953 DEBUG root: STARTUP: Loading the journal
1332805957.508872 DEBUG root: ListView.update_with_query
1332805957.509017 DEBUG root: ListView.refresh query {'mountpoints':
['/'], 'order_by': ['+timestamp']}
1332805957.509267 DEBUG root: ListView.__model_ready_cb 0.0
1332805957.542611 DEBUG root: bus_name: <dbus.service.BusName
org.laptop.Journal on <dbus._dbus.SessionBus (session) at 0x9f6714c>
at 0xa68f1ac>
1332805957.568383 DEBUG root: ListView.__map_cb 0.0
1332805957.575342 DEBUG root: STARTUP: show_software_updates_cb
1332805957.575730 DEBUG root: STARTUP: setup_keyboard_cb
1332805957.603108 DEBUG root: window_state_event_cb <JournalActivity
object at 0xa67dcac (sugar+graphics+window+Window at 0xa2d45d0)>
1332805957.609585 DEBUG root: window_state_event_cb <JournalActivity
object at 0xa67dcac (sugar+graphics+window+Window at 0xa2d45d0)>
1332805957.610126 DEBUG root: visibility_notify_event_cb
<JournalActivity object at 0xa67dcac (sugar+graphics+window+Window at
0xa2d45d0)>
1332805957.610368 DEBUG root: canvas_visibility_notify_event_cb True
1332805957.610637 DEBUG root: Adding date updating timer
1332805957.611052 DEBUG root: __get_filters_approver_cb
dbus.Array([dbus.Dictionary({'org.freedesktop.Telepathy.Channel.TargetHandleType':
2, 'org.freedesktop.Telepathy.Channel.ChannelType':
'org.freedesktop.Telepathy.Channel.Type.Text'},
signature=dbus.Signature('sv')),
dbus.Dictionary({'org.freedesktop.Telepathy.Channel.TargetHandleType':
1, 'org.freedesktop.Telepathy.Channel.ChannelType':
'org.freedesktop.Telepathy.Channel.Type.Text'},
signature=dbus.Signature('sv'))], signature=dbus.Signature('a{sv}'))
1332805957.612143 DEBUG root: window_state_event_cb <JournalActivity
object at 0xa67dcac (sugar+graphics+window+Window at 0xa2d45d0)>
1332805957.614815 DEBUG root: window_state_event_cb <JournalActivity
object at 0xa67dcac (sugar+graphics+window+Window at 0xa2d45d0)>
python: symbol lookup error:
/srv/sugar-jhbuild/install/lib/gtk-2.0/2.10.0/engines/libsugar.so:
undefined symbol: GTK_WIDGET_HAS_FOCUS

There is something wrong with "espeak"; maybe something weird with
pulseaudio or alsa. I had a similar problem with another application
some time ago. I'll check this.

-- 
Kaufmann Manuel
Blog: http://humitos.wordpress.com/
Porfolio: http://fotos.mkaufmann.com.ar/
PyAr: http://www.python.com.ar/


More information about the Sugar-devel mailing list