Error Submitting Stock Reconciliation

Hello

I am running into some issues submit a stock reconciliation sheet…Each time i click on submit it shows submitted and queued at the background for processing. after about 10mins it changes back to draft with error message below.

Will appreciate any tips in fixing this

Traceback (most recent call last):
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 1258, in executeaction
getattr(doc, action)(**kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 837, in _submit
self.save()
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 260, in save
return self.save(args, *kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 313, in save
self.runpostsavemethods()
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 908, in runpostsavemethods
self.runmethod(“onsubmit”)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 772, in runmethod
out = Document.hook(fn)(self, args, *kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 1048, in composer
return composed(self, method, args, *kwargs)
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 1031, in runner
addtoreturnvalue(self, fn(self, *args, **kwargs))
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 766, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/ubuntu/xlevel/apps/erpnext/erpnext/stock/doctype/stockreconciliation/stockreconciliation.py”, line 35, in onsubmit
self.makeglentries()
File “/home/ubuntu/xlevel/apps/erpnext/erpnext/controllers/stockcontroller.py”, line 39, in makeglentries
warehouseaccount, company=self.company)
File “/home/ubuntu/xlevel/apps/erpnext/erpnext/controllers/stockcontroller.py”, line 383, in updateglentriesafter
voucherobj.makeglentries(glentries=expectedgle, repostfuturegle=False, fromrepost=True)
File “/home/ubuntu/xlevel/apps/erpnext/erpnext/accounts/doctype/salesinvoice/salesinvoice.py”, line 683, in makeglentries
updateoutstanding=updateoutstanding, mergeentries=False)
File “/home/ubuntu/xlevel/apps/erpnext/erpnext/accounts/generalledger.py”, line 19, in makeglentries
saveentries(glmap, advadj, updateoutstanding, fromrepost)
File “/home/ubuntu/xlevel/apps/erpnext/erpnext/accounts/generalledger.py”, line 90, in saveentries
makeentry(entry, advadj, updateoutstanding, fromrepost)
File “/home/ubuntu/xlevel/apps/erpnext/erpnext/accounts/generalledger.py”, line 101, in makeentry
gle.insert()
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 249, in insert
self.runpostsavemethods()
File “/home/ubuntu/xlevel/apps/frappe/frappe/model/document.py”, line 926, in runpostsavemethods
if (self.doctype, self.name) in frappe.flags.currentlysaving:
File “/home/ubuntu/xlevel/env/local/lib/python2.7/site-packages/rq/timeouts.py”, line 64, in handledeathpenalty
‘({0} seconds)’.format(self._timeout))
JobTimeoutException: Task exceeded maximum timeout value (1500 seconds)

Any solution for this problem?

Hi, please how did you manage to fix this?