Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

求助:创建数据库报错



  • 打开localhost:8069后创建数据库,网页提示500错误
    log如下:
    2015-12-01 05:10:20,176 10980 INFO None openerp.service.db: Create database firstdb.
    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

    服务器都运行正常,请高手指导。。。。。。



  • 打开localhost:8069后创建数据库,网页提示500错误
    log如下:
    2015-12-01 05:10:20,176 10980 INFO None openerp.service.db: Create database firstdb.
    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

    服务器都运行正常,请高手指导。。。。。。



  • 2015年1月11日的 官方安装版?
    之前好用过么?

    windows 下推荐卸载干净了,用 绿色版 做测试比较方便。



  • 之前用是好的,突然不行。可以不卸载吗?想知道问题出在哪了



  • 已经解决了。
    是我以前建立一个数据库,并且建立了模块。我删除数据库没有删除模块造成不能再次建立数据库


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待