web2py - 创建新应用程序 - “无效的应用程序名称”

时间:2012-09-05 07:02:28

标签: python web2py

当我尝试在web2py中创建一个新应用程序时,我收到错误消息“无效的应用程序名称:xxx”

即使它创建了应用程序?

./web2py.py -S foo web2py.app
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2012
Version 2.0.6 (2012-09-02 04:44:23) stable
Database drivers available: SQLite(sqlite3), MySQL(pymysql), PostgreSQL(pg8000), IMAP(imaplib)
application foo does not exist, create (y/n)?Y
invalid application name: foo

1 个答案:

答案 0 :(得分:0)

你应该使用引号:

./web2py.py -S 'foo' web2py.app