关于convirt安装时遇到的问题

于滨济南 发布于 2011/11/26 19:25
阅读 2K+
收藏 0
您好,我是一个convirt的初学者,看了您发表的对convirt汉化的介绍,对你非常崇拜,现在我在安装convirt的过程中出现了一个问题,请您指点一下。
    在执行了命令./convirt-install/install/cms/scripts/setup_convirt后,出现了以下的错误。

Using /root/convirt/tg2env/lib/python2.4/site-packages/SymbolType-1.0-py2.4.egg
Finished processing dependencies for convirt==2.0dev
 
Setting up ConVirt with : /root/convirt/tg2env
Traceback (most recent call last):
  File "/root/convirt/tg2env/bin/paster", line 7, in ?
    sys.exit(
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-py2.4.egg/paste/script/appinstall.py", line 68, in run
    return super(AbstractInstallCommand, self).run(new_args)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-py2.4.egg/paste/script/command.py", line 218, in run
    result = self.command()
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteScript-1.7.3-py2.4.egg/paste/script/appinstall.py", line 447, in command
    conf = appconfig(config_spec, relative_to=os.getcwd())
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 215, in appconfig
    global_conf=global_conf)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 430, in _context_from_use
    context = self.get_context(
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 560, in get_context
    entry_point, protocol, ep_name = self.find_egg_entry_point(
  File "/root/convirt/tg2env/lib/python2.4/site-packages/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py", line 587, in find_egg_entry_point
    possible.append((entry.load(), protocol, entry.name))
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg/pkg_resources.py", line 1954, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/root/convirt/src/convirt/web/convirt/convirt/config/middleware.py", line 4, in ?
    from convirt.config.app_cfg import base_config
  File "/root/convirt/src/convirt/web/convirt/convirt/config/app_cfg.py", line 16, in ?
    from tg.configuration import AppConfig
  File "/root/convirt/tg2env/lib/python2.4/site-packages/TurboGears2-2.0.3-py2.4.egg/tg/__init__.py", line 58, in ?
    from tg.controllers import TGController, redirect, url, use_wsgi_app, WSGIAppController
  File "/root/convirt/tg2env/lib/python2.4/site-packages/TurboGears2-2.0.3-py2.4.egg/tg/controllers.py", line 28, in ?
    from tg.render import render as tg_render
  File "/root/convirt/tg2env/lib/python2.4/site-packages/TurboGears2-2.0.3-py2.4.egg/tg/render.py", line 9, in ?
    from tg.configuration import Bunch
  File "/root/convirt/tg2env/lib/python2.4/site-packages/TurboGears2-2.0.3-py2.4.egg/tg/configuration.py", line 13, in ?
    from beaker.middleware import SessionMiddleware, CacheMiddleware
  File "/root/convirt/tg2env/lib/python2.4/site-packages/Beaker-1.6.1-py2.4.egg/beaker/middleware.py", line 11, in ?
    from beaker.cache import CacheManager
  File "/root/convirt/tg2env/lib/python2.4/site-packages/Beaker-1.6.1-py2.4.egg/beaker/cache.py", line 17, in ?
    import beaker.ext.memcached as memcached
  File "/root/convirt/tg2env/lib/python2.4/site-packages/Beaker-1.6.1-py2.4.egg/beaker/ext/memcached.py", line 136
    with self.pool.reserve() as mc:
            ^
SyntaxError: invalid syntax
Error setting up ConVirt.
ERROR: running convirt-ctl setup.
ERROR: Failed setting up convirt package.
 
我是一个python的初学者,对此也不是很了解,网上说是因为机器上没有安装python2.6,我装上以后,执行依然报错,这个问题实在是解决不了了,请求您的帮助。
万分感谢
如果您方便的话,能否将天涯社区的李帅,Intel公司的王帅,以及搜狐的王蕾三人的联系方式给我,我想跟他们请教一些问题
 
加载中
0
于滨济南
于滨济南
终于解决啦,呵呵,开心
0
c
ccci
我也遇到了同样的问题 请问楼主是怎么解决的 187212464@qq.com
0
快乐做自己

在安装过程中也出同样的错误,请问应该解决,在此先谢过。

fen.zhou@teloco.com

0
z
zoudeshun

我也遇到同样的问题,请问应该如何解决,在此先谢过!

89070053@qq.com

0
于滨济南
于滨济南

大家如果有兴趣一起研究的话,我建一个群,大家一起讨论啊

群号是194509954,那个问题,主要是管理节点端操作系统的问题

0
c
ccci
楼主汉化没有成功 问汉化的不必了
0
h
hfreeze
你好,我也是遇到这个问题啊,不知道具体是怎样解决的?谢谢! 781564911@qq.com
0
梦翔儿

http://cloud.dlmu.edu.cn/cloudsite/?action-viewnews-itemid-266

这里有ubuntu下的安装文档,供大家参考,感谢于滨等群友帮忙。

0
雁南飞丶
雁南飞丶
Installed /root/convirt/tg2env/lib/python2.6/site-packages/Routes-1.10.3-py2.6.egg
Traceback (most recent call last):
  File "/root/convirt/tg2env/bin/easy_install", line 11, in <module>
    sys.exit(main())
  File "/root/convirt/tg2env/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 2142, in main
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/root/convirt/tg2env/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 376, in run
    self.easy_install(spec, not self.no_deps)
  File "/root/convirt/tg2env/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 619, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/root/convirt/tg2env/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 651, in install_item
    self.process_distribution(spec, dist, deps)
  File "/root/convirt/tg2env/lib/python2.6/site-packages/setuptools/command/easy_install.py", line 710, in process_distribution
    % e.args
TypeError: not enough arguments for format string
ERROR: installing TG2 (2.0.3).
ERROR: Failed creating Turbogears2 environment
返回顶部
顶部