Hi There,
I keep seeing this error on server console on the dev server. Is there any reason for it?
16:38:49 worker.1 | [2014-08-05 16:38:49,796: ERROR/MainProcess] Task frappe.tasks.enqueue_events_for_site[f324141e-f936-40f7-8359-10366786616a] raised unexpected: LockTimeoutError(u’./erp-prod/locks/scheduler.lock’,)
16:38:49 worker.1 | Traceback (most recent call last):
16:38:49 worker.1 | File “/var/www/frappe-bench/env/local/lib/python2.7/site-packages/celery/app/trace.py”, line 240, in trace_task
16:38:49 worker.1 | R = retval = fun(*args, **kwargs)
16:38:49 worker.1 | File “/var/www/frappe-bench/env/local/lib/python2.7/site-packages/celery/app/trace.py”, line 437, in protected_call
16:38:49 worker.1 | return self.run(*args, **kwargs)
16:38:49 worker.1 | File “/var/www/frappe-bench/apps/frappe/frappe/tasks.py”, line 105, in enqueue_events_for_site
16:38:49 worker.1 | enqueue_events(site)
16:38:49 worker.1 | File “/var/www/frappe-bench/apps/frappe/frappe/utils/scheduler.py”, line 25, in enqueue_events
16:38:49 worker.1 | lock = create_lock(‘scheduler’)
16:38:49 worker.1 | File “/var/www/frappe-bench/apps/frappe/frappe/utils/file_lock.py”, line 16, in create_lock
16:38:49 worker.1 | if not check_lock(lock_path):
16:38:49 worker.1 | File “/var/www/frappe-bench/apps/frappe/frappe/utils/file_lock.py”, line 25, in check_lock
16:38:49 worker.1 | raise LockTimeoutError(path)
16:38:49 worker.1 | LockTimeoutError: ./erp-prod/locks/scheduler.lock
Kind regards,
MP
–
Note:
If you are posting an issue,
- ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4ec6c169-c336-4008-8290-0c3cf56c68d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.