Skip to content

./manager.py db upgrade #181

@andrel0

Description

@andrel0

Hello! ,

I have centos7 / mariadb mysql / python 2.7 and pip 19.3.1. Unfortunately, the name of the BD is not only called "get5" but when you have cpanel it generates an alias before. Example:
user_get5.

Any suggestions for this error ( I am having problems during the process ) :

./manager.py db upgrade

Traceback (most recent call last):
File "./manager.py", line 3, in
import get5
File "/home/tournament/public_html/play/plataforma-mm/get5/init.py", line 29, in
from flask import (Flask, render_template, flash, jsonify,
File "/home/tournament/public_html/play/plataforma-mm/venv/lib/python2.7/site-packages/flask/init.py", line 21, in
from .app import Flask, Request, Response
File "/home/tournament/public_html/play/plataforma-mm/venv/lib/python2.7/site-packages/flask/app.py", line 20, in
from werkzeug.routing import Map, Rule, RequestRedirect, BuildError
File "/home/tournament/public_html/play/plataforma-mm/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions