<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 09/11/2014 03:23 AM, Yu Xin Huo
wrote:<br>
</div>
<blockquote cite="mid:54113FFA.8080006@linux.vnet.ibm.com"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Still fail to start with new error
below, updated #412, please fix it and apply the fix asap.<br>
<br>
Loaded plugins: ibm-check-lotus-updates, ibm-repository,
refresh-packagekit,<br>
: versionlock<br>
Traceback (most recent call last):<br>
File "./src/kimchid", line 95, in <module><br>
sys.exit(main(sys.argv[1:]))<br>
File "./src/kimchid", line 92, in main<br>
kimchi.server.main(options)<br>
File "/root/codebase-kimchi/test/kimchi/src/kimchi/server.py",
line 179, in main<br>
srv = Server(options)<br>
File "/root/codebase-kimchi/test/kimchi/src/kimchi/server.py",
line 128, in __init__<br>
model_instance = model.Model()<br>
File
"/root/codebase-kimchi/test/kimchi/src/kimchi/model/model.py",
line 58, in __init__<br>
module = import_module('model.' + mod_name)<br>
File "/root/codebase-kimchi/test/kimchi/src/kimchi/utils.py",
line 139, in import_module<br>
return __import__(module_name, globals(), locals(), [''])<br>
File
"/root/codebase-kimchi/test/kimchi/src/kimchi/model/storagevolumes.py",
line 171<br>
with contextlib.closing(urllib2.urlopen(url)) as response,\<br>
^<br>
SyntaxError: invalid syntax<br>
</div>
</blockquote>
<br>
Thanks for reporting, Yu Xin!<br>
<br>
I've just sent a patch to fix it: [Kimchi-devel] [PATCH] python 2.6
compatibility: Use 'with' statement only with one context<br>
<br>
<blockquote cite="mid:54113FFA.8080006@linux.vnet.ibm.com"
type="cite">
<div class="moz-cite-prefix"> <br>
On 9/11/2014 1:52 AM, Aline Manera wrote:<br>
</div>
<blockquote
cite="mid:kimchi-project%2Fkimchi%2Fissue%2F412%2Fissue_event%2F163779687@github.com"
type="cite">
<p>Closed <a moz-do-not-send="true"
href="https://github.com/kimchi-project/kimchi/issues/412"
class="issue-link" title="Kimchi failed to start on rhel 6">#412</a>.</p>
<p
style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>
Reply to this email directly or <a moz-do-not-send="true"
href="https://github.com/kimchi-project/kimchi/issues/412#event-163779687">view
it on GitHub</a>.<img moz-do-not-send="true" alt=""
src="https://github.com/notifications/beacon/5235914__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNTk5MDc0NSwiZGF0YSI6eyJpZCI6NDIwNTY0MzR9fQ==--0740730d23fed8dc0f63a416839d0a117f855ef5.gif"
height="1" width="1"></p>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>