Skip to Content
Menu
This question has been flagged
1 Reply
1662 Views
root@odoo-uat-enterprise-1-84bb87b555-xfc6h:/odoo# less run.log 


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/api.py", line 1049, in get
    value = self._data[key][field][record._ids[0]]
KeyError: 268229

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/fields.py", line 1065, in __get__
    value = record.env.cache.get(record, self)
  File "/odoo/odoo-server/odoo/api.py", line 1051, in get
    raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('stock.move.line(268229,).move_id', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/service/server.py", line 1162, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "/odoo/odoo-server/odoo/modules/registry.py", line 86, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/odoo/odoo-server/odoo/modules/loading.py", line 421, in load_modules
    loaded_modules, update_module, models_to_check)
  File "/odoo/odoo-server/odoo/modules/loading.py", line 313, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "/odoo/odoo-server/odoo/modules/loading.py", line 195, in load_module_graph
    registry.init_models(cr, model_names, {'module': package.name})
  File "/odoo/odoo-server/odoo/modules/registry.py", line 321, in init_models
    models[0].recompute()
  File "/odoo/odoo-server/odoo/models.py", line 5320, in recompute
    vals = {n: rec[n] for n in ns}
  File "/odoo/odoo-server/odoo/models.py", line 5320, in 
    vals = {n: rec[n] for n in ns}
  File "/odoo/odoo-server/odoo/models.py", line 5167, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/odoo/odoo-server/odoo/fields.py", line 1069, in __get__
    self.determine_value(record)
  File "/odoo/odoo-server/odoo/fields.py", line 1158, in determine_value
    self.compute_value(recs)
  File "/odoo/odoo-server/odoo/fields.py", line 1136, in compute_value
    self._compute_value(records)
  File "/odoo/odoo-server/odoo/fields.py", line 1129, in _compute_value
    self.compute(records)
  File "/odoo/odoo-server/odoo/fields.py", line 646, in _compute_related
    values = [first(value[name]) for value in values]
  File "/odoo/odoo-server/odoo/fields.py", line 646, in 
    values = [first(value[name]) for value in values]
  File "/odoo/odoo-server/odoo/models.py", line 5167, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/odoo/odoo-server/odoo/fields.py", line 1069, in __get__
    self.determine_value(record)
  File "/odoo/odoo-server/odoo/fields.py", line 1172, in determine_value
    record._prefetch_field(self)
  File "/odoo/odoo-server/odoo/models.py", line 2848, in _prefetch_field
    records = self._in_cache_without(field)
  File "/odoo/odoo-server/odoo/models.py", line 5195, in _in_cache_without
    for record_id in self.env.cache.get_missing_ids(recs - self, field):
  File "/odoo/odoo-server/odoo/models.py", line 5074, in __sub__
    return self.browse([id for id in self._ids if id not in other_ids])
  File "/odoo/odoo-server/odoo/models.py", line 4736, in browse
    return self._browse(ids, self.env, prefetch)
  File "/odoo/odoo-server/odoo/models.py", line 4723, in _browse
    prefetch[cls._name].update(ids)
MemoryError


Avatar
Discard
Best Answer

You need to increase the limit_memory_hard and limit_memory_soft in your config file, Please read morde about odoo deployment in the below link:

https://www.odoo.com/documentation/14.0/administration/install/deploy.html#id5

Avatar
Discard
Related Posts Replies Views Activity
1
Apr 24
1474
1
Dec 23
2745
1
May 23
3772
2
Nov 22
2424
0
Nov 22
2740