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  完成后登入页面显示<br /><br />ParseError: Syntax Error on line 417 in -:417:33<br />416  .o-caret-right;<br />417  .o-position-absolute(@top:50%,@left:12px);<br />418  margin-top:(-@caret-width-base);[0m<br /><br />This error occured while compiling the bundle 'web.assets_backend' containing:<br /> -/website/static/src/less/import_bootstrap.less<br /> -/web/static/src/less/variables.less<br /><br />页面排版错乱。<br /><br />什么原因呢<br /><br />怀疑是数据库错误:<br />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<br />770 .o-margins-define(@name, @size: @name) {<br />771    .mt@{name} {margin-top: ~"@{size}px"!important;}<br />772    .mb@{name} {margin-bottom: ~"@{size}px"!important;}<br /><br />This error occured while compiling the bundle 'web.assets_common' containing:<br />    - /web/static/src/less/mimetypes.less<br />    - /web/static/src/less/animation.less<br />    - /web_planner/static/src/less/web_planner_common.less<br />    - /web_editor/static/src/less/web_editor.less<br />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<br />416        .o-caret-right;<br />417        .o-position-absolute(@top: 50%, @left: 12px);<br />418        margin-top: (-@caret-width-base);<br /><br />This error occured while compiling the bundle 'web.assets_backend' containing:<br />    - /website/static/src/less/import_bootstrap.less<br />    - /web/static/src/less/variables.less<br />    - /web/static/src/less/enterprise_compatibility.less<br />    - /web/static/src/less/utils.less<br />    - /web/static/src/less/modal.less<br />    - /web/static/src/less/notification.less<br />    - /base_import/static/src/less/import.less<br />    - /web_tip/static/src/less/tip.less<br />    - /web_calendar/static/src/less/web_calendar.less<br />    - /web_diagram/static/src/less/diagram_view.less<br />    - /web_kanban/static/src/less/kanban_dashboard.less<br />    - /web_kanban/static/src/less/kanban_view.less<br />    - /web_settings_dashboard/static/src/less/dashboard.less<br />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<br />770 .o-margins-define(@name, @size: @name) {<br />771    .mt@{name} {margin-top: ~"@{size}px"!important;}<br />772    .mb@{name} {margin-bottom: ~"@{size}px"!important;}<br /><br />This error occured while compiling the bundle 'web.assets_common' containing:<br />    - /web/static/src/less/mimetypes.less<br />    - /web/static/src/less/animation.less<br />    - /web_planner/static/src/less/web_planner_common.less<br />    - /web_editor/static/src/less/web_editor.less<br />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<br />416        .o-caret-right;<br />417        .o-position-absolute(@top: 50%, @left: 12px);<br />418        margin-top: (-@caret-width-base);<br />



  • 在ubuntu12.04 上安装odoo9  完成后登入页面显示<br /><br />ParseError: Syntax Error on line 417 in -:417:33<br />416  .o-caret-right;<br />417  .o-position-absolute(@top:50%,@left:12px);<br />418  margin-top:(-@caret-width-base);[0m<br /><br />This error occured while compiling the bundle 'web.assets_backend' containing:<br /> -/website/static/src/less/import_bootstrap.less<br /> -/web/static/src/less/variables.less<br /><br />页面排版错乱。<br /><br />什么原因呢<br /><br />怀疑是数据库错误:<br />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<br />770 .o-margins-define(@name, @size: @name) {<br />771    .mt@{name} {margin-top: ~"@{size}px"!important;}<br />772    .mb@{name} {margin-bottom: ~"@{size}px"!important;}<br /><br />This error occured while compiling the bundle 'web.assets_common' containing:<br />    - /web/static/src/less/mimetypes.less<br />    - /web/static/src/less/animation.less<br />    - /web_planner/static/src/less/web_planner_common.less<br />    - /web_editor/static/src/less/web_editor.less<br />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<br />416        .o-caret-right;<br />417        .o-position-absolute(@top: 50%, @left: 12px);<br />418        margin-top: (-@caret-width-base);<br /><br />This error occured while compiling the bundle 'web.assets_backend' containing:<br />    - /website/static/src/less/import_bootstrap.less<br />    - /web/static/src/less/variables.less<br />    - /web/static/src/less/enterprise_compatibility.less<br />    - /web/static/src/less/utils.less<br />    - /web/static/src/less/modal.less<br />    - /web/static/src/less/notification.less<br />    - /base_import/static/src/less/import.less<br />    - /web_tip/static/src/less/tip.less<br />    - /web_calendar/static/src/less/web_calendar.less<br />    - /web_diagram/static/src/less/diagram_view.less<br />    - /web_kanban/static/src/less/kanban_dashboard.less<br />    - /web_kanban/static/src/less/kanban_view.less<br />    - /web_settings_dashboard/static/src/less/dashboard.less<br />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<br />770 .o-margins-define(@name, @size: @name) {<br />771    .mt@{name} {margin-top: ~"@{size}px"!important;}<br />772    .mb@{name} {margin-bottom: ~"@{size}px"!important;}<br /><br />This error occured while compiling the bundle 'web.assets_common' containing:<br />    - /web/static/src/less/mimetypes.less<br />    - /web/static/src/less/animation.less<br />    - /web_planner/static/src/less/web_planner_common.less<br />    - /web_editor/static/src/less/web_editor.less<br />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<br />416        .o-caret-right;<br />417        .o-position-absolute(@top: 50%, @left: 12px);<br />418        margin-top: (-@caret-width-base);<br />



  • less 估计还是没装好,<br />仔细看看这帖子:http://shine-it.net/index.php/topic,17077.0.html<br /><br />注意 12.04的安装方法和13.04 之后不一样的。



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


登录后回复
 

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