wiican not loading, icon error

Bug #870834 reported by JPi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
WiiCan
Fix Committed
Medium
J. Félix Ontañón

Bug Description

Ubuntu Maverick 10.10
> wiican
Traceback (most recent call last):
  File "/usr/local/bin/wiican", line 39, in <module>
    from wiican.ui import Notificator, PngAnimation
  File "/usr/local/lib/python2.6/dist-packages/wiican/ui/__init__.py", line 46, in <module>
    from editordlg import MappingEditorDialog
  File "/usr/local/lib/python2.6/dist-packages/wiican/ui/editordlg.py", line 43, in <module>
    wiican_on_icon = theme.load_icon('wiican-on', 24, 0)
glib.GError: Icon 'wiican-on' not present in theme

Revision history for this message
J. Félix Ontañón (fontanon) wrote :

Hi JPi,

How do you installed wiican? via tarball[1] or getdeb[2] repository?

I suspect you installed it from the tarball but did not follow the README steps about re-generating gnome icon cache. Am I wrong?

[1] http://launchpad.net/wiican/0.3/0.3.3/+download/wiican-0.3.3.tar.gz
[2] http://www.getdeb.net/software/wiican

Changed in wiican:
status: New → Incomplete
assignee: nobody → J. Félix Ontañón (fontanon)
Revision history for this message
JPi (ajuanpi) wrote :

Hi Felix,

Yes, I installed it from the tarball.
/wiican-0.3.3> ls
AUTHORS build data INSTALL setup.py TODO wiican.doap
bin COPYING doc po tests wiican

There is no README though, only an INSTALL file and it says nothing about re-generating gnome icon cache.
I tried this http://gleamynode.net/articles/2258/ for the default theme that seems to be the one loaded, but get the same error.

Do you know a workaround?

Thanks

Revision history for this message
J. Félix Ontañón (fontanon) wrote :

You got me! I was sure the instructions for re-generating the icon cache was included on the INSTALL file.

Wiican installs their icons on the "hicolor" theme, so whether you install wiican using /usr or /usr/local as prefix the workaround would be:

$ sudo gtk-update-icon-cache -f -t /usr/local/share/icons/hicolor

or

$ sudo gtk-update-icon-cache -f -t /usr/share/icons/hicolor

I suppose you installed it with "sudo python setup.py install" with no prefix, so first instruction is for you.

Changed in wiican:
importance: Undecided → Medium
Revision history for this message
J. Félix Ontañón (fontanon) wrote :
Revision history for this message
J. Félix Ontañón (fontanon) wrote :
Changed in wiican:
status: Incomplete → Fix Committed
Revision history for this message
JPi (ajuanpi) wrote :

Hi Felix,
Thanks for the indication. It seems that problem is fixed now, but another one pop up. I think this one is harder to solve.
Basically in apt-get for Maverick we have required gtk+ version 2.22, but the required version is 2.24
I tried downloading pygtk 2.24, but it needs pycairo to compile and pycairo doesn't have a easy_install setup file :(

The error is
> wiican

(wiican:27173): GConf-WARNING **: haven't implemented getting a specific locale in GConfClient

(wiican:27173): GConf-WARNING **: haven't implemented getting a specific locale in GConfClient

(wiican:27173): GConf-WARNING **: haven't implemented getting a specific locale in GConfClient

(wiican:27173): GConf-WARNING **: haven't implemented getting a specific locale in GConfClient
Traceback (most recent call last):
  File "/usr/local/bin/wiican", line 325, in <module>
    launch_indicator()
  File "/usr/local/bin/wiican", line 284, in launch_indicator
    wiican = WiicanIndicator()
  File "/usr/local/bin/wiican", line 68, in __init__
    if not builder.add_from_file(WIIMOTEMANAGER_UI):
glib.GError: /usr/local/share/wiican/wiimotemanager.ui: required gtk+ version 2.24, current version is 2.22

Any hints to go through this one?

Thanks

Revision history for this message
J. Félix Ontañón (fontanon) wrote :

Due to the fact that this is another issue i've opened LP:871489 for dealing with it.

See you there.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.