On 09/11/2014 03:23 AM, Yu Xin Huo wrote:
Still fail to start with new error below, updated #412, please fix it and apply the fix asap.

Loaded plugins: ibm-check-lotus-updates, ibm-repository, refresh-packagekit,
              : versionlock
Traceback (most recent call last):
  File "./src/kimchid", line 95, in <module>
    sys.exit(main(sys.argv[1:]))
  File "./src/kimchid", line 92, in main
    kimchi.server.main(options)
  File "/root/codebase-kimchi/test/kimchi/src/kimchi/server.py", line 179, in main
    srv = Server(options)
  File "/root/codebase-kimchi/test/kimchi/src/kimchi/server.py", line 128, in __init__
    model_instance = model.Model()
  File "/root/codebase-kimchi/test/kimchi/src/kimchi/model/model.py", line 58, in __init__
    module = import_module('model.' + mod_name)
  File "/root/codebase-kimchi/test/kimchi/src/kimchi/utils.py", line 139, in import_module
    return __import__(module_name, globals(), locals(), [''])
  File "/root/codebase-kimchi/test/kimchi/src/kimchi/model/storagevolumes.py", line 171
    with contextlib.closing(urllib2.urlopen(url)) as response,\
                                                             ^
SyntaxError: invalid syntax

Thanks for reporting, Yu Xin!

I've just sent a patch to fix it: [Kimchi-devel] [PATCH] python 2.6 compatibility: Use 'with'    statement only with one context


On 9/11/2014 1:52 AM, Aline Manera wrote:

Closed #412.


Reply to this email directly or view it on GitHub.