[Wapt] erreur java 7.25.1

Hubert TOUVET htouvet at tranquil.it
Thu Jul 11 16:07:36 CEST 2013


Le 11/07/2013 15:12, Anicet GERMAIN a écrit :
> Bonjour
>
> J'ai toujours des erreurs avec le paquet java
>
>
> Microsoft Windows [version 6.1.7601]
> Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
>
> C:\Users\klarue>wapt-get ldebug install 
> C:\WAPT\cache\chcom-java_7.25-1_all.wapt
>
> 2013-07-11 15:09:06,392 INFO Other repositories : ['']
> 2013-07-11 15:09:06,392 INFO User Groups:[]
> 2013-07-11 15:09:06,459 INFO Status :
> Unknown action ldebug
>
> C:\Users\klarue>wapt-get -ldebug install 
> C:\WAPT\cache\chcom-java_7.25-1_all.wap
> t
> 2013-07-11 15:10:04,181 DEBUG Default encoding : ascii
> 2013-07-11 15:10:04,183 DEBUG Setting encoding for stdout and stderr 
> to cp850
> 2013-07-11 15:10:04,183 DEBUG Python path ['C:\\WAPT', 
> 'C:\\WAPT\\lib\\site-pack
> ages\\flask-0.9-py2.7.egg', 
> 'C:\\WAPT\\lib\\site-packages\\jinja2-2.6-py2.7.egg'
> , 'C:\\WAPT\\lib\\site-packages\\werkzeug-0.8.3-py2.7.egg', 
> 'C:\\WAPT\\lib\\site
> -packages\\requests-1.2.0-py2.7.egg', 
> 'C:\\WAPT\\lib\\site-packages\\netifaces',
>  'C:\\WAPT\\python27.zip', 'C:\\WAPT\\DLLs', 'C:\\WAPT\\lib', 
> 'C:\\WAPT\\lib\\pl
> at-win', 'C:\\WAPT\\lib\\lib-tk', 'C:\\WAPT', 
> 'C:\\WAPT\\lib\\site-packages', 'C
> :\\WAPT\\lib\\site-packages\\win32', 
> 'C:\\WAPT\\lib\\site-packages\\win32\\lib',
>  'C:\\WAPT\\lib\\site-packages\\Pythonwin']
> 2013-07-11 15:10:04,184 DEBUG Config file: C:\WAPT\wapt-get.ini
> 2013-07-11 15:10:04,184 INFO Other repositories : ['']
> 2013-07-11 15:10:04,186 INFO User Groups:[]
> 2013-07-11 15:10:04,186 DEBUG WAPT base directory : C:\WAPT
> 2013-07-11 15:10:04,186 DEBUG Package cache dir : C:\WAPT\cache
> 2013-07-11 15:10:04,187 DEBUG WAPT DB Structure version;: 20130523
> 2013-07-11 15:10:04,243 INFO Status :
> Installing WAPT file C:\WAPT\cache\chcom-java_7.25-1_all.wapt
> 2013-07-11 15:10:04,289 INFO Register start of install 
> C:\WAPT\cache\chcom-java_
> 7.25-1_all.wapt as user klarue to local DB with params {}
> 2013-07-11 15:10:04,289 INFO Interactive user:klarue, usergroups []
> 2013-07-11 15:10:04,438 INFO Status : Installing package chcom-java 
> version 7.25
> -1 ...
> 2013-07-11 15:10:04,513 INFO Installing package 
> C:\WAPT\cache\chcom-java_7.25-1_
> all.wapt
> 2013-07-11 15:10:04,515 INFO   unzipping 
> C:\WAPT\cache\chcom-java_7.25-1_all.wap
> t to temporary c:\users\klarue\appdata\local\temp\waptfmuy5u
> 2013-07-11 15:10:05,088 INFO   sourcing install file 
> c:\users\klarue\appdata\loc
> al\temp\waptfmuy5u\setup.py
> 2013-07-11 15:10:05,091 INFO Install parameters : {}
> 2013-07-11 15:10:05,176 INFO   executing install script
> closing firefox
> closing internet explorer
> closing java updater service
> installation de Java (JRE)
> Installation JRE 32bits
> 2013-07-11 15:10:05,490 INFO Run "('jre-7u25-windows-i586.exe /s',)"
> Skipping already installed JRE 32bit
> Disable automatic updates
> 2013-07-11 15:10:09,901 CRITICAL Fatal error in install script: None 
> is not a va
> lid HKEY in this context
A priori, il s'agit d'une machine 32bits
La ligne en erreur est :
  registry_set(HKEY_LOCAL_MACHINE,r'SOFTWARE\JavaSoft\Java 
Update\Policy','EnableJavaUpdate',0)

Il faudrait regarder cette clé de registre sur la machine cible avec 
regedit... si elle existe bien et si on a le droit de modifier la valeur
  key = reg_openkey_noredir(root,path,sam=KEY_WRITE,create_if_missing=True)
doit renvoyer None, peut être pour des problèmes de droit d'accès ?

> 2013-07-11 15:10:09,951 DEBUG Check if host package 
> "iu240912-17.concept.local"
> is available
> 2013-07-11 15:10:09,957 DEBUG store status in DB
> 2013-07-11 15:10:10,019 INFO Status :
> FATAL ERROR : None is not a valid HKEY in this context
> Traceback (most recent call last):
>   File "<string>", line 823, in <module>
>   File "<string>", line 277, in main
>   File "C:\WAPT\common.py", line 2155, in install_wapt
>     raise e
> TypeError: None is not a valid HKEY in this context
> Exception at 00439F74: EPyTypeError:
> exceptions.TypeError: None is not a valid HKEY in this context.
>
> Merci
> Anicet
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt



More information about the WAPT mailing list