users@glassfish.java.net

Re: Try to run updatetool on Windows 7 without any sucess

From: <glassfish_at_javadesktop.org>
Date: Fri, 19 Feb 2010 15:19:08 PST

I think the problem may be that your host name has 8-bit characters in it.
This appears to be a bug in updatetool.
 
If that is the case and you are the adventurous type you could try this
code level fix:
 
Make a back up copy of:
 
"D:\glassfishv3\updatetool\vendor-packages\updatetool\gui\application.py"
 
Edit application.py and change line 87 from:
 
host_config_dir = os.path.join(config_dir, socket.gethostname())
 
to:
 
host_config_dir = os.path.join(config_dir, fsenc(socket.gethostname()))

Try to run updatetool again.
 
Hope this helps.
 
Chris
[Message sent by forum member 'kasso' (kasso_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=387683