求助:创建数据库报错
-
打开localhost:8069后创建数据库,网页提示500错误
log如下:
2015-12-01 05:10:20,176 10980 INFO None openerp.service.db: Create databasefirstdb
.
2015-12-01 05:10:33,969 10980 ERROR None openerp.service.db: CREATE DATABASE failed:
Traceback (most recent call last):
File "C:\Program Files\Odoo 8.0-20150111\server.\openerp\service\db.py", line 34, in _initialize_db
File "C:\Program Files\Odoo 8.0-20150111\server.\openerp\modules\db.py", line 63, in initialize
File "C:\Program Files\Odoo 8.0-20150111\server.\openerp\modules\module.py", line 248, in load_information_from_description_file
File "C:\Program Files\Odoo 8.0-20150111\server.\openerp\tools\safe_eval.py", line 311, in safe_eval
File "C:\Program Files\Odoo 8.0-20150111\server.\openerp\tools\safe_eval.py", line 166, in test_expr
File "<string>", line 27
'application' : True,
^
SyntaxError: invalid syntax
2015-12-01 05:10:34,039 10980 INFO firstdb openerp.modules.loading: loading 1 modules...
2015-12-01 05:10:34,420 10980 INFO firstdb openerp.modules.loading: 1 modules loaded in 0.37s, 0 queries
2015-12-01 05:10:34,663 10980 INFO firstdb openerp.modules.loading: Modules loaded.
2015-12-01 05:10:34,670 10980 INFO firstdb openerp.addons.base.res.res_users: Login failed for db:firstdb login:admin
2015-12-01 05:10:34,999 10980 INFO firstdb werkzeug: 127.0.0.1 - - [01/Dec/2015 05:10:34] "POST /web/database/create HTTP/1.1" 200 -
2015-12-01 05:10:35,052 10980 INFO firstdb openerp.addons.base.ir.ir_http: Generating routing map
2015-12-01 05:10:35,147 10980 INFO firstdb werkzeug: 127.0.0.1 - - [01/Dec/2015 05:10:35] "GET /web HTTP/1.1" 200 -
2015-12-01 05:10:35,523 10980 INFO firstdb werkzeug: 127.0.0.1 - - [01/Dec/2015 05:10:35] "GET /web/login?redirect=http%3A%2F%2Flocalhost%3A8069%2Fweb HTTP/1.1" 500 -
2015-12-01 05:10:35,826 10980 ERROR firstdb werkzeug: Error on request:
Traceback (most recent call last):
File "werkzeug\serving.py", line 177, in run_wsgi
服务器都运行正常,请高手指导。。。。。。 -
之前用是好的,突然不行。可以不卸载吗?想知道问题出在哪了
-
已经解决了。
是我以前建立一个数据库,并且建立了模块。我删除数据库没有删除模块造成不能再次建立数据库