Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[GDESKLETS]Sensor nvidia
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
SiOu
Apprentice
Apprentice


Joined: 08 Apr 2005
Posts: 271

PostPosted: Sat Jun 11, 2005 9:11 pm    Post subject: [GDESKLETS]Sensor nvidia Reply with quote

Voila jessai dinstaller ce theme :

http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=196

Donc dabord jai essayé betement de le lancé avec gdesklets mais il mindiquait des erreurs or apres jai fai ceci :

Quote:
siou@tux siou $ sh /home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
import: unable to grab mouse `Succès'.
import: unable to read X window image `'.
import: unable to read X window image `'.
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 18: ERROR_B64: command not found
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 20: ERROR_TAR: command not found
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 22: SUCCESS: command not found
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 27: no_message: command not found
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 28: list_only: command not found
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 29: destination: command not found
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 32: args: command not found
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 34: syntax error near unexpected token `if'
/home/siou/psi-nvidia-info-0.2.tar.gz_FILES/psi-nvidia-info/Install_Nvidia_Sensor.bin: line 34: ` if (p == "--nomsg"): no_message = 1'
siou@tux siou $


Et donc jobtient ces erreurs , donc jai essayé de modifié le fichier en question :

Quote:
import sys, os, commands, base64, tempfile


ERROR_B64 = "Could not extract the archive.\n" \ <<<<== Ligne 18
"The installer seems to be corrupted."
ERROR_TAR = "Could not extract the archive.\n" \
"tar reported an error:\n"
SUCCESS = "The sensor has been installed successfully.\n" \
"gDesklets is now able to use it."


# default settings
no_message = 0
list_only = 0
destination = "~/.gdesklets/Sensors"

# parse arguments
args = sys.argv[1:]
for p in args:
if (p == "--nomsg"): no_message = 1 <<<<<=== ligne 34


Mais bon je sais pas vraiment quoi modifié
Back to top
View user's profile Send private message
titix
Guru
Guru


Joined: 01 Nov 2003
Posts: 343
Location: Paris, France

PostPosted: Sat Jun 11, 2005 11:05 pm    Post subject: Reply with quote

L'url que tu nous a donnée est pour le moment inaccessible mais je trouve très étrange de lancer un .bin (théoriquement un binaire) avec sh... d'où les erreurs.
_________________
titix
« La route est longue... mais la voie est libre ! »
Back to top
View user's profile Send private message
SiOu
Apprentice
Apprentice


Joined: 08 Apr 2005
Posts: 271

PostPosted: Sun Jun 12, 2005 11:01 am    Post subject: Reply with quote

heu ba tu ferai comment ? ( le lien refonctionne , le server etait out )
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3636
Location: Belgium

PostPosted: Sun Jun 12, 2005 1:42 pm    Post subject: Reply with quote

Quote:
bigben ~ # cd test/psi-nvidia-info/
bigben psi-nvidia-info # ./Install_Nvidia_Sensor.bin

The sensor has been installed successfully.
gDesklets is now able to use it.

Tout simplement ...
Pour info, le script, c'est pas du sh mais du python ;-)
Back to top
View user's profile Send private message
SiOu
Apprentice
Apprentice


Joined: 08 Apr 2005
Posts: 271

PostPosted: Sun Jun 12, 2005 3:13 pm    Post subject: Reply with quote

Bon je lai installé mais jai cette erreur au lancement :

Quote:
exceptions.IndexError:
list index out of range
>> could not load source code for hilighting <<


Quote:
Invalid desklet file "/home/siou/.gdesklets/Displays/psi-nvidia-info/psi-nvidia.display"

The desklet file contains invalid data and could not be loaded
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