Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[En cours][AWN][Problem awn-settings] Afficher preferences
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
rolie31
n00b
n00b


Joined: 09 Apr 2012
Posts: 38
Location: France toulouse

PostPosted: Tue Nov 13, 2012 9:39 pm    Post subject: [En cours][AWN][Problem awn-settings] Afficher preferences Reply with quote

Bonsoir,

j'ai voulu essayer avant window navigator il y a quelques jours et je reste bloqué sur un problème un peu génant : je n'ai pas accès aux préfèrences.

Lorsque je lance la commande suivante :
Code:

awn-settings


J'obtiens le message d'erreur :
Code:

  File "/usr/bin/awn-settings", line 678
    colors = sizes = icon = extra = style = effects = False
                                                          ^
TabError: inconsistent use of tabs and spaces in indentation


J'avais une première erreur que j'ai pu corriger dans le fichier /usr/bin/awn-settings, ligne 47 :
Avant:
Code:

except Exception , e:


Après:
Code:

except Exception as e:



Mais je n'arrive pas à corriger la ligne 678 colors = ... :

Code:

        self.ui_setup()
      
      
    def export_save_theme(self, widget):

      colors = sizes = icon = extra = style = effects = False
      
      if self.themeExportColors.get_active(): colors = True
      if self.themeExportSize.get_active(): sizes = True



Est ce quelqu'un connait le python ???
Back to top
View user's profile Send private message
rolie31
n00b
n00b


Joined: 09 Apr 2012
Posts: 38
Location: France toulouse

PostPosted: Tue Nov 13, 2012 9:47 pm    Post subject: Reply with quote

Je viens de trouver une résolution à mon problème.

J'ai exécuté la ligne de commande suivante :
Code:

eselect python set 1


en tant qu'admin et ça m'a permis d'accéder aux préférences.

Cette commande permet de fixer l'interpreteur utiliser pour python à la version 2.7 chez moi

Code:

eselect python list

Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.2


Mais je ne sais pas si ça ne va pas poser des problèmes dans d'autres applis ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum