Skip to main content

Cli bales out.

  2 posts   Feedicon  
Replies: 1 - Last Post: January 14, 2012 23:53
by: Anonymous User
showing 1 - 2 of 2
Posted: January 10, 2012 15:07 by pelama
When deleteing assets that don't exists.. it cores..

localhost > gear
localhost/gear > delete -g pelle
An unexpected Exception occured : [<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'getObjectName']
Traceback (most recent call last):
File "/opt/SUNWoccli/bin/../share/lib/xvmcli.py", line 338, in <module>
diag = currentMode.handle(cmd=currentCmd,argv=currentArgvs)
File "/opt/SUNWoccli/bin/../share/lib/xvmcli.py", line 338, in <module>
diag = currentMode.handle(cmd=currentCmd,argv=currentArgvs)
File "/opt/SUNWoccli/share/lib/occli/mode.py", line 503, in handle
res = callback(options, args)
File "/opt/SUNWoccli/share/lib/occli/modes/ocgearModes.py", line 113, in delete
occli.modes.ocgearModesImpl.gear_delete(self.getCurrentSession(),options,argvs)
File "/opt/SUNWoccli/share/lib/occli/modes/ocgearModesImpl.py", line 431, in gear_delete
(success,result) = delete_gear(session, options.gear)
File "/opt/SUNWoccli/share/lib/occli/xvm_gear.py", line 179, in delete_gear
on = getGear(session, gear_name).getObjectName()
AttributeError: 'NoneType' object has no attribute 'getObjectName'
Error in sys.excepthook:
Traceback (most recent call last):
File "/opt/SUNWoccli/bin/../share/lib/xvmcli.py", line 76, in unexpectedExceptionHook
cli_exit(1)
File "/opt/SUNWoccli/bin/../share/lib/xvmcli.py", line 85, in cli_exit
sys.exit(code)
SystemExit: 1

Original exception was:
Traceback (most recent call last):
File "/opt/SUNWoccli/bin/../share/lib/xvmcli.py", line 338, in <module>
diag = currentMode.handle(cmd=currentCmd,argv=currentArgvs)
File "/opt/SUNWoccli/bin/../share/lib/xvmcli.py", line 338, in <module>
diag = currentMode.handle(cmd=currentCmd,argv=currentArgvs)
File "/opt/SUNWoccli/share/lib/occli/mode.py", line 503, in handle
res = callback(options, args)
File "/opt/SUNWoccli/share/lib/occli/modes/ocgearModes.py", line 113, in delete
occli.modes.ocgearModesImpl.gear_delete(self.getCurrentSession(),options,argvs)
File "/opt/SUNWoccli/share/lib/occli/modes/ocgearModesImpl.py", line 431, in gear_delete
(success,result) = delete_gear(session, options.gear)
File "/opt/SUNWoccli/share/lib/occli/xvm_gear.py", line 179, in delete_gear
on = getGear(session, gear_name).getObjectName()
AttributeError: 'NoneType' object has no attribute 'getObjectName'
Posted: January 14, 2012 23:53 by Anonymous User
Hi Pelama,

we know about that problem and we have patch for that. If you need that patch please go to oracle support and create ticket.

Dalibor
Replies: 1 - Last Post: January 14, 2012 23:53
by: Anonymous User
 
 
Close
loading
Please Confirm
Close