buggraveman - Bugs: bug #12978, Themes not found

 
 

bug #12978: Themes not found

Submitted by:  Thomas Zajic <ZlatkO>
Submitted on:  Thu 05 May 2005 09:40:22 AM UTC  
 
Severity: 3 - NormalStatus: Ready For Test
Assigned to: sylvain cresto <scresto>Originator Name: 
Open/Closed: ClosedRelease: 0.3.11
Fixed Release: 0.3.12cdrecord version: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 14 May 2005 04:18:21 PM UTC, comment #1:

Hi,

This is a problem with XDG_DATA_DIRS environment variable,
should be fixed in current graveman CVS.

Thanks,
Sylvain

sylvain cresto <scresto>
Project AdministratorIn charge of this item.
Thu 05 May 2005 09:40:22 AM UTC, original submission:

Graveman doesn't find its theme directory (/usr/local/share/graveman/themes) on startup. Running 'strace -e file graveman' shows that it uses the possible XDG locations of its config file as a path instead of the path itself, ie. it looks for themes in $XDG_/graveman/graveman.conf/themes/ instead of $XDG_/graveman/themes/.

[zlatko@disclosure]:~$ graveman

    • (graveman:10181): WARNING **: cannot find file 'DirIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'FileIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'FileImage' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'CDIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'AudioIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'CDRWIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'CDRWsmallIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'DVDsmallIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'DVDRWsmallIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'CDsmallIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'ISOsmallIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'BurnsmallIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'BurnIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'EraseCDRWIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'CharsetSmallIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'OKIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'BADIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'WARNIcon' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'Themes' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'Working' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'Menu-Audio-' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'Menu-Data-' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'Menu-Dvd-' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'Menu-Copy-' in any theme directories :-(
    • (graveman:10181): WARNING **: cannot find file 'Menu-Other-' in any theme directories :-(

(graveman:10181): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
(graveman:10181): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
(graveman:10181): GLib-CRITICAL **: g_hash_table_lookup: assertion `hash_table != NULL' failed
[...]

Here's the output of graveman compiled with --enable-debug:

[zlatko@disclosure]:~/usrlocal/src/graveman-0.3.11/src$ ./graveman

    • Message: une conf [/home/zlatko/.config/graveman/graveman.conf] valide trouve !
    • (graveman:12768): DEBUG: on cherche l'image [DirIcon]
    • (graveman:12768): DEBUG: on cherche dans [/home/zlatko/.local/share/graveman/themes/default/DirIcon.png]
    • (graveman:12768): DEBUG: on cherche dans [/usr/local/share/graveman/graveman.conf/themes/default/DirIcon.png]
    • (graveman:12768): DEBUG: on cherche dans [/usr/share/graveman/graveman.conf/themes/default/DirIcon.png]
    • (graveman:12768): DEBUG: on cherche dans [/opt/kde/share/graveman/graveman.conf/themes/default/DirIcon.png]
    • (graveman:12768): WARNING **: cannot find file 'DirIcon' in any theme directories :-(

[...]

The same messages repeat for every icon graveman is looking for.

BTW it would be easier to debug and provide patches (I guess the fix for this problem should be rather trivial) if the variable names, comments and debug output would be in English rather than in French. As it is now, I can only guess what the variable names mean, and what certain parts of the code are actually supposed to do - which effectively prevents me from fixing the problem myself and providing patches.

Thomas Zajic <ZlatkO>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 21 May 2005 04:21:05 PM UTCscrestoOpen/ClosedOpen=>Closed
Sat 14 May 2005 04:18:21 PM UTCscrestoStatusNone=>Ready For Test
  Assigned toNone=>scresto
  Fixed ReleaseNone=>0.3.12

Back to the top


Powered by Savane 3.1-cleanup1