<div>Hi all,</div><div><br></div><div>I was running loadbalance. After a while, I got the following error. Can someone shed some light on this? This happened before with earlier versions of Starcluster as well.</div><div><br>
</div><div><div><font color="#000099">>>> Loading full job history</font></div><div><font color="#000099">!!! ERROR - command 'source /etc/profile && qhost -xml' failed with status 1</font></div><div>
<font color="#000099">Traceback (most recent call last):</font></div><div><font color="#000099"> File "/usr/local/lib/python2.6/dist-packages/StarCluster-0.93-py2.6.egg/starcluster/cli.py", line 251, in main</font></div>
<div><font color="#000099"> sc.execute(args)</font></div><div><font color="#000099"> File "/usr/local/lib/python2.6/dist-packages/StarCluster-0.93-py2.6.egg/starcluster/commands/loadbalance.py", line 89, in execute</font></div>
<div><font color="#000099"> lb.run(cluster)</font></div><div><font color="#000099"> File "/usr/local/lib/python2.6/dist-packages/StarCluster-0.93-py2.6.egg/starcluster/balancers/sge/__init__.py", line 583, in run</font></div>
<div><font color="#000099"> if self.get_stats() == -1:</font></div><div><font color="#000099"> File "/usr/local/lib/python2.6/dist-packages/StarCluster-0.93-py2.6.egg/starcluster/balancers/sge/__init__.py", line 529, in get_stats</font></div>
<div><font color="#000099"> self.stat.parse_qhost(qhostxml)</font></div><div><font color="#000099"> File "/usr/local/lib/python2.6/dist-packages/StarCluster-0.93-py2.6.egg/starcluster/balancers/sge/__init__.py", line 49, in parse_qhost</font></div>
<div><font color="#000099"> doc = xml.dom.minidom.parseString(string)</font></div><div><font color="#000099"> File "/usr/lib/python2.6/xml/dom/minidom.py", line 1928, in parseString</font></div><div><font color="#000099"> return expatbuilder.parseString(string)</font></div>
<div><font color="#000099"> File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 940, in parseString</font></div><div><font color="#000099"> return builder.parseString(string)</font></div><div><font color="#000099"> File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 223, in parseString</font></div>
<div><font color="#000099"> parser.Parse(string, True)</font></div><div><font color="#000099">ExpatError: syntax error: line 1, column 0</font></div><div><font color="#000099"><br></font></div><div><font color="#000099">---------------------------------------------------------------------------</font></div>
<div><font color="#000099">MemoryError Traceback (most recent call last)</font></div><div><font color="#000099"><br></font></div><div><font color="#000099">/usr/local/bin/starcluster in <module>()</font></div>
<div><font color="#000099"> 7 if __name__ == '__main__':</font></div><div><font color="#000099"> 8 sys.exit(</font></div><div><font color="#000099">----> 9 load_entry_point('StarCluster==0.93', 'console_scripts', 'starcluster')()</font></div>
<div><font color="#000099"> 10 )</font></div><div><font color="#000099"> 11 </font></div><div><font color="#000099"><br></font></div><div><font color="#000099">/usr/local/lib/python2.6/dist-packages/StarCluster-0.93-py2.6.egg/starcluster/cli.pyc in main()</font></div>
<div><font color="#000099"> 306 logger.configure_sc_logging()</font></div><div><font color="#000099"> 307 warn_debug_file_moved()</font></div><div><font color="#000099">--> 308 StarClusterCLI().main()</font></div>
<div><font color="#000099"> 309 </font></div><div><font color="#000099"> 310 if __name__ == '__main__':</font></div><div><font color="#000099"><br></font></div><div><font color="#000099">/usr/local/lib/python2.6/dist-packages/StarCluster-0.93-py2.6.egg/starcluster/cli.pyc in main(self)</font></div>
<div><font color="#000099"> 283 log.debug(traceback.format_exc())</font></div><div><font color="#000099"> 284 print</font></div><div><font color="#000099">--> 285 self.bug_found()</font></div>
<div><font color="#000099"> 286 </font></div><div><font color="#000099"> 287 </font></div><div><font color="#000099"><br></font></div><div><font color="#000099">/usr/local/lib/python2.6/dist-packages/StarCluster-0.93-py2.6.egg/starcluster/cli.pyc in bug_found(self)</font></div>
<div><font color="#000099"> 150 crashfile = open(static.CRASH_FILE, 'w')</font></div><div><font color="#000099"> 151 crashfile.write(header % "CRASH DETAILS")</font></div><div><font color="#000099">--> 152 crashfile.write(session.stream.getvalue())</font></div>
<div><font color="#000099"> 153 crashfile.write(header % "SYSTEM INFO")</font></div><div><font color="#000099"> 154 crashfile.write("StarCluster: %s\n" % __version__)</font></div>
<div><font color="#000099"><br></font></div><div><font color="#000099">/usr/lib/python2.6/StringIO.pyc in getvalue(self)</font></div><div><font color="#000099"> 268 """</font></div><div><font color="#000099"> 269 if self.buflist:</font></div>
<div><font color="#000099">--> 270 self.buf += ''.join(self.buflist)</font></div><div><font color="#000099"> 271 self.buflist = []</font></div><div><font color="#000099"> 272 return self.buf</font></div>
<div><font color="#000099"><br></font></div><div><font color="#000099">MemoryError: </font></div></div><div><br></div><div><br></div>Thanks!<br clear="all"><div><br></div>-Wei