Opened 8 years ago

Closed 8 years ago

#3486 closed defect (wontfix)

sugar-jhbuild broken on f16

Reported by: m_anish Owned by: sascha_silbe
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: sugar-jhbuild Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: godiard, humitos Distribution/OS: Unspecified
Bug Status: New

Description

sugar-jhbuild on f16 fails to launch with the following error:

1334942033.929190 DEBUG root: STARTUP: Loading the home view
1334942033.929565 DEBUG root: STARTUP: Loading the favorites view
1334942033.933875 DEBUG root: FavoritesSetting layout None
1334942033.934034 WARNING root: Unknown favorites layout: None
1334942033.934149 DEBUG root: Icon without fixed_position: <OwnerIcon object at 0x8fb3acc (SugarFavoritesOwnerIcon at 0x891c260)>
1334942033.934220 DEBUG root: Icon without fixed_position: <CurrentActivityIcon object at 0x8fb3e14 (CanvasIcon at 0x891c2d8)>
1334942033.934295 DEBUG root: STARTUP: Loading the activities list
/home/anish/devel/jhbuild-mainline/install/lib/python2.7/site-packages/sugar/graphics/palette.py:129: GtkWarning: Default font does not have a positive size
  self.add(palette_box)
1334942033.944463 WARNING root: No gtk.AccelGroup in the top level window.
Traceback (most recent call last):
  File "/home/anish/devel/jhbuild-mainline/install/bin/sugar-session", line 289, in <module>
    main()
  File "/home/anish/devel/jhbuild-mainline/install/bin/sugar-session", line 265, in main
    home_window = homewindow.get_instance()
  File "/home/anish/devel/jhbuild-mainline/install/lib/python2.7/site-packages/jarabe/desktop/homewindow.py", line 208, in get_instance
    _instance = HomeWindow()
  File "/home/anish/devel/jhbuild-mainline/install/lib/python2.7/site-packages/jarabe/desktop/homewindow.py", line 68, in __init__
    self._home_box = HomeBox()
  File "/home/anish/devel/jhbuild-mainline/install/lib/python2.7/site-packages/jarabe/desktop/homebox.py", line 51, in __init__
    self._toolbar = HomeToolbar()
  File "/home/anish/devel/jhbuild-mainline/install/lib/python2.7/site-packages/jarabe/desktop/homebox.py", line 189, in __init__
    favorites_button = FavoritesButton()
  File "/home/anish/devel/jhbuild-mainline/install/lib/python2.7/site-packages/jarabe/desktop/homebox.py", line 259, in __init__
    self._update_icon()
  File "/home/anish/devel/jhbuild-mainline/install/lib/python2.7/site-packages/jarabe/desktop/homebox.py", line 294, in _update_icon
    self.props.named_icon = favoritesview.LAYOUT_MAP[self._layout]\
KeyError: None
1334942034.001585 DEBUG root: _cleanup_temp_files

Curiously, after installing the stock available sugar-* rpm packages and launching sugar-emulator from within sugar-jhbuild works.

However, if the stock sugar-* packages are removed, sugar-jhbuild fails to run again

Change History (7)

comment:1 Changed 8 years ago by m_anish

Downgrading the GConf2 and GConf2-devel packages to 2-2.32.4-1 works
This means that the gnome bug 664731 probably wasn't fixed in the latest packages available for f16 (GConf2-2.32.4-1.fc16)

comment:2 Changed 8 years ago by m_anish

comment:3 Changed 8 years ago by humitos

  • Cc humitos added

comment:4 Changed 8 years ago by humitos

If you run this command you will install Sugar at system level:

sudo yum groupinstall sugar-desktop

comment:5 Changed 8 years ago by humitos

This is the "solution" (a workaround):

wget http://kojipkgs.fedoraproject.org/packages/GConf2/2.32.4/1.fc16/i686/GConf2-2.32.4-1.fc16.i686.rpm
wget http://kojipkgs.fedoraproject.org/packages/GConf2/2.32.4/1.fc16/i686/GConf2-devel-2.32.4-1.fc16.i686.rpm
sudo rpm --upgrade --oldpackage --verbose GConf2-2.32.4-1.fc16.i686.rpm GConf2-devel-2.32.4-1.fc16.i686.rpm

comment:6 Changed 8 years ago by humitos

Can we do something to fix this issue permanently? Can we close this ticket?

comment:7 Changed 8 years ago by humitos

  • Resolution set to wontfix
  • Status changed from new to closed

Closing as "wontfix". The information on this ticket is still useful if you want to compile Sugar with jhbuild on a Fedora 16 system.

Note: See TracTickets for help on using tickets.