View previous topic :: View next topic |
Author |
Message |
SiOu Apprentice
Joined: 08 Apr 2005 Posts: 271
|
Posted: Sat Jun 11, 2005 9:11 pm Post subject: [GDESKLETS]Sensor nvidia |
|
|
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 |
|
|
titix Guru
Joined: 01 Nov 2003 Posts: 343 Location: Paris, France
|
Posted: Sat Jun 11, 2005 11:05 pm Post subject: |
|
|
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 |
|
|
SiOu Apprentice
Joined: 08 Apr 2005 Posts: 271
|
Posted: Sun Jun 12, 2005 11:01 am Post subject: |
|
|
heu ba tu ferai comment ? ( le lien refonctionne , le server etait out ) |
|
Back to top |
|
|
ghoti Advocate
Joined: 30 Dec 2002 Posts: 3634 Location: Belgium
|
Posted: Sun Jun 12, 2005 1:42 pm Post subject: |
|
|
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 |
|
|
SiOu Apprentice
Joined: 08 Apr 2005 Posts: 271
|
Posted: Sun Jun 12, 2005 3:13 pm Post subject: |
|
|
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 |
|
|
|