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

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

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

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

求助:Ubuntu下odoo9 安装完,页面错误,web.assets_backend error



  • 在ubuntu12.04 上安装odoo9  完成后登入页面显示

    ParseError: Syntax Error on line 417 in -:417:33
    416  .o-caret-right;
    417  .o-position-absolute(@top:50%,@left:12px);
    418  margin-top:(-@caret-width-base);[0m

    This error occured while compiling the bundle 'web.assets_backend' containing:
    -/website/static/src/less/import_bootstrap.less
    -/web/static/src/less/variables.less

    页面排版错乱。

    什么原因呢

    怀疑是数据库错误:
    2015-12-03 03:07:22,170 24572 WARNING odoo openerp.addons.base.ir.ir_qweb: ParseError: Syntax Error on line 771 in -:771:7
    770 .o-margins-define(@name, @size: @name) {
    771    .mt@{name} {margin-top: ~"@{size}px"!important;}
    772    .mb@{name} {margin-bottom: ~"@{size}px"!important;}

    This error occured while compiling the bundle 'web.assets_common' containing:
        - /web/static/src/less/mimetypes.less
        - /web/static/src/less/animation.less
        - /web_planner/static/src/less/web_planner_common.less
        - /web_editor/static/src/less/web_editor.less
    2015-12-03 03:07:22,472 24572 WARNING odoo openerp.addons.base.ir.ir_qweb: ParseError: Syntax Error on line 417 in -:417:33
    416        .o-caret-right;
    417        .o-position-absolute(@top: 50%, @left: 12px);
    418        margin-top: (-@caret-width-base);

    This error occured while compiling the bundle 'web.assets_backend' containing:
        - /website/static/src/less/import_bootstrap.less
        - /web/static/src/less/variables.less
        - /web/static/src/less/enterprise_compatibility.less
        - /web/static/src/less/utils.less
        - /web/static/src/less/modal.less
        - /web/static/src/less/notification.less
        - /base_import/static/src/less/import.less
        - /web_tip/static/src/less/tip.less
        - /web_calendar/static/src/less/web_calendar.less
        - /web_diagram/static/src/less/diagram_view.less
        - /web_kanban/static/src/less/kanban_dashboard.less
        - /web_kanban/static/src/less/kanban_view.less
        - /web_settings_dashboard/static/src/less/dashboard.less
    2015-12-03 03:07:29,495 24572 WARNING odoo openerp.addons.base.ir.ir_qweb: ParseError: Syntax Error on line 771 in -:771:7
    770 .o-margins-define(@name, @size: @name) {
    771    .mt@{name} {margin-top: ~"@{size}px"!important;}
    772    .mb@{name} {margin-bottom: ~"@{size}px"!important;}

    This error occured while compiling the bundle 'web.assets_common' containing:
        - /web/static/src/less/mimetypes.less
        - /web/static/src/less/animation.less
        - /web_planner/static/src/less/web_planner_common.less
        - /web_editor/static/src/less/web_editor.less
    2015-12-03 03:07:29,742 24572 WARNING odoo openerp.addons.base.ir.ir_qweb: ParseError: Syntax Error on line 417 in -:417:33
    416        .o-caret-right;
    417        .o-position-absolute(@top: 50%, @left: 12px);
    418        margin-top: (-@caret-width-base);



  • 在ubuntu12.04 上安装odoo9  完成后登入页面显示

    ParseError: Syntax Error on line 417 in -:417:33
    416  .o-caret-right;
    417  .o-position-absolute(@top:50%,@left:12px);
    418  margin-top:(-@caret-width-base);[0m

    This error occured while compiling the bundle 'web.assets_backend' containing:
    -/website/static/src/less/import_bootstrap.less
    -/web/static/src/less/variables.less

    页面排版错乱。

    什么原因呢

    怀疑是数据库错误:
    2015-12-03 03:07:22,170 24572 WARNING odoo openerp.addons.base.ir.ir_qweb: ParseError: Syntax Error on line 771 in -:771:7
    770 .o-margins-define(@name, @size: @name) {
    771    .mt@{name} {margin-top: ~"@{size}px"!important;}
    772    .mb@{name} {margin-bottom: ~"@{size}px"!important;}

    This error occured while compiling the bundle 'web.assets_common' containing:
        - /web/static/src/less/mimetypes.less
        - /web/static/src/less/animation.less
        - /web_planner/static/src/less/web_planner_common.less
        - /web_editor/static/src/less/web_editor.less
    2015-12-03 03:07:22,472 24572 WARNING odoo openerp.addons.base.ir.ir_qweb: ParseError: Syntax Error on line 417 in -:417:33
    416        .o-caret-right;
    417        .o-position-absolute(@top: 50%, @left: 12px);
    418        margin-top: (-@caret-width-base);

    This error occured while compiling the bundle 'web.assets_backend' containing:
        - /website/static/src/less/import_bootstrap.less
        - /web/static/src/less/variables.less
        - /web/static/src/less/enterprise_compatibility.less
        - /web/static/src/less/utils.less
        - /web/static/src/less/modal.less
        - /web/static/src/less/notification.less
        - /base_import/static/src/less/import.less
        - /web_tip/static/src/less/tip.less
        - /web_calendar/static/src/less/web_calendar.less
        - /web_diagram/static/src/less/diagram_view.less
        - /web_kanban/static/src/less/kanban_dashboard.less
        - /web_kanban/static/src/less/kanban_view.less
        - /web_settings_dashboard/static/src/less/dashboard.less
    2015-12-03 03:07:29,495 24572 WARNING odoo openerp.addons.base.ir.ir_qweb: ParseError: Syntax Error on line 771 in -:771:7
    770 .o-margins-define(@name, @size: @name) {
    771    .mt@{name} {margin-top: ~"@{size}px"!important;}
    772    .mb@{name} {margin-bottom: ~"@{size}px"!important;}

    This error occured while compiling the bundle 'web.assets_common' containing:
        - /web/static/src/less/mimetypes.less
        - /web/static/src/less/animation.less
        - /web_planner/static/src/less/web_planner_common.less
        - /web_editor/static/src/less/web_editor.less
    2015-12-03 03:07:29,742 24572 WARNING odoo openerp.addons.base.ir.ir_qweb: ParseError: Syntax Error on line 417 in -:417:33
    416        .o-caret-right;
    417        .o-position-absolute(@top: 50%, @left: 12px);
    418        margin-top: (-@caret-width-base);



  • less 估计还是没装好,
    仔细看看这帖子:http://shine-it.net/index.php/topic,17077.0.html

    注意 12.04的安装方法和13.04 之后不一样的。



  • 12.04太老了,虽然是LTS版也过期了,换14.04吧。


登录后回复
 

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