2010-11-06 66 views
0

運行水銀當我運行在GAE(從http://bitbucket.org/durin42/mercurial-appengine/) 「移植」 水銀的時候,我遇到:類型錯誤AppEngine上

Traceback (most recent call last): 
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__ 
    handler.get(*groups) 
    File "/base/data/home/apps/yt-source/1.346021588701137656/hgappengine/multi_hgapps.py", line 45, in get 
    return self.run() 
    File "/base/data/home/apps/yt-source/1.346021588701137656/hgappengine/multi_hgapps.py", line 68, in run 
    code = self.dispatch(repo_name) 
    File "/base/data/home/apps/yt-source/1.346021588701137656/hgappengine/multi_hgapps.py", line 91, in dispatch 
    app.get() 
    File "/base/data/home/apps/yt-source/1.346021588701137656/hgappengine/hgapp_mod.py", line 160, in get 
    return self.run() 
    File "/base/data/home/apps/yt-source/1.346021588701137656/hgappengine/hgapp_mod.py", line 250, in run 
    content = getattr(webcommands, cmd)(self, req, tmpl) 
    File "/base/data/home/apps/yt-source/1.346021588701137656/mercurial/hgweb/webcommands.py", line 245, in shortlog 
    return changelog(web, req, tmpl, shortlog = True) 
    File "/base/data/home/apps/yt-source/1.346021588701137656/mercurial/hgweb/webcommands.py", line 224, in changelog 
    lessvars['revcount'] = revcount/2 
TypeError: 'function' object does not support item assignment 

我最近在Python GAE ...

+0

您是否已聯繫此代碼的作者? – 2010-11-06 10:51:30

+0

是的,但他沒有回覆...也許他很忙或者我的電子郵件進入他的垃圾郵件箱... – KimKha 2010-11-07 02:57:31

回答

1

中發現的問題:我們需要使用Mercurial 1.6.4或更高版本...最新版本(1.7)不被appengine-mercurial支持