odoo.addons.base.ir.ir_attachmen

2019-12-06  本文已影响0人  NIGangJun

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

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%';
上一篇下一篇

猜你喜欢

热点阅读