Odoo怎么调试错误
-
没人回,我说下怎么解决的吧,问题最后变成了下面这样,解决办法是安装几个库。虽然问题解决了,但是我还是想说,odoo给的出错信息几乎 一 点 用 都 没 有 啊。
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 413, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
ParseError: "decoder zip not available" while parsing /vagrant/odoo/openerp/addons/base/base_data.xml:128, near
<record id="public_user" model="res.users">
<field name="name">Public user</field>
<field name="login">public</field>
<field name="password"/>
<!-- Avoid auto-including this demo user in any default group -->
<field name="groups_id" eval="[(6,0,[ref('base.group_public')])]"/>
<field name="image" type="base64" file="base/static/img/public_user-image.png"/>
<field name="partner_id" ref="public_partner"/>
<field name="active" eval="False"/>
</record>