Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[portage] Problème variable d'environnement
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
GentooUser@Clubic
l33t
l33t


Joined: 01 Nov 2004
Posts: 829

PostPosted: Sat Oct 14, 2006 3:43 pm    Post subject: [portage] Problème variable d'environnement Reply with quote

Voila depuis quelques temps les emerge ne se terminent pas, env-update ne marche pas, bref tous les outils Gentoo plantes sur la même erreur :
Code:
portage_exception.ParseError: 'No closing quotation in /etc/profile.env'


La cause cette variable dans mon /etc/env.d/02local :
Code:
XMODIFIERS="@im=SCIM"

Qui se retrouve sous cette forme dans /etc/profile.env :
Code:
export XMODIFIERS='@im=''

Bref ça plante sur le '='

Seule solution que j'ai trouvé pour l'instant : Virer la variable !
Je précise que j'utilise cette variable depuis plusieurs années et jamais eu de probleme avant.
Back to top
View user's profile Send private message
Tanki
Apprentice
Apprentice


Joined: 29 Mar 2005
Posts: 195
Location: Bordeaux/France

PostPosted: Sat Oct 14, 2006 3:51 pm    Post subject: Reply with quote

il manque un ' sur ta ligne juste avant le =
regarde bien
tu as saisi :
Code:
export XMODIFIERS='@im=''


il faudrait plutot saisir :

Quote:
export XMODIFIERS='@im'=''


voila :)

PS note le ' en rouge juste après @im
_________________
Kick Ass !
Dell XPS 13 Developer Edition 9350 | Intel Core i7 @2.20 GHz | 16 Go DDR3 | SSD Samsung PM951 NVMe 512Go
Back to top
View user's profile Send private message
GentooUser@Clubic
l33t
l33t


Joined: 01 Nov 2004
Posts: 829

PostPosted: Sat Oct 14, 2006 4:03 pm    Post subject: Reply with quote

Le fichier /etc/profile.env est généré par env-update, je ne peut donc pas modifier la ligne
Code:
export XMODIFIERS='@im=''

Seule possibilité d'influencer c'est de modifier la variable dans /etc/env.d/02local !

Je crois que c'est un bug d'env-update qui gère mal les variables avec des '=' dedans.
Back to top
View user's profile Send private message
CryoGen
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1426
Location: Bamako - Mali - Afrique

PostPosted: Sun Oct 15, 2006 5:05 am    Post subject: Reply with quote

tu as essayé:
Code:
XMODIFIERS="@im\=SCIM"

ou
Code:
XMODIFIERS='@im=SCIM'

ou meme (soyons fou XD)
Code:
XMODIFIERS='@im\=SCIM'


?? (je suis un peu crevé là pour me rappeler exactement les règles/protections apportées par ' ou " , soyez indulgents ^^)
_________________
- CryoGen` on #gentoofr@irc.freenode.net
- ~amd64 / KDE4
- I'm the bone of my sword...
Back to top
View user's profile Send private message
GentooUser@Clubic
l33t
l33t


Joined: 01 Nov 2004
Posts: 829

PostPosted: Sun Oct 15, 2006 8:03 am    Post subject: Reply with quote

Pour l 1 et le 3, ça ne marche pas (l'antislash se retrouve dans la variable), pour le 2 j'ai déjà testé ça ne change rien.

Sinon pour le moment ça remarche (alors que je n'ai pas fait de MAJ) !
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