meolu / walle-web

walle - 瓦力 Devops开源项目代码部署平台
https://walle-web.io
Apache License 2.0
11.85k stars 2.76k forks source link

BUG #1138

Open xuanxiaoyu69 opened 4 years ago

xuanxiaoyu69 commented 4 years ago

使用这个命令 sh admin.sh migration 就没有办法走下去了

Migration walle

Traceback (most recent call last): File "/home/wwwroot/walle-web/venv/bin/flask", line 5, in from flask.cli import main File "/home/wwwroot/walle-web/venv/lib/python2.7/site-packages/flask/init.py", line 21, in from .app import Flask, Request, Response File "/home/wwwroot/walle-web/venv/lib/python2.7/site-packages/flask/app.py", line 23, in from werkzeug.routing import BuildError, Map, RequestRedirect, Rule File "/home/wwwroot/walle-web/venv/lib/python2.7/site-packages/werkzeug/routing.py", line 948 exec(code, globs, locs) SyntaxError: unqualified exec is not allowed in function '_compile_builder' it contains a nested function with free variables Migration: [ fail ]

没有找到日志

CentOS Linux release 7.8.2003 (Core)

Linux version 3.10.0-1062.9.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP Fri Dec 6 15:49:49 UTC 2019

lsqpy commented 3 years ago

有人解决吗?

dengjf5603 commented 3 years ago

我也是卡在这里,centos 7.6,用的系统自带的python2.7.5