GTG

Missing icons on setup.py installation

Bug #399207 reported by EvrenK
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Medium
Luca Falavigna

Bug Description

I noticed this on x64 Jaunty with Gnome installed and Kubuntu installed over it. Some of the icons (including all the things related to tags) are missing and the console gives error messages such as this one over and over:

File "/usr/local/lib/python2.6/dist-packages/GTG/taskbrowser/CellRendererTags.py", line 132, in on_render
    pixbuf = gtk.icon_theme_get_default().load_icon(my_tag_icon, 16, 0)
glib.GError: L'icône « gtg-tags-none » n'est pas présente dans le thème

During a IRC session, ploum wrote it might be due to a bug in setup.py.

Revision history for this message
EvrenK (evren-kiefer) wrote :
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Did you install .deb package from GTG PPA, or did you install GTG from sources?

Revision history for this message
EvrenK (evren-kiefer) wrote :

The problem occured only when I performed an installation from source with "sudo python setup.py install", then I deleted the files and re-installed with the PPA (I didn't know what PPA meant at first) and everything works like a charm.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Please note you have to pass --install-layout=deb option to setup.py script
to correctly install GTG on recent Ubuntu versions (9.04 "Jaunty" or later):

    $ sudo python setup.py install --install-layout=deb

r271 added a note in README to document this.

Changed in gtg:
assignee: nobody → Luca Falavigna (dktrkranz)
importance: Undecided → Medium
milestone: none → 0.2
status: New → Fix Committed
Revision history for this message
Dan Urist (durist-ucar) wrote :

I'm having the same issue-- no icons-- after installing from PPA on ubuntu jaunty. I'm using fluxbox, not gnome; might be a missing dependency in the package?

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

That's indeed possible. Could it be that we depend on an icon theme or something like that ?

do you have folders :
/usr/share/icons/hicolor
/usr/share/gtg/icons/hicolor/

?

Revision history for this message
Bertrand Rousseau (bertrand-rousseau) wrote : Re: [Bug 399207] Re: Missing icons on setup.py installation

We don't depend on a specific icon theme. For standard icons (like
quit or delete), GTK should fallback on the default theme. For
GTG-specific icons (like Mark as done, Dismiss, etc.), we depend on a
GTG-specific theme which should be installed in the folder you
mention.

On Wed, Jul 15, 2009 at 9:18 AM, Lionel Dricot<email address hidden> wrote:
> That's indeed possible. Could it be that we depend on an icon theme or
> something like that ?
>
> do you have folders :
> /usr/share/icons/hicolor
> /usr/share/gtg/icons/hicolor/
>
> ?
>
> --
> Missing icons on setup.py installation
> https://bugs.launchpad.net/bugs/399207
> You received this bug notification because you are a member of Gtg
> developers, which is the registrant for Getting Things GNOME!.
>
> Status in Getting Things GNOME!: Fix Committed
>
> Bug description:
> I noticed this on x64 Jaunty with Gnome installed and Kubuntu installed over it. Some of the icons (including all the things related to tags) are missing and the console gives error messages such as this one over and over:
>
> File "/usr/local/lib/python2.6/dist-packages/GTG/taskbrowser/CellRendererTags.py", line 132, in on_render
>    pixbuf = gtk.icon_theme_get_default().load_icon(my_tag_icon, 16, 0)
> glib.GError: L'icône « gtg-tags-none » n'est pas présente dans le thème
>
> During a IRC session, ploum wrote it might be due to a bug in setup.py.
>

--
Bertrand Rousseau
Place communale 1, 1450 Chastre, Belgium
e-mail : <email address hidden>
tel : +32 485 96 69 86

Revision history for this message
Dan Urist (durist-ucar) wrote :

Never mind-- I didn't realize that I had to select a color for my tag (maybe a black border around the tag icon would make this more obvious?). Everything is working fine. Thanks for your help and my apologies for the confusion.

Changed in gtg:
status: Fix Committed → Fix Released
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.