[Starcluster] Error in plug-in error message?
So it looks like there's an error in the error message printing when plugins
throw an exception: instead of printing the error message, I guess this
weird TypeError:
....
>>> Done Configuring Sun Grid Engine
>>> Running plugin govlovePlugin
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/Users/danielyamins/StarCluster/bin/starcluster in <module>()
5 del require
6 __file__ = '/Users/danielyamins/StarCluster/bin/starcluster'
----> 7 execfile(__file__)
8
9
/Users/danielyamins/StarCluster/bin/starcluster in <module>()
4 if __name__ == '__main__':
5 try:
----> 6 cli.main()
7 except KeyboardInterrupt:
8 print "Interrupted, exiting."
/Users/danielyamins/StarCluster/starcluster/cli.pyc in main()
750 sys.exit(0)
751 try:
--> 752 sc.execute(args)
753 except exception.BaseException,e:
754 log.error(e.msg)
/Users/danielyamins/StarCluster/starcluster/cli.pyc in execute(self, args)
161 log.info('Cluster settings are valid')
162 if not self.opts.validate_only:
--> 163 scluster.start(create=not self.opts.no_create)
164 if self.opts.login_master:
165 cluster.ssh_to_master(tag, self.cfg)
/Users/danielyamins/StarCluster/starcluster/utils.pyc in wrapper(*arg,
**kargs)
22 """Raw timing function """
23 time1 = time.time()
---> 24 res = func(*arg, **kargs)
25 time2 = time.time()
26 log.info('%s took %0.3f mins' % (func.func_name,
(time2-time1)/60.0))
/Users/danielyamins/StarCluster/starcluster/cluster.pyc in start(self,
create)
405 self.cluster_shell, self.volumes)
406 except Exception, e:
--> 407 log.error("Error occured while running plugin '%s':"
% plugin)
408 print e
409
TypeError: not all arguments converted during string formatting
Received on Thu Apr 15 2010 - 20:05:28 EDT
This archive was generated by
hypermail 2.3.0.