[indiana-discuss] Test image for Preview 2

ludo ludo at dev.java.net
Mon Feb 4 10:22:28 PST 2008


I am trying imagine (got from Sun blog) or ipstool (ipsgui from john 
hawk) from on an internal indiana preview 2 build, and here is what I get:

# ./ipstool
Traceback (most recent call last):
  File "./ipstool.py", line 923, in ?
    ipstool = IpsTool()
  File "./ipstool.py", line 196, in __init__
    self.switch_to_active_image()
  File "./ipstool.py", line 537, in switch_to_active_image
    self.set_up_image_directory(None)
  File "./ipstool.py", line 573, in set_up_image_directory
    self.image.load_catalogs()
TypeError: load_catalogs() takes exactly 2 arguments (1 given)


or:

# cd  ../Imagine
# ./imagine
Traceback (most recent call last):
  File "./pkg_gui.py", line 603, in ?
    inst = Imagine()
  File "./pkg_gui.py", line 140, in __init__
    self.switch_to_active_image()
  File "./pkg_gui.py", line 198, in switch_to_active_image
    self.switch_to_image_directory(None)
  File "./pkg_gui.py", line 205, in switch_to_image_directory
    self.set_up_image("/")
  File "./pkg_gui.py", line 432, in set_up_image
    self.image.load_catalogs()
TypeError: load_catalogs() takes exactly 2 arguments (1 given)

Seems to be a mismatch in the APIs from pkg.client.image
ps: I am not good at CLI tools and typing
pkg install SUNWj6dmo SUNWj6dmx SUNWj6dvx SUNWj6jmp SUNWj6man SUNWj6rt 
SUNWj6rt SUNWj6dev
to get the jdk 6 installed is error prone and requires a knowledge of 
the SUNWxxxx code names that I currently do not have (well maybe not 
anymore...)

Ludo


More information about the indiana-discuss mailing list