FuelRats / FCMS

Fleet Carrier Management System
BSD 3-Clause "New" or "Revised" License
26 stars 7 forks source link

Problems on setup #176

Closed cattoman1 closed 9 months ago

cattoman1 commented 9 months ago

something in these lines From _initializedb.py Makes the setup error with:

TypeError: 'options' is an invalid keyword argument for this function

def main(argv=sys.argv):
    args = parse_args(argv)
    setup_logging(args.config_uri)
    env = bootstrap(args.config_uri)

    try:
        with env['request'].tm:
            dbsession = env['request'].dbsession
            setup_models(dbsession)
    except OperationalError:
cattoman1 commented 9 months ago

the website only run locally even if its port forwarded pls help

kenneaal commented 9 months ago

InitializeDB is not used with FCMS. The error is also in SQLAlchemy, not in FCMS. FCMS was coded against SQLAlchemy 1.3, later versions may have API changes that require revision.