quality@glassfish.java.net

Re: b26: updatetool broken?

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Tue, 30 Sep 2008 08:38:19 -0700

Just for the record,  i have seen this problem even with the .zip installation.    However, i only saw this once, and cannot reproduce this anymore.

Anissa

Kristian Rink wrote:
Hi again;

Kristian Rink schrieb:
[...]
  
this: What's the difference between the Unix .sh installer and a plain .zip
unpacker? What does the Unix installer more than "simply copying files to
its place"? :)
    

No matter how; running through the Unix .sh installer things seem better in
terms of update center being there at first, after all. Starting it however
ends up in an error like this being displayed:


Application ID: [Update Tool 2.0.0  (Build 15.1183)]
Timestamp     : [2008-09-30 09:50:47 CEST(+0200)]
wx Version    : [2.8.8.0]
wx Platform   : [__WXGTK__]
Python Version: [UNKNOWN]
Platform      : [UNKNOWN]

Traceback (innermost last):
  File
"/usr/local/opt/appsrv/gfv3-prelude-b26/updatetool/vendor-packages/updatetool/mainframe.py",
line 510, in update_image_view
    self._list_generic(imagedir, view)
  File
"/usr/local/opt/appsrv/gfv3-prelude-b26/updatetool/vendor-packages/updatetool/mainframe.py",
line 1481, in _list_generic
    self._list_available(imageroot)
  File
"/usr/local/opt/appsrv/gfv3-prelude-b26/updatetool/vendor-packages/updatetool/mainframe.py",
line 1785, in _list_available
    self.set_status(_("Adding component %s to the list...") % fmri_name)
 ValueError: unsupported format character 'w' (0x77) at index 13


Subsequently neither "Available Add-Ons" nor "Installed Components" are
correctly displayed. Again, problem of my machine? Does the updatetool use
its own python in any case, or does it rely on a pre-installed python on the
machine it is running on?

Cheers,
Kristian