美文网首页
odoo.addons.base.ir.ir_attachmen

odoo.addons.base.ir.ir_attachmen

作者: NIGangJun | 来源:发表于2019-12-06 11:16 被阅读0次

    我出现这个原因,是还原了本来不存在的数据库
    加载页面的时候基本上被这个阻塞,样式全部失效,导致无法正常出现登录页面

    2016-05-06 09:07:25,787 1 INFO database-name odoo.addons.base.ir.ir_attachment: _read_file reading /var/lib/odoo/filestore/<database name>/82/825be0a9492aa429844218238d35347d6a3c9220
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_attachment.py", line 105, in _file_read
        r = open(full_path,'rb').read().encode('base64')
    IOError: [Errno 2] No such file or directory: u'/var/lib/odoo/filestore/<database name>/82/825be0a9492aa429844218238d35347d6a3c9220'
    

    进入对应db

    -- 老实点,一条一条删掉
    delete from ir_attachment where store_fname like '%825be0a9492aa429844218238d35347d6a3c9220%';
    

    相关文章

      网友评论

          本文标题:odoo.addons.base.ir.ir_attachmen

          本文链接:https://www.haomeiwen.com/subject/zwwsgctx.html