On Wed, Jun 11, 2014 at 11:33 AM, Mitul Limbani <
mi...@enterux.in> wrote:
> I have configured it against nginx and supervisord.
>
> Nothing seen in /var/log/nginx/access.log , error.log and
> /var/log/supervisor/supervisord.log
>
>
> Here is output of /home/erp/frappe-bench/log/web.error.log
>
> 2014-06-11 01:08:24 [1261] [ERROR] Error handling request
> Traceback (most recent call last):
> File
> "/home/erp/frappe-bench/env/local/lib/python2.7/site-packages/gunicorn/workers/sync.py",
> line 131, in handle_request
> respiter = self.wsgi(environ, resp.start_response)
> File
> "/home/erp/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/local.py",
> line 224, in application
> return ClosingIterator(app(environ, start_response), self.cleanup)
> File
> "/home/erp/frappe-bench/env/local/lib/python2.7/site-packages/werkzeug/wrappers.py",
> line 285, in application
> return f(*args[:-2] + (request,))(*args[-2:])
> File "/home/erp/frappe-bench/apps/frappe/frappe/app.py", line 46, in
> application
> response = frappe.handler.handle()
> File "/home/erp/frappe-bench/apps/frappe/frappe/handler.py", line 66, in
> handle
> execute_cmd(cmd)
> File "/home/erp/frappe-bench/apps/frappe/frappe/handler.py", line 84, in
> execute_cmd
> ret = frappe.call(method, **frappe.form_dict)
> File "/home/erp/frappe-bench/apps/frappe/frappe/__init__.py", line 495, in
> call
> return fn(*args, **newargs)
> File
> "/home/erp/frappe-bench/apps/frappe/frappe/core/doctype/communication/communication.py",
> line 43, in make
> date=date)
> File
> "/home/erp/frappe-bench/apps/frappe/frappe/core/doctype/communication/communication.py",
> line 85, in _make
> comm.insert()
> File "/home/erp/frappe-bench/apps/frappe/frappe/model/document.py", line
> 140, in insert
> self.run_post_save_methods()
> File "/home/erp/frappe-bench/apps/frappe/frappe/model/document.py", line
> 397, in run_post_save_methods
> self.run_method("on_update")
> File "/home/erp/frappe-bench/apps/frappe/frappe/model/document.py", line
> 369, in run_method
> return Document.hook(fn)(self, *args, **kwargs)
> File "/home/erp/frappe-bench/apps/frappe/frappe/model/document.py", line
> 440, in composer
> return composed(self, method, *args, **kwargs)
> File "/home/erp/frappe-bench/apps/frappe/frappe/model/document.py", line
> 423, in runner
> add_to_return_value(self, fn(self, *args, **kwargs))
> File "/home/erp/frappe-bench/apps/frappe/frappe/model/document.py", line
> 367, in <lambda>
> fn = lambda self, *args, **kwargs: getattr(self, method)(*args,
> **kwargs)
> File
> "/home/erp/frappe-bench/apps/frappe/frappe/core/doctype/communication/communication.py",
> line 29, in on_update
> self.update_parent()
> File
> "/home/erp/frappe-bench/apps/frappe/frappe/core/doctype/communication/communication.py",
> line 26, in update_parent
> observer()
> File
> "/home/erp/frappe-bench/apps/erpnext/erpnext/controllers/status_updater.py",
> line 91, in on_communication
> self.get("communications").sort(key=lambda d: d.creation)
> AttributeError: 'NoneType' object has no attribute 'sort'
>
>
> Not sure if this is related to the email error, i guess it is.
>
>
>
> Regards,
> Mitul Limbani,
> Chief Architech & Founder,
> Enterux Solutions Pvt. Ltd.
> 110 Reena Complex, Opp. Nathani Steel,
> Vidyavihar (W), Mumbai - 400 086. India
>
http://www.enterux.com/
>
http://www.entvoice.com/
> email:
mi...@enterux.in
> DID:
+91-22-71967196
> Cell:
+91-9820332422
>