Guest User

LeadUploadErrorTraceback

a guest
Jan 23rd, 2017
163
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 196.19 KB | None
  1. desk.min.js:151 {u'website': u'https://www.awpco.ae/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.331325', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'na', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Wifaq Properties', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 4918498', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00131', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.331325', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 11, 0, 0), u'parentfield': None}
  2. desk.min.js:151 Traceback (most recent call last):
  3. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  4. doc.insert()
  5. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  6. self.run_before_save_methods()
  7. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  8. self.run_method("validate")
  9. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  10. out = Document.hook(fn)(self, *args, **kwargs)
  11. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  12. return composed(self, method, *args, **kwargs)
  13. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  14. add_to_return_value(self, fn(self, *args, **kwargs))
  15. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  16. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  17. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  18. if self.contact_date and self.contact_date < nowdate():
  19. TypeError: can't compare datetime.datetime to str
  20.  
  21. desk.min.js:151 {u'website': u'http://www.tablez.com/', u'__islocal': True, u'email_id': u'inaayah@tablez.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.333471', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Ms Inaayah Abdul Aziz', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Tablez Food Company', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+9712 6156000,', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00132', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.333471', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 11, 13, 11), u'parentfield': None}
  22. desk.min.js:151 Traceback (most recent call last):
  23. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  24. doc.insert()
  25. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  26. self.run_before_save_methods()
  27. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  28. self.run_method("validate")
  29. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  30. out = Document.hook(fn)(self, *args, **kwargs)
  31. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  32. return composed(self, method, *args, **kwargs)
  33. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  34. add_to_return_value(self, fn(self, *args, **kwargs))
  35. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  36. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  37. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  38. if self.contact_date and self.contact_date < nowdate():
  39. TypeError: can't compare datetime.datetime to str
  40.  
  41. desk.min.js:151 {u'website': u'http://concept-uae.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.335917', u'doctype': u'Lead', u'mobile_no': u'504424969', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Yazer', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Smart Concept', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Opportunity', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 4957070', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00045', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.335917', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 20, 11, 7), u'parentfield': None}
  42. desk.min.js:151 Traceback (most recent call last):
  43. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  44. doc.insert()
  45. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  46. self.run_before_save_methods()
  47. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  48. self.run_method("validate")
  49. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  50. out = Document.hook(fn)(self, *args, **kwargs)
  51. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  52. return composed(self, method, *args, **kwargs)
  53. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  54. add_to_return_value(self, fn(self, *args, **kwargs))
  55. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  56. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  57. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  58. if self.contact_date and self.contact_date < nowdate():
  59. TypeError: can't compare datetime.datetime to str
  60.  
  61. desk.min.js:151 {u'website': u'http://www.cpestateagents.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.338033', u'doctype': u'Lead', u'mobile_no': u'564458197', u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Dennis', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Crompton Partners Real Estate', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Opportunity', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00130', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.338033', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 15, 9, 11), u'parentfield': None}
  62. desk.min.js:151 Traceback (most recent call last):
  63. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  64. doc.insert()
  65. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  66. self.run_before_save_methods()
  67. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  68. self.run_method("validate")
  69. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  70. out = Document.hook(fn)(self, *args, **kwargs)
  71. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  72. return composed(self, method, *args, **kwargs)
  73. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  74. add_to_return_value(self, fn(self, *args, **kwargs))
  75. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  76. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  77. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  78. if self.contact_date and self.contact_date < nowdate():
  79. TypeError: can't compare datetime.datetime to str
  80.  
  81. desk.min.js:151 {u'website': u'http://www.skyline-bc.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.340103', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Mary Angelique', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Skyline Real Estate and Business Center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Opportunity', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'24466110', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00129', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.340103', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 11, 9, 11), u'parentfield': None}
  82. desk.min.js:151 Traceback (most recent call last):
  83. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  84. doc.insert()
  85. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  86. self.run_before_save_methods()
  87. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  88. self.run_method("validate")
  89. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  90. out = Document.hook(fn)(self, *args, **kwargs)
  91. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  92. return composed(self, method, *args, **kwargs)
  93. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  94. add_to_return_value(self, fn(self, *args, **kwargs))
  95. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  96. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  97. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  98. if self.contact_date and self.contact_date < nowdate():
  99. TypeError: can't compare datetime.datetime to str
  100.  
  101. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.346941', u'doctype': u'Lead', u'mobile_no': u'544103174', u'campaign_name': u'Partnerships', u'owner': u'Administrator', u'lead_name': u'Mr. Imam', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Mashreeq Bank', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00128', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.346941', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 10, 10, 40), u'parentfield': None}
  102. desk.min.js:151 Traceback (most recent call last):
  103. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  104. doc.insert()
  105. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  106. self.run_before_save_methods()
  107. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  108. self.run_method("validate")
  109. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  110. out = Document.hook(fn)(self, *args, **kwargs)
  111. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  112. return composed(self, method, *args, **kwargs)
  113. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  114. add_to_return_value(self, fn(self, *args, **kwargs))
  115. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  116. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  117. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  118. if self.contact_date and self.contact_date < nowdate():
  119. TypeError: can't compare datetime.datetime to str
  120.  
  121. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.349004', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Haripraveen', u'modified_by': u'Administrator', u'source': u'Reference', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Sahul Group', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'563663230', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00127', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.349004', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 14, 10), u'parentfield': None}
  122. desk.min.js:151 Traceback (most recent call last):
  123. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  124. doc.insert()
  125. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  126. self.run_before_save_methods()
  127. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  128. self.run_method("validate")
  129. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  130. out = Document.hook(fn)(self, *args, **kwargs)
  131. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  132. return composed(self, method, *args, **kwargs)
  133. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  134. add_to_return_value(self, fn(self, *args, **kwargs))
  135. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  136. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  137. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  138. if self.contact_date and self.contact_date < nowdate():
  139. TypeError: can't compare datetime.datetime to str
  140.  
  141. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.356155', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Nancy', u'modified_by': u'Administrator', u'source': u'Reference', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'na', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'505044792', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00125', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.356155', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 16, 9, 10), u'parentfield': None}
  142. desk.min.js:151 Traceback (most recent call last):
  143. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  144. doc.insert()
  145. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  146. self.run_before_save_methods()
  147. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  148. self.run_method("validate")
  149. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  150. out = Document.hook(fn)(self, *args, **kwargs)
  151. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  152. return composed(self, method, *args, **kwargs)
  153. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  154. add_to_return_value(self, fn(self, *args, **kwargs))
  155. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  156. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  157. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  158. if self.contact_date and self.contact_date < nowdate():
  159. TypeError: can't compare datetime.datetime to str
  160.  
  161. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.358246', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Partnerships', u'owner': u'Administrator', u'lead_name': u'na', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'First Gulf Bank', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26816666', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00123', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.358246', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 11, 9, 10), u'parentfield': None}
  162. desk.min.js:151 Traceback (most recent call last):
  163. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  164. doc.insert()
  165. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  166. self.run_before_save_methods()
  167. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  168. self.run_method("validate")
  169. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  170. out = Document.hook(fn)(self, *args, **kwargs)
  171. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  172. return composed(self, method, *args, **kwargs)
  173. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  174. add_to_return_value(self, fn(self, *args, **kwargs))
  175. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  176. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  177. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  178. if self.contact_date and self.contact_date < nowdate():
  179. TypeError: can't compare datetime.datetime to str
  180.  
  181. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': u'whitey.l@adcb.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.360302', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Partnerships', u'owner': u'Administrator', u'lead_name': u'Whitey', u'modified_by': u'Administrator', u'source': None, u'contact_by': u'maria@oryxcloud.com', u'company_name': u'ADCB', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'026962222-044273951', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00098', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.360302', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 11, 9, 10), u'parentfield': None}
  182. desk.min.js:151 Traceback (most recent call last):
  183. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  184. doc.insert()
  185. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  186. self.run_before_save_methods()
  187. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  188. self.run_method("validate")
  189. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  190. out = Document.hook(fn)(self, *args, **kwargs)
  191. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  192. return composed(self, method, *args, **kwargs)
  193. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  194. add_to_return_value(self, fn(self, *args, **kwargs))
  195. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  196. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  197. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  198. if self.contact_date and self.contact_date < nowdate():
  199. TypeError: can't compare datetime.datetime to str
  200.  
  201. desk.min.js:151 {u'website': u'www.adib.ae', u'__islocal': True, u'email_id': u'osama.m@adib.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.362710', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Partnerships', u'owner': u'Administrator', u'lead_name': u'Osama', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'ADIB - Abu Dhabi Islamic Bank', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 412 8757', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00122', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.362710', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 11, 13, 0), u'parentfield': None}
  202. desk.min.js:151 Traceback (most recent call last):
  203. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  204. doc.insert()
  205. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  206. self.run_before_save_methods()
  207. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  208. self.run_method("validate")
  209. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  210. out = Document.hook(fn)(self, *args, **kwargs)
  211. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  212. return composed(self, method, *args, **kwargs)
  213. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  214. add_to_return_value(self, fn(self, *args, **kwargs))
  215. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  216. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  217. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  218. if self.contact_date and self.contact_date < nowdate():
  219. TypeError: can't compare datetime.datetime to str
  220.  
  221. desk.min.js:151 {u'website': u'no', u'__islocal': True, u'email_id': u'esmail.hamed@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.365047', u'doctype': u'Lead', u'mobile_no': u'504164100', u'campaign_name': u'Madina Zayed', u'owner': u'Administrator', u'lead_name': u'Hamed', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Corner Star Sports', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26350363', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00111', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.365047', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 11, 13, 0), u'parentfield': None}
  222. desk.min.js:151 Traceback (most recent call last):
  223. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  224. doc.insert()
  225. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  226. self.run_before_save_methods()
  227. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  228. self.run_method("validate")
  229. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  230. out = Document.hook(fn)(self, *args, **kwargs)
  231. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  232. return composed(self, method, *args, **kwargs)
  233. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  234. add_to_return_value(self, fn(self, *args, **kwargs))
  235. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  236. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  237. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  238. if self.contact_date and self.contact_date < nowdate():
  239. TypeError: can't compare datetime.datetime to str
  240.  
  241. desk.min.js:151 {u'website': u'no', u'__islocal': True, u'email_id': u'emirates_sama@live.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.367633', u'doctype': u'Lead', u'mobile_no': u'505036967', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Syed Faisal', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Emirates Sama Computer & Mobile Phone', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Opportunity', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'24434410', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00121', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.367633', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 11, 0), u'parentfield': None}
  242. desk.min.js:151 Traceback (most recent call last):
  243. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  244. doc.insert()
  245. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  246. self.run_before_save_methods()
  247. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  248. self.run_method("validate")
  249. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  250. out = Document.hook(fn)(self, *args, **kwargs)
  251. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  252. return composed(self, method, *args, **kwargs)
  253. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  254. add_to_return_value(self, fn(self, *args, **kwargs))
  255. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  256. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  257. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  258. if self.contact_date and self.contact_date < nowdate():
  259. TypeError: can't compare datetime.datetime to str
  260.  
  261. desk.min.js:151 {u'website': u'www.islandfalcon.com', u'__islocal': True, u'email_id': u'mail@islandfalcon.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.369998', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Al Dalil- Itihad', u'owner': u'Administrator', u'lead_name': u'Mr Imat', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Island Falcon', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26671440', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00120', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.369998', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 10, 9, 0), u'parentfield': None}
  262. desk.min.js:151 Traceback (most recent call last):
  263. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  264. doc.insert()
  265. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  266. self.run_before_save_methods()
  267. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  268. self.run_method("validate")
  269. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  270. out = Document.hook(fn)(self, *args, **kwargs)
  271. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  272. return composed(self, method, *args, **kwargs)
  273. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  274. add_to_return_value(self, fn(self, *args, **kwargs))
  275. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  276. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  277. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  278. if self.contact_date and self.contact_date < nowdate():
  279. TypeError: can't compare datetime.datetime to str
  280.  
  281. desk.min.js:151 {u'website': u'http://educarenursery.com/', u'__islocal': True, u'email_id': u'educareuae@yahoo.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.376986', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Al Dalil- Itihad', u'owner': u'Administrator', u'lead_name': u'Ms Iman', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Educare Nursery', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26658882', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00117', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.376986', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 10, 9, 0), u'parentfield': None}
  282. desk.min.js:151 Traceback (most recent call last):
  283. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  284. doc.insert()
  285. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  286. self.run_before_save_methods()
  287. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  288. self.run_method("validate")
  289. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  290. out = Document.hook(fn)(self, *args, **kwargs)
  291. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  292. return composed(self, method, *args, **kwargs)
  293. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  294. add_to_return_value(self, fn(self, *args, **kwargs))
  295. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  296. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  297. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  298. if self.contact_date and self.contact_date < nowdate():
  299. TypeError: can't compare datetime.datetime to str
  300.  
  301. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': u'rumaizan@eim.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.398129', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Madina Zayed', u'owner': u'Administrator', u'lead_name': u'na', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Rumaizan jewellery', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'42295350', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00110', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.398129', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 9, 0), u'parentfield': None}
  302. desk.min.js:151 Traceback (most recent call last):
  303. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  304. doc.insert()
  305. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  306. self.run_before_save_methods()
  307. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  308. self.run_method("validate")
  309. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  310. out = Document.hook(fn)(self, *args, **kwargs)
  311. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  312. return composed(self, method, *args, **kwargs)
  313. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  314. add_to_return_value(self, fn(self, *args, **kwargs))
  315. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  316. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  317. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  318. if self.contact_date and self.contact_date < nowdate():
  319. TypeError: can't compare datetime.datetime to str
  320.  
  321. desk.min.js:151 {u'website': u'www.gbjewellers.com', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.400522', u'doctype': u'Lead', u'mobile_no': u'551330034', u'campaign_name': u'Madina Zayed', u'owner': u'Administrator', u'lead_name': u'Dipesh', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'GB Gems LLC', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'42265914', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00109', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.400522', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 9, 0), u'parentfield': None}
  322. desk.min.js:151 Traceback (most recent call last):
  323. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  324. doc.insert()
  325. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  326. self.run_before_save_methods()
  327. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  328. self.run_method("validate")
  329. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  330. out = Document.hook(fn)(self, *args, **kwargs)
  331. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  332. return composed(self, method, *args, **kwargs)
  333. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  334. add_to_return_value(self, fn(self, *args, **kwargs))
  335. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  336. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  337. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  338. if self.contact_date and self.contact_date < nowdate():
  339. TypeError: can't compare datetime.datetime to str
  340.  
  341. desk.min.js:151 {u'website': u'no', u'__islocal': True, u'email_id': u'juniorplusshop@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.402594', u'doctype': u'Lead', u'mobile_no': u'506126625', u'campaign_name': u'Madina Zayed', u'owner': u'Administrator', u'lead_name': u'Naresh Bhojraj', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Junior Plus', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26289099', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00108', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.402594', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 9, 0), u'parentfield': None}
  342. desk.min.js:151 Traceback (most recent call last):
  343. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  344. doc.insert()
  345. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  346. self.run_before_save_methods()
  347. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  348. self.run_method("validate")
  349. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  350. out = Document.hook(fn)(self, *args, **kwargs)
  351. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  352. return composed(self, method, *args, **kwargs)
  353. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  354. add_to_return_value(self, fn(self, *args, **kwargs))
  355. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  356. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  357. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  358. if self.contact_date and self.contact_date < nowdate():
  359. TypeError: can't compare datetime.datetime to str
  360.  
  361. desk.min.js:151 {u'website': u'www.shuebijewellery.com', u'__islocal': True, u'email_id': u'shuebijewellery@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.404934', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Madina Zayed', u'owner': u'Administrator', u'lead_name': u'na', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Salem Al Shuebi Jewellery', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26318000', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00107', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.404934', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 29, 9, 0), u'parentfield': None}
  362. desk.min.js:151 Traceback (most recent call last):
  363. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  364. doc.insert()
  365. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  366. self.run_before_save_methods()
  367. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  368. self.run_method("validate")
  369. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  370. out = Document.hook(fn)(self, *args, **kwargs)
  371. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  372. return composed(self, method, *args, **kwargs)
  373. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  374. add_to_return_value(self, fn(self, *args, **kwargs))
  375. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  376. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  377. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  378. if self.contact_date and self.contact_date < nowdate():
  379. TypeError: can't compare datetime.datetime to str
  380.  
  381. desk.min.js:151 {u'website': u'no', u'__islocal': True, u'email_id': u'aljaziraabudhabi@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.407299', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Madina Zayed', u'owner': u'Administrator', u'lead_name': u'Ahmad Hasan Al Awhadi', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Awhadi Jewellery', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26314364', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00103', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.407299', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 29, 9, 0), u'parentfield': None}
  382. desk.min.js:151 Traceback (most recent call last):
  383. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  384. doc.insert()
  385. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  386. self.run_before_save_methods()
  387. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  388. self.run_method("validate")
  389. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  390. out = Document.hook(fn)(self, *args, **kwargs)
  391. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  392. return composed(self, method, *args, **kwargs)
  393. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  394. add_to_return_value(self, fn(self, *args, **kwargs))
  395. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  396. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  397. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  398. if self.contact_date and self.contact_date < nowdate():
  399. TypeError: can't compare datetime.datetime to str
  400.  
  401. desk.min.js:151 {u'website': u'http://arabesco.ae/ NOT working', u'__islocal': True, u'email_id': u'info@arabesco.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.414556', u'doctype': u'Lead', u'mobile_no': u'9.72E+11', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Evilyn', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Arabesco Real Estate', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00051', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.414556', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 10, 9, 7), u'parentfield': None}
  402. desk.min.js:151 Traceback (most recent call last):
  403. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  404. doc.insert()
  405. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  406. self.run_before_save_methods()
  407. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  408. self.run_method("validate")
  409. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  410. out = Document.hook(fn)(self, *args, **kwargs)
  411. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  412. return composed(self, method, *args, **kwargs)
  413. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  414. add_to_return_value(self, fn(self, *args, **kwargs))
  415. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  416. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  417. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  418. if self.contact_date and self.contact_date < nowdate():
  419. TypeError: can't compare datetime.datetime to str
  420.  
  421. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': u'alnoortravels2010@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.426465', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Madina Zayed', u'owner': u'Administrator', u'lead_name': u'Mr. Jaffo', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Noor Travels', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00102', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.426465', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 8, 9, 0), u'parentfield': None}
  422. desk.min.js:151 Traceback (most recent call last):
  423. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  424. doc.insert()
  425. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  426. self.run_before_save_methods()
  427. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  428. self.run_method("validate")
  429. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  430. out = Document.hook(fn)(self, *args, **kwargs)
  431. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  432. return composed(self, method, *args, **kwargs)
  433. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  434. add_to_return_value(self, fn(self, *args, **kwargs))
  435. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  436. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  437. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  438. if self.contact_date and self.contact_date < nowdate():
  439. TypeError: can't compare datetime.datetime to str
  440.  
  441. desk.min.js:151 {u'website': u'www.everlastwellness.com/', u'__islocal': True, u'email_id': u'lina@everlastauh.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.428896', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Lina', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Ever Last Wellness', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 633 3553', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00011', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.428896', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 13, 0), u'parentfield': None}
  442. desk.min.js:151 Traceback (most recent call last):
  443. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  444. doc.insert()
  445. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  446. self.run_before_save_methods()
  447. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  448. self.run_method("validate")
  449. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  450. out = Document.hook(fn)(self, *args, **kwargs)
  451. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  452. return composed(self, method, *args, **kwargs)
  453. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  454. add_to_return_value(self, fn(self, *args, **kwargs))
  455. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  456. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  457. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  458. if self.contact_date and self.contact_date < nowdate():
  459. TypeError: can't compare datetime.datetime to str
  460.  
  461. desk.min.js:151 {u'website': u'http://www.adagio-city.com/gb/hotel-7872-aparthotel-adagio-abu-dhabi-al-bustan/index.shtml', u'__islocal': True, u'email_id': u'h6533-sm2@accor.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.436390', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Al Dalil- Itihad', u'owner': u'Administrator', u'lead_name': u'Mica', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Adagio Aparthotel', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'25086444', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00100', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.436390', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 4, 16, 0), u'parentfield': None}
  462. desk.min.js:151 Traceback (most recent call last):
  463. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  464. doc.insert()
  465. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  466. self.run_before_save_methods()
  467. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  468. self.run_method("validate")
  469. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  470. out = Document.hook(fn)(self, *args, **kwargs)
  471. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  472. return composed(self, method, *args, **kwargs)
  473. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  474. add_to_return_value(self, fn(self, *args, **kwargs))
  475. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  476. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  477. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  478. if self.contact_date and self.contact_date < nowdate():
  479. TypeError: can't compare datetime.datetime to str
  480.  
  481. desk.min.js:151 {u'website': u'http://www.finehomeint.com/', u'__islocal': True, u'email_id': u'kashif@finehomeint.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.438754', u'doctype': u'Lead', u'mobile_no': u'557230556', u'campaign_name': u'Al Dalil- Itihad', u'owner': u'Administrator', u'lead_name': u'Kashif', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Fine Home International', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00099', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.438754', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 4, 16, 0), u'parentfield': None}
  482. desk.min.js:151 Traceback (most recent call last):
  483. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  484. doc.insert()
  485. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  486. self.run_before_save_methods()
  487. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  488. self.run_method("validate")
  489. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  490. out = Document.hook(fn)(self, *args, **kwargs)
  491. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  492. return composed(self, method, *args, **kwargs)
  493. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  494. add_to_return_value(self, fn(self, *args, **kwargs))
  495. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  496. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  497. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  498. if self.contact_date and self.contact_date < nowdate():
  499. TypeError: can't compare datetime.datetime to str
  500.  
  501. desk.min.js:151 {u'website': u'http://www.tuliphcc.com/', u'__islocal': True, u'email_id': u'shahna@tuliphcc.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.441226', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Shahna', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Tulip Healthcare Center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Opportunity', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6775558', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00010', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.441226', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 4, 16, 0), u'parentfield': None}
  502. desk.min.js:151 Traceback (most recent call last):
  503. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  504. doc.insert()
  505. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  506. self.run_before_save_methods()
  507. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  508. self.run_method("validate")
  509. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  510. out = Document.hook(fn)(self, *args, **kwargs)
  511. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  512. return composed(self, method, *args, **kwargs)
  513. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  514. add_to_return_value(self, fn(self, *args, **kwargs))
  515. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  516. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  517. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  518. if self.contact_date and self.contact_date < nowdate():
  519. TypeError: can't compare datetime.datetime to str
  520.  
  521. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': u'k.klark@etihad.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.443624', u'doctype': u'Lead', u'mobile_no': u'505814626', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Gema', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u"Gema's Store", u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00046', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.443624', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 4, 11, 7), u'parentfield': None}
  522. desk.min.js:151 Traceback (most recent call last):
  523. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  524. doc.insert()
  525. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  526. self.run_before_save_methods()
  527. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  528. self.run_method("validate")
  529. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  530. out = Document.hook(fn)(self, *args, **kwargs)
  531. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  532. return composed(self, method, *args, **kwargs)
  533. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  534. add_to_return_value(self, fn(self, *args, **kwargs))
  535. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  536. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  537. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  538. if self.contact_date and self.contact_date < nowdate():
  539. TypeError: can't compare datetime.datetime to str
  540.  
  541. desk.min.js:151 {u'website': u'http://purehome-re.ae/', u'__islocal': True, u'email_id': u'marketing@purehome-re.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.446003', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Angelica', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Pure Homes', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 44 66 775', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00044', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.446003', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 11, 7), u'parentfield': None}
  542. desk.min.js:151 Traceback (most recent call last):
  543. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  544. doc.insert()
  545. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  546. self.run_before_save_methods()
  547. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  548. self.run_method("validate")
  549. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  550. out = Document.hook(fn)(self, *args, **kwargs)
  551. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  552. return composed(self, method, *args, **kwargs)
  553. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  554. add_to_return_value(self, fn(self, *args, **kwargs))
  555. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  556. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  557. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  558. if self.contact_date and self.contact_date < nowdate():
  559. TypeError: can't compare datetime.datetime to str
  560.  
  561. desk.min.js:151 {u'website': u'http://www.mecproperty.ae/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.448368', u'doctype': u'Lead', u'mobile_no': u'9.72E+11', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Kevin', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Middle East Capital - MEC', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 (02) 666 5598', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00047', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.448368', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 3, 11, 7), u'parentfield': None}
  562. desk.min.js:151 Traceback (most recent call last):
  563. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  564. doc.insert()
  565. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  566. self.run_before_save_methods()
  567. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  568. self.run_method("validate")
  569. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  570. out = Document.hook(fn)(self, *args, **kwargs)
  571. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  572. return composed(self, method, *args, **kwargs)
  573. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  574. add_to_return_value(self, fn(self, *args, **kwargs))
  575. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  576. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  577. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  578. if self.contact_date and self.contact_date < nowdate():
  579. TypeError: can't compare datetime.datetime to str
  580.  
  581. desk.min.js:151 {u'website': u'http://memrealestate.wixsite.com/mem-realestate', u'__islocal': True, u'email_id': u'laila.realestate2020@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.450426', u'doctype': u'Lead', u'mobile_no': u'9.72E+11', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Laila', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u"Laila's Store - Mohammed el Mohammadi Maintenance", u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00055', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.450426', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 3, 9, 10), u'parentfield': None}
  582. desk.min.js:151 Traceback (most recent call last):
  583. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  584. doc.insert()
  585. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  586. self.run_before_save_methods()
  587. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  588. self.run_method("validate")
  589. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  590. out = Document.hook(fn)(self, *args, **kwargs)
  591. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  592. return composed(self, method, *args, **kwargs)
  593. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  594. add_to_return_value(self, fn(self, *args, **kwargs))
  595. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  596. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  597. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  598. if self.contact_date and self.contact_date < nowdate():
  599. TypeError: can't compare datetime.datetime to str
  600.  
  601. desk.min.js:151 {u'website': u'http://heretothere.ae/', u'__islocal': True, u'email_id': u'ammar@heretothere.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.452797', u'doctype': u'Lead', u'mobile_no': u'509240394', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Ammar', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'HeretoThere', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'28186966', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00049', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.452797', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 3, 9, 7), u'parentfield': None}
  602. desk.min.js:151 Traceback (most recent call last):
  603. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  604. doc.insert()
  605. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  606. self.run_before_save_methods()
  607. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  608. self.run_method("validate")
  609. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  610. out = Document.hook(fn)(self, *args, **kwargs)
  611. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  612. return composed(self, method, *args, **kwargs)
  613. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  614. add_to_return_value(self, fn(self, *args, **kwargs))
  615. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  616. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  617. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  618. if self.contact_date and self.contact_date < nowdate():
  619. TypeError: can't compare datetime.datetime to str
  620.  
  621. desk.min.js:151 {u'website': u'http://www.olympusrealestate.net/', u'__islocal': True, u'email_id': u'olympus@olympusrealestate.net', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.455145', u'doctype': u'Lead', u'mobile_no': u'5639174254', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Binny', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Olympus Properties And Leasing', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00050', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.455145', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 2, 18, 7), u'parentfield': None}
  622. desk.min.js:151 Traceback (most recent call last):
  623. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  624. doc.insert()
  625. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  626. self.run_before_save_methods()
  627. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  628. self.run_method("validate")
  629. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  630. out = Document.hook(fn)(self, *args, **kwargs)
  631. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  632. return composed(self, method, *args, **kwargs)
  633. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  634. add_to_return_value(self, fn(self, *args, **kwargs))
  635. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  636. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  637. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  638. if self.contact_date and self.contact_date < nowdate():
  639. TypeError: can't compare datetime.datetime to str
  640.  
  641. desk.min.js:151 {u'website': u'not working', u'__islocal': True, u'email_id': u'support@newstar-llc.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.457514', u'doctype': u'Lead', u'mobile_no': u'+971503178833,', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Joanne', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'NSPM New Star', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00048', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.457514', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 8, 11, 7), u'parentfield': None}
  642. desk.min.js:151 Traceback (most recent call last):
  643. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  644. doc.insert()
  645. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  646. self.run_before_save_methods()
  647. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  648. self.run_method("validate")
  649. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  650. out = Document.hook(fn)(self, *args, **kwargs)
  651. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  652. return composed(self, method, *args, **kwargs)
  653. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  654. add_to_return_value(self, fn(self, *args, **kwargs))
  655. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  656. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  657. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  658. if self.contact_date and self.contact_date < nowdate():
  659. TypeError: can't compare datetime.datetime to str
  660.  
  661. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.465353', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Apilus Beauty Center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26274730', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00091', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.465353', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 3, 10, 2), u'parentfield': None}
  662. desk.min.js:151 Traceback (most recent call last):
  663. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  664. doc.insert()
  665. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  666. self.run_before_save_methods()
  667. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  668. self.run_method("validate")
  669. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  670. out = Document.hook(fn)(self, *args, **kwargs)
  671. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  672. return composed(self, method, *args, **kwargs)
  673. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  674. add_to_return_value(self, fn(self, *args, **kwargs))
  675. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  676. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  677. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  678. if self.contact_date and self.contact_date < nowdate():
  679. TypeError: can't compare datetime.datetime to str
  680.  
  681. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': u'skin@healthcarellc.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.467490', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unkwnown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Esthetic Sense', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 633 1533', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00033', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.467490', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 10, 0), u'parentfield': None}
  682. desk.min.js:151 Traceback (most recent call last):
  683. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  684. doc.insert()
  685. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  686. self.run_before_save_methods()
  687. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  688. self.run_method("validate")
  689. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  690. out = Document.hook(fn)(self, *args, **kwargs)
  691. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  692. return composed(self, method, *args, **kwargs)
  693. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  694. add_to_return_value(self, fn(self, *args, **kwargs))
  695. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  696. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  697. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  698. if self.contact_date and self.contact_date < nowdate():
  699. TypeError: can't compare datetime.datetime to str
  700.  
  701. desk.min.js:151 {u'website': u'maslak.ae NOT WORKING', u'__islocal': True, u'email_id': u'yazanosama500@yahoo.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.469994', u'doctype': u'Lead', u'mobile_no': u'565391714', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Yazan', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Maslak Real Estate - Yazan Store', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00054', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.469994', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 9, 10, 7), u'parentfield': None}
  702. desk.min.js:151 Traceback (most recent call last):
  703. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  704. doc.insert()
  705. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  706. self.run_before_save_methods()
  707. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  708. self.run_method("validate")
  709. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  710. out = Document.hook(fn)(self, *args, **kwargs)
  711. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  712. return composed(self, method, *args, **kwargs)
  713. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  714. add_to_return_value(self, fn(self, *args, **kwargs))
  715. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  716. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  717. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  718. if self.contact_date and self.contact_date < nowdate():
  719. TypeError: can't compare datetime.datetime to str
  720.  
  721. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.472445', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Ammar', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Ammar Real Estate L.L.C.', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00092', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.472445', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 3, 10, 30), u'parentfield': None}
  722. desk.min.js:151 Traceback (most recent call last):
  723. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  724. doc.insert()
  725. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  726. self.run_before_save_methods()
  727. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  728. self.run_method("validate")
  729. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  730. out = Document.hook(fn)(self, *args, **kwargs)
  731. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  732. return composed(self, method, *args, **kwargs)
  733. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  734. add_to_return_value(self, fn(self, *args, **kwargs))
  735. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  736. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  737. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  738. if self.contact_date and self.contact_date < nowdate():
  739. TypeError: can't compare datetime.datetime to str
  740.  
  741. desk.min.js:151 {u'website': u'www.bsigroup.ae', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.474544', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Al Neyadi Building', u'owner': u'Administrator', u'lead_name': u'Tamara', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'BSI', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'24439660', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00096', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.474544', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 5, 9, 10), u'parentfield': None}
  742. desk.min.js:151 Traceback (most recent call last):
  743. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  744. doc.insert()
  745. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  746. self.run_before_save_methods()
  747. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  748. self.run_method("validate")
  749. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  750. out = Document.hook(fn)(self, *args, **kwargs)
  751. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  752. return composed(self, method, *args, **kwargs)
  753. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  754. add_to_return_value(self, fn(self, *args, **kwargs))
  755. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  756. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  757. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  758. if self.contact_date and self.contact_date < nowdate():
  759. TypeError: can't compare datetime.datetime to str
  760.  
  761. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.476604', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Carmen Ladies salon', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 443 3882', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00006', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.476604', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 3, 9, 0), u'parentfield': None}
  762. desk.min.js:151 Traceback (most recent call last):
  763. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  764. doc.insert()
  765. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  766. self.run_before_save_methods()
  767. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  768. self.run_method("validate")
  769. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  770. out = Document.hook(fn)(self, *args, **kwargs)
  771. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  772. return composed(self, method, *args, **kwargs)
  773. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  774. add_to_return_value(self, fn(self, *args, **kwargs))
  775. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  776. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  777. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  778. if self.contact_date and self.contact_date < nowdate():
  779. TypeError: can't compare datetime.datetime to str
  780.  
  781. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': u'mi_shujra@hotmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.478737', u'doctype': u'Lead', u'mobile_no': u'9.72E+11', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Muhammad', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Muhammad Store', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00056', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.478737', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 4, 9, 10), u'parentfield': None}
  782. desk.min.js:151 Traceback (most recent call last):
  783. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  784. doc.insert()
  785. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  786. self.run_before_save_methods()
  787. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  788. self.run_method("validate")
  789. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  790. out = Document.hook(fn)(self, *args, **kwargs)
  791. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  792. return composed(self, method, *args, **kwargs)
  793. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  794. add_to_return_value(self, fn(self, *args, **kwargs))
  795. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  796. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  797. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  798. if self.contact_date and self.contact_date < nowdate():
  799. TypeError: can't compare datetime.datetime to str
  800.  
  801. desk.min.js:151 {u'website': u'www.vctme.com', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.481209', u'doctype': u'Lead', u'mobile_no': u'562079449', u'campaign_name': u'Al Neyadi Building', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Walk In', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Venecia Home Nursing', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00095', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.481209', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 4, 9, 10), u'parentfield': None}
  802. desk.min.js:151 Traceback (most recent call last):
  803. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  804. doc.insert()
  805. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  806. self.run_before_save_methods()
  807. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  808. self.run_method("validate")
  809. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  810. out = Document.hook(fn)(self, *args, **kwargs)
  811. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  812. return composed(self, method, *args, **kwargs)
  813. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  814. add_to_return_value(self, fn(self, *args, **kwargs))
  815. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  816. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  817. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  818. if self.contact_date and self.contact_date < nowdate():
  819. TypeError: can't compare datetime.datetime to str
  820.  
  821. desk.min.js:151 {u'website': u'http://www.arbibco.com/ NOT working', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.488685', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Crescent Insurance Brokers', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971\xa02\xa06270055', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00097', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.488685', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 2, 9, 10), u'parentfield': None}
  822. desk.min.js:151 Traceback (most recent call last):
  823. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  824. doc.insert()
  825. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  826. self.run_before_save_methods()
  827. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  828. self.run_method("validate")
  829. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  830. out = Document.hook(fn)(self, *args, **kwargs)
  831. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  832. return composed(self, method, *args, **kwargs)
  833. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  834. add_to_return_value(self, fn(self, *args, **kwargs))
  835. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  836. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  837. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  838. if self.contact_date and self.contact_date < nowdate():
  839. TypeError: can't compare datetime.datetime to str
  840.  
  841. desk.min.js:151 {u'website': u'http://www.azcb.co', u'__islocal': True, u'email_id': u'info@azcb.co', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.490823', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Lorena - Mktg Manager', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Zaeem Real Estate', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 4433432', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00094', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.490823', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 2, 9, 10), u'parentfield': None}
  842. desk.min.js:151 Traceback (most recent call last):
  843. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  844. doc.insert()
  845. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  846. self.run_before_save_methods()
  847. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  848. self.run_method("validate")
  849. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  850. out = Document.hook(fn)(self, *args, **kwargs)
  851. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  852. return composed(self, method, *args, **kwargs)
  853. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  854. add_to_return_value(self, fn(self, *args, **kwargs))
  855. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  856. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  857. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  858. if self.contact_date and self.contact_date < nowdate():
  859. TypeError: can't compare datetime.datetime to str
  860.  
  861. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.498470', u'doctype': u'Lead', u'mobile_no': u'504564229', u'campaign_name': u'Instagram', u'owner': u'Administrator', u'lead_name': u'Naz', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'@naz_abaya\t 25,800', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00075', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.498470', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 25, 11, 36), u'parentfield': None}
  862. desk.min.js:151 Traceback (most recent call last):
  863. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  864. doc.insert()
  865. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  866. self.run_before_save_methods()
  867. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  868. self.run_method("validate")
  869. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  870. out = Document.hook(fn)(self, *args, **kwargs)
  871. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  872. return composed(self, method, *args, **kwargs)
  873. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  874. add_to_return_value(self, fn(self, *args, **kwargs))
  875. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  876. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  877. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  878. if self.contact_date and self.contact_date < nowdate():
  879. TypeError: can't compare datetime.datetime to str
  880.  
  881. desk.min.js:151 {u'website': u'http://www.bushandnoble.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.566833', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Ms. Robyn', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Bush and Noble', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00093', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.566833', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 27, 10, 30), u'parentfield': None}
  882. desk.min.js:151 Traceback (most recent call last):
  883. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  884. doc.insert()
  885. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  886. self.run_before_save_methods()
  887. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  888. self.run_method("validate")
  889. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  890. out = Document.hook(fn)(self, *args, **kwargs)
  891. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  892. return composed(self, method, *args, **kwargs)
  893. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  894. add_to_return_value(self, fn(self, *args, **kwargs))
  895. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  896. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  897. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  898. if self.contact_date and self.contact_date < nowdate():
  899. TypeError: can't compare datetime.datetime to str
  900.  
  901. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.568969', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Ms. Li', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Tri Homes Real Estate Brokers', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'-4951850', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00066', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.568969', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 11, 4), u'parentfield': None}
  902. desk.min.js:151 Traceback (most recent call last):
  903. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  904. doc.insert()
  905. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  906. self.run_before_save_methods()
  907. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  908. self.run_method("validate")
  909. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  910. out = Document.hook(fn)(self, *args, **kwargs)
  911. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  912. return composed(self, method, *args, **kwargs)
  913. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  914. add_to_return_value(self, fn(self, *args, **kwargs))
  915. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  916. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  917. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  918. if self.contact_date and self.contact_date < nowdate():
  919. TypeError: can't compare datetime.datetime to str
  920.  
  921. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.571120', u'doctype': u'Lead', u'mobile_no': u'052 993 7657 Eva 0561115658', u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unkwnown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Prima Style Beauty Salon', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-4454332', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00039', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.571120', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 9, 27), u'parentfield': None}
  922. desk.min.js:151 Traceback (most recent call last):
  923. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  924. doc.insert()
  925. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  926. self.run_before_save_methods()
  927. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  928. self.run_method("validate")
  929. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  930. out = Document.hook(fn)(self, *args, **kwargs)
  931. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  932. return composed(self, method, *args, **kwargs)
  933. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  934. add_to_return_value(self, fn(self, *args, **kwargs))
  935. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  936. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  937. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  938. if self.contact_date and self.contact_date < nowdate():
  939. TypeError: can't compare datetime.datetime to str
  940.  
  941. desk.min.js:151 {u'website': u'http://www.colossusre.ae/ NOT WORKING', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.573176', u'doctype': u'Lead', u'mobile_no': u'529622444', u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Mr. Adil', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Colossus Real Estate', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'-6797024', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00069', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.573176', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 10, 4), u'parentfield': None}
  942. desk.min.js:151 Traceback (most recent call last):
  943. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  944. doc.insert()
  945. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  946. self.run_before_save_methods()
  947. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  948. self.run_method("validate")
  949. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  950. out = Document.hook(fn)(self, *args, **kwargs)
  951. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  952. return composed(self, method, *args, **kwargs)
  953. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  954. add_to_return_value(self, fn(self, *args, **kwargs))
  955. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  956. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  957. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  958. if self.contact_date and self.contact_date < nowdate():
  959. TypeError: can't compare datetime.datetime to str
  960.  
  961. desk.min.js:151 {u'website': u'http://ladanzaladybeautycenter.weebly.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.575373', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Ladanza lady beauty center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6724003', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00035', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.575373', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 16, 0), u'parentfield': None}
  962. desk.min.js:151 Traceback (most recent call last):
  963. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  964. doc.insert()
  965. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  966. self.run_before_save_methods()
  967. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  968. self.run_method("validate")
  969. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  970. out = Document.hook(fn)(self, *args, **kwargs)
  971. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  972. return composed(self, method, *args, **kwargs)
  973. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  974. add_to_return_value(self, fn(self, *args, **kwargs))
  975. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  976. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  977. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  978. if self.contact_date and self.contact_date < nowdate():
  979. TypeError: can't compare datetime.datetime to str
  980.  
  981. desk.min.js:151 {u'website': u'http://theapplellc.com/ UNFINISHED', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.577584', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'unkown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Apple Property Management', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 559 1781', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00064', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.577584', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 20, 14, 4), u'parentfield': None}
  982. desk.min.js:151 Traceback (most recent call last):
  983. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  984. doc.insert()
  985. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  986. self.run_before_save_methods()
  987. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  988. self.run_method("validate")
  989. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  990. out = Document.hook(fn)(self, *args, **kwargs)
  991. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  992. return composed(self, method, *args, **kwargs)
  993. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  994. add_to_return_value(self, fn(self, *args, **kwargs))
  995. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  996. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  997. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  998. if self.contact_date and self.contact_date < nowdate():
  999. TypeError: can't compare datetime.datetime to str
  1000.  
  1001. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.584423', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'Vienila', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Vanilla beauty ladies saloon', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26664332', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00038', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.584423', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 20, 20, 2), u'parentfield': None}
  1002. desk.min.js:151 Traceback (most recent call last):
  1003. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1004. doc.insert()
  1005. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1006. self.run_before_save_methods()
  1007. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1008. self.run_method("validate")
  1009. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1010. out = Document.hook(fn)(self, *args, **kwargs)
  1011. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1012. return composed(self, method, *args, **kwargs)
  1013. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1014. add_to_return_value(self, fn(self, *args, **kwargs))
  1015. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1016. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1017. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1018. if self.contact_date and self.contact_date < nowdate():
  1019. TypeError: can't compare datetime.datetime to str
  1020.  
  1021. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': u'arabellaspa.ad@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.601541', u'doctype': u'Lead', u'mobile_no': u'508776805', u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Arabella Class Spa', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'24910095', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00041', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.601541', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 9, 27), u'parentfield': None}
  1022. desk.min.js:151 Traceback (most recent call last):
  1023. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1024. doc.insert()
  1025. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1026. self.run_before_save_methods()
  1027. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1028. self.run_method("validate")
  1029. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1030. out = Document.hook(fn)(self, *args, **kwargs)
  1031. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1032. return composed(self, method, *args, **kwargs)
  1033. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1034. add_to_return_value(self, fn(self, *args, **kwargs))
  1035. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1036. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1037. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1038. if self.contact_date and self.contact_date < nowdate():
  1039. TypeError: can't compare datetime.datetime to str
  1040.  
  1041. desk.min.js:151 {u'website': u'http://moodbeautycenter.weebly.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.603983', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unkown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Mood Beauty Centre', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 449 8874', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00034', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.603983', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 10, 0), u'parentfield': None}
  1042. desk.min.js:151 Traceback (most recent call last):
  1043. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1044. doc.insert()
  1045. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1046. self.run_before_save_methods()
  1047. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1048. self.run_method("validate")
  1049. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1050. out = Document.hook(fn)(self, *args, **kwargs)
  1051. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1052. return composed(self, method, *args, **kwargs)
  1053. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1054. add_to_return_value(self, fn(self, *args, **kwargs))
  1055. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1056. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1057. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1058. if self.contact_date and self.contact_date < nowdate():
  1059. TypeError: can't compare datetime.datetime to str
  1060.  
  1061. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.606050', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': None, u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Guzellik Beauty Salon & Hena.', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 666 4332', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00036', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.606050', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 9, 15), u'parentfield': None}
  1062. desk.min.js:151 Traceback (most recent call last):
  1063. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1064. doc.insert()
  1065. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1066. self.run_before_save_methods()
  1067. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1068. self.run_method("validate")
  1069. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1070. out = Document.hook(fn)(self, *args, **kwargs)
  1071. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1072. return composed(self, method, *args, **kwargs)
  1073. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1074. add_to_return_value(self, fn(self, *args, **kwargs))
  1075. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1076. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1077. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1078. if self.contact_date and self.contact_date < nowdate():
  1079. TypeError: can't compare datetime.datetime to str
  1080.  
  1081. desk.min.js:151 {u'website': u'http://berriesbeautycenter.weebly.com/', u'__islocal': True, u'email_id': u'berries.beauty.center@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.608117', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'MM', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Berries Beauty Center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 639 31 42', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00032', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.608117', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 10, 0), u'parentfield': None}
  1082. desk.min.js:151 Traceback (most recent call last):
  1083. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1084. doc.insert()
  1085. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1086. self.run_before_save_methods()
  1087. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1088. self.run_method("validate")
  1089. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1090. out = Document.hook(fn)(self, *args, **kwargs)
  1091. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1092. return composed(self, method, *args, **kwargs)
  1093. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1094. add_to_return_value(self, fn(self, *args, **kwargs))
  1095. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1096. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1097. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1098. if self.contact_date and self.contact_date < nowdate():
  1099. TypeError: can't compare datetime.datetime to str
  1100.  
  1101. desk.min.js:151 {u'website': u'http://www.masakenalwaha.com/AR/', u'__islocal': True, u'email_id': u'engahmedakl3@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.610583', u'doctype': u'Lead', u'mobile_no': u'9.72E+11', u'campaign_name': u'Storat', u'owner': u'Administrator', u'lead_name': u'Ahmed', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u"Ahmed's store - Masaken Al Waha Real Estate", u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00052', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.610583', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 22, 9, 7), u'parentfield': None}
  1102. desk.min.js:151 Traceback (most recent call last):
  1103. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1104. doc.insert()
  1105. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1106. self.run_before_save_methods()
  1107. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1108. self.run_method("validate")
  1109. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1110. out = Document.hook(fn)(self, *args, **kwargs)
  1111. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1112. return composed(self, method, *args, **kwargs)
  1113. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1114. add_to_return_value(self, fn(self, *args, **kwargs))
  1115. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1116. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1117. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1118. if self.contact_date and self.contact_date < nowdate():
  1119. TypeError: can't compare datetime.datetime to str
  1120.  
  1121. desk.min.js:151 {u'website': u'not working', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.617766', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Mohammed', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'State Life Insurance of Pakistan', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Opportunity', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'42729061', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00071', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.617766', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 10, 4), u'parentfield': None}
  1122. desk.min.js:151 Traceback (most recent call last):
  1123. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1124. doc.insert()
  1125. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1126. self.run_before_save_methods()
  1127. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1128. self.run_method("validate")
  1129. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1130. out = Document.hook(fn)(self, *args, **kwargs)
  1131. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1132. return composed(self, method, *args, **kwargs)
  1133. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1134. add_to_return_value(self, fn(self, *args, **kwargs))
  1135. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1136. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1137. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1138. if self.contact_date and self.contact_date < nowdate():
  1139. TypeError: can't compare datetime.datetime to str
  1140.  
  1141. desk.min.js:151 {u'website': u'http://www.lacasa-re.com/', u'__islocal': True, u'email_id': u'info@lacasa-re.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.644677', u'doctype': u'Lead', u'mobile_no': u'+971 (50) 693 6362', u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Ms. Hajjar', u'modified_by': u'Administrator', u'source': u'Existing Customer', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'La Casa Real Estate', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 (2) 671 9577', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00062', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.644677', u'parenttype': None, u'contact_date': datetime.datetime(2017, 1, 3, 10, 4), u'parentfield': None}
  1142. desk.min.js:151 Traceback (most recent call last):
  1143. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1144. doc.insert()
  1145. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1146. self.run_before_save_methods()
  1147. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1148. self.run_method("validate")
  1149. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1150. out = Document.hook(fn)(self, *args, **kwargs)
  1151. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1152. return composed(self, method, *args, **kwargs)
  1153. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1154. add_to_return_value(self, fn(self, *args, **kwargs))
  1155. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1156. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1157. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1158. if self.contact_date and self.contact_date < nowdate():
  1159. TypeError: can't compare datetime.datetime to str
  1160.  
  1161. desk.min.js:151 {u'website': u'http://viennare.com/', u'__islocal': True, u'email_id': u'info@viennare.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.647141', u'doctype': u'Lead', u'mobile_no': u'501207117', u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Abdulrashid', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Vienna Real Estate', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 5596070', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00061', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.647141', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 20, 13, 43), u'parentfield': None}
  1162. desk.min.js:151 Traceback (most recent call last):
  1163. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1164. doc.insert()
  1165. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1166. self.run_before_save_methods()
  1167. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1168. self.run_method("validate")
  1169. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1170. out = Document.hook(fn)(self, *args, **kwargs)
  1171. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1172. return composed(self, method, *args, **kwargs)
  1173. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1174. add_to_return_value(self, fn(self, *args, **kwargs))
  1175. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1176. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1177. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1178. if self.contact_date and self.contact_date < nowdate():
  1179. TypeError: can't compare datetime.datetime to str
  1180.  
  1181. desk.min.js:151 {u'website': u'http://citylights.ae/', u'__islocal': True, u'email_id': u'info@citylights.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.649519', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Mr. Anal', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'City Lights', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02 6671 544', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00060', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.649519', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 20, 13, 43), u'parentfield': None}
  1182. desk.min.js:151 Traceback (most recent call last):
  1183. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1184. doc.insert()
  1185. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1186. self.run_before_save_methods()
  1187. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1188. self.run_method("validate")
  1189. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1190. out = Document.hook(fn)(self, *args, **kwargs)
  1191. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1192. return composed(self, method, *args, **kwargs)
  1193. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1194. add_to_return_value(self, fn(self, *args, **kwargs))
  1195. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1196. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1197. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1198. if self.contact_date and self.contact_date < nowdate():
  1199. TypeError: can't compare datetime.datetime to str
  1200.  
  1201. desk.min.js:151 {u'website': u'http://www.zainme.net/', u'__islocal': True, u'email_id': u'kaze@zainme.net', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.651909', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Kaze', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Zain Middle East Properties', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 6412151', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00059', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.651909', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 20, 13, 43), u'parentfield': None}
  1202. desk.min.js:151 Traceback (most recent call last):
  1203. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1204. doc.insert()
  1205. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1206. self.run_before_save_methods()
  1207. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1208. self.run_method("validate")
  1209. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1210. out = Document.hook(fn)(self, *args, **kwargs)
  1211. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1212. return composed(self, method, *args, **kwargs)
  1213. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1214. add_to_return_value(self, fn(self, *args, **kwargs))
  1215. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1216. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1217. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1218. if self.contact_date and self.contact_date < nowdate():
  1219. TypeError: can't compare datetime.datetime to str
  1220.  
  1221. desk.min.js:151 {u'website': u'http://www.aswaqms.net/', u'__islocal': True, u'email_id': u'ldeguzman@abudhabi-mall.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.654324', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Bayut', u'owner': u'Administrator', u'lead_name': u'Lorenz', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Awaq Management and Services - Abu Dhabi Mall', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26457733', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00058', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.654324', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 20, 9, 10), u'parentfield': None}
  1222. desk.min.js:151 Traceback (most recent call last):
  1223. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1224. doc.insert()
  1225. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1226. self.run_before_save_methods()
  1227. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1228. self.run_method("validate")
  1229. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1230. out = Document.hook(fn)(self, *args, **kwargs)
  1231. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1232. return composed(self, method, *args, **kwargs)
  1233. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1234. add_to_return_value(self, fn(self, *args, **kwargs))
  1235. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1236. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1237. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1238. if self.contact_date and self.contact_date < nowdate():
  1239. TypeError: can't compare datetime.datetime to str
  1240.  
  1241. desk.min.js:151 {u'website': u'bhomeuae.com', u'status': u'Lead', u'fax': None, u'email_id': u'morad@bhuae.com', u'naming_series': u'LEAD-', u'company': u'Oryx Cloud Information Technology', u'market_segment': u'Lower Income', u'lead_owner': u'mustapha@oryxcloud.com', u'phone': None, u'request_type': u'Other', u'mobile_no': u'+971 557572948', u'campaign_name': None, u'lead_name': u'Morad', u'customer': None, u'blog_subscriber': 0, u'contact_date': datetime.datetime(2017, 1, 15, 9, 7), u'name': u'LEAD-00001', u'industry': u'Food, Beverage & Tobacco', u'doctype': u'Lead', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Burgerhood Resturant', u'territory': u'United Arab Emirates', u'type': u'Client', u'unsubscribed': 0}
  1242. desk.min.js:151 Traceback (most recent call last):
  1243. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 253, in upload
  1244. original.save()
  1245. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 223, in save
  1246. return self._save(*args, **kwargs)
  1247. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 252, in _save
  1248. self.run_before_save_methods()
  1249. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1250. self.run_method("validate")
  1251. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1252. out = Document.hook(fn)(self, *args, **kwargs)
  1253. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1254. return composed(self, method, *args, **kwargs)
  1255. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1256. add_to_return_value(self, fn(self, *args, **kwargs))
  1257. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1258. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1259. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1260. if self.contact_date and self.contact_date < nowdate():
  1261. TypeError: can't compare datetime.datetime to str
  1262.  
  1263. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.666620', u'doctype': u'Lead', u'mobile_no': u'050 419 6158', u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'Norma', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Sandra Ladies Salon', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26334433', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00043', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.666620', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 19, 20, 27), u'parentfield': None}
  1264. desk.min.js:151 Traceback (most recent call last):
  1265. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1266. doc.insert()
  1267. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1268. self.run_before_save_methods()
  1269. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1270. self.run_method("validate")
  1271. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1272. out = Document.hook(fn)(self, *args, **kwargs)
  1273. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1274. return composed(self, method, *args, **kwargs)
  1275. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1276. add_to_return_value(self, fn(self, *args, **kwargs))
  1277. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1278. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1279. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1280. if self.contact_date and self.contact_date < nowdate():
  1281. TypeError: can't compare datetime.datetime to str
  1282.  
  1283. desk.min.js:151 {u'website': u'under construction', u'__islocal': True, u'email_id': u'info@nailaholics.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.668874', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Nailaholics', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6667884', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00040', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.668874', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 21, 9, 27), u'parentfield': None}
  1284. desk.min.js:151 Traceback (most recent call last):
  1285. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1286. doc.insert()
  1287. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1288. self.run_before_save_methods()
  1289. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1290. self.run_method("validate")
  1291. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1292. out = Document.hook(fn)(self, *args, **kwargs)
  1293. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1294. return composed(self, method, *args, **kwargs)
  1295. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1296. add_to_return_value(self, fn(self, *args, **kwargs))
  1297. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1298. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1299. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1300. if self.contact_date and self.contact_date < nowdate():
  1301. TypeError: can't compare datetime.datetime to str
  1302.  
  1303. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.671373', u'doctype': u'Lead', u'mobile_no': u'9.72E+11', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Ms. Hanaji', u'modified_by': u'Administrator', u'source': None, u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Bravoo Ladies Beauty Salon', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00037', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.671373', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 19, 18, 40), u'parentfield': None}
  1304. desk.min.js:151 Traceback (most recent call last):
  1305. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1306. doc.insert()
  1307. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1308. self.run_before_save_methods()
  1309. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1310. self.run_method("validate")
  1311. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1312. out = Document.hook(fn)(self, *args, **kwargs)
  1313. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1314. return composed(self, method, *args, **kwargs)
  1315. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1316. add_to_return_value(self, fn(self, *args, **kwargs))
  1317. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1318. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1319. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1320. if self.contact_date and self.contact_date < nowdate():
  1321. TypeError: can't compare datetime.datetime to str
  1322.  
  1323. desk.min.js:151 {u'website': u'http://www.georgebeautysalon.com/ NOT WORKING', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.673495', u'doctype': u'Lead', u'mobile_no': u'504448154', u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'Najeeb', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'George Beauty Salon', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'26794000', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00031', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.673495', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 19, 13, 56), u'parentfield': None}
  1324. desk.min.js:151 Traceback (most recent call last):
  1325. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1326. doc.insert()
  1327. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1328. self.run_before_save_methods()
  1329. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1330. self.run_method("validate")
  1331. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1332. out = Document.hook(fn)(self, *args, **kwargs)
  1333. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1334. return composed(self, method, *args, **kwargs)
  1335. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1336. add_to_return_value(self, fn(self, *args, **kwargs))
  1337. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1338. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1339. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1340. if self.contact_date and self.contact_date < nowdate():
  1341. TypeError: can't compare datetime.datetime to str
  1342.  
  1343. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.675627', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Gravity Beauty Center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6452060', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00030', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.675627', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 19, 14, 0), u'parentfield': None}
  1344. desk.min.js:151 Traceback (most recent call last):
  1345. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1346. doc.insert()
  1347. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1348. self.run_before_save_methods()
  1349. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1350. self.run_method("validate")
  1351. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1352. out = Document.hook(fn)(self, *args, **kwargs)
  1353. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1354. return composed(self, method, *args, **kwargs)
  1355. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1356. add_to_return_value(self, fn(self, *args, **kwargs))
  1357. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1358. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1359. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1360. if self.contact_date and self.contact_date < nowdate():
  1361. TypeError: can't compare datetime.datetime to str
  1362.  
  1363. desk.min.js:151 {u'website': u'http://www.drnutrition.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.677724', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'Mr Islam', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Dr Nutrition', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'42040703', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00022', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.677724', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 22, 10, 0), u'parentfield': None}
  1364. desk.min.js:151 Traceback (most recent call last):
  1365. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1366. doc.insert()
  1367. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1368. self.run_before_save_methods()
  1369. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1370. self.run_method("validate")
  1371. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1372. out = Document.hook(fn)(self, *args, **kwargs)
  1373. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1374. return composed(self, method, *args, **kwargs)
  1375. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1376. add_to_return_value(self, fn(self, *args, **kwargs))
  1377. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1378. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1379. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1380. if self.contact_date and self.contact_date < nowdate():
  1381. TypeError: can't compare datetime.datetime to str
  1382.  
  1383. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.679841', u'doctype': u'Lead', u'mobile_no': u'9.71E+12', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'La Fleur Blanche', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'La Fleur Blanche', u'docstatus': 0, u'territory': u'United Arab Emirates', u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'8145', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00004', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.679841', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 19, 16, 2), u'parentfield': None}
  1384. desk.min.js:151 Traceback (most recent call last):
  1385. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1386. doc.insert()
  1387. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1388. self.run_before_save_methods()
  1389. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1390. self.run_method("validate")
  1391. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1392. out = Document.hook(fn)(self, *args, **kwargs)
  1393. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1394. return composed(self, method, *args, **kwargs)
  1395. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1396. add_to_return_value(self, fn(self, *args, **kwargs))
  1397. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1398. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1399. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1400. if self.contact_date and self.contact_date < nowdate():
  1401. TypeError: can't compare datetime.datetime to str
  1402.  
  1403. desk.min.js:151 {u'website': u'http://www.aqmc.ae/', u'__islocal': True, u'email_id': u'aqmd@eim.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.686867', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'Ms Aira', u'modified_by': u'Administrator', u'source': None, u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Qadi Medical Center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 443 7777', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00018', u'idx': 0, u'industry': u'Healthcare', u'modified': '2017-01-23 15:08:11.686867', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 19, 17, 0), u'parentfield': None}
  1404. desk.min.js:151 Traceback (most recent call last):
  1405. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1406. doc.insert()
  1407. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1408. self.run_before_save_methods()
  1409. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1410. self.run_method("validate")
  1411. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1412. out = Document.hook(fn)(self, *args, **kwargs)
  1413. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1414. return composed(self, method, *args, **kwargs)
  1415. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1416. add_to_return_value(self, fn(self, *args, **kwargs))
  1417. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1418. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1419. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1420. if self.contact_date and self.contact_date < nowdate():
  1421. TypeError: can't compare datetime.datetime to str
  1422.  
  1423. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.689266', u'doctype': u'Lead', u'mobile_no': u'050-8376172', u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Elite Sports', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6359896', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00024', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.689266', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 22, 10, 0), u'parentfield': None}
  1424. desk.min.js:151 Traceback (most recent call last):
  1425. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1426. doc.insert()
  1427. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1428. self.run_before_save_methods()
  1429. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1430. self.run_method("validate")
  1431. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1432. out = Document.hook(fn)(self, *args, **kwargs)
  1433. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1434. return composed(self, method, *args, **kwargs)
  1435. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1436. add_to_return_value(self, fn(self, *args, **kwargs))
  1437. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1438. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1439. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1440. if self.contact_date and self.contact_date < nowdate():
  1441. TypeError: can't compare datetime.datetime to str
  1442.  
  1443. desk.min.js:151 {u'website': u'http://www.alghazalgolf.ae/', u'__islocal': True, u'email_id': u'rory@madisons.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.691370', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'Mr. Rory', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Ghazal Golf Club', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 505 3314', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00026', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.691370', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 22, 11, 0), u'parentfield': None}
  1444. desk.min.js:151 Traceback (most recent call last):
  1445. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1446. doc.insert()
  1447. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1448. self.run_before_save_methods()
  1449. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1450. self.run_method("validate")
  1451. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1452. out = Document.hook(fn)(self, *args, **kwargs)
  1453. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1454. return composed(self, method, *args, **kwargs)
  1455. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1456. add_to_return_value(self, fn(self, *args, **kwargs))
  1457. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1458. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1459. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1460. if self.contact_date and self.contact_date < nowdate():
  1461. TypeError: can't compare datetime.datetime to str
  1462.  
  1463. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': u'rita@ugp.ae', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.693736', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Rita Chatat', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'United Gulf Properties', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Opportunity', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00028', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.693736', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 22, 10, 0), u'parentfield': None}
  1464. desk.min.js:151 Traceback (most recent call last):
  1465. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1466. doc.insert()
  1467. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1468. self.run_before_save_methods()
  1469. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1470. self.run_method("validate")
  1471. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1472. out = Document.hook(fn)(self, *args, **kwargs)
  1473. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1474. return composed(self, method, *args, **kwargs)
  1475. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1476. add_to_return_value(self, fn(self, *args, **kwargs))
  1477. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1478. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1479. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1480. if self.contact_date and self.contact_date < nowdate():
  1481. TypeError: can't compare datetime.datetime to str
  1482.  
  1483. desk.min.js:151 {u'website': u'http://eisport.ae/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.696127', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'JZ', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'El Sport', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'052-4652206', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00027', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.696127', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 16, 11, 0), u'parentfield': None}
  1484. desk.min.js:151 Traceback (most recent call last):
  1485. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1486. doc.insert()
  1487. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1488. self.run_before_save_methods()
  1489. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1490. self.run_method("validate")
  1491. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1492. out = Document.hook(fn)(self, *args, **kwargs)
  1493. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1494. return composed(self, method, *args, **kwargs)
  1495. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1496. add_to_return_value(self, fn(self, *args, **kwargs))
  1497. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1498. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1499. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1500. if self.contact_date and self.contact_date < nowdate():
  1501. TypeError: can't compare datetime.datetime to str
  1502.  
  1503. desk.min.js:151 {u'website': u'http://creativecdc.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.698206', u'doctype': u'Lead', u'mobile_no': u'+971 55 6673 559', u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Creative Dental Center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 444 0458', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00025', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.698206', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 18, 10, 0), u'parentfield': None}
  1504. desk.min.js:151 Traceback (most recent call last):
  1505. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1506. doc.insert()
  1507. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1508. self.run_before_save_methods()
  1509. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1510. self.run_method("validate")
  1511. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1512. out = Document.hook(fn)(self, *args, **kwargs)
  1513. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1514. return composed(self, method, *args, **kwargs)
  1515. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1516. add_to_return_value(self, fn(self, *args, **kwargs))
  1517. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1518. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1519. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1520. if self.contact_date and self.contact_date < nowdate():
  1521. TypeError: can't compare datetime.datetime to str
  1522.  
  1523. desk.min.js:151 {u'website': u'http://www.bostondentaluae.com/', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.700311', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Boston Dental Center', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'+971 2 666 7070', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00023', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.700311', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 18, 10, 0), u'parentfield': None}
  1524. desk.min.js:151 Traceback (most recent call last):
  1525. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1526. doc.insert()
  1527. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1528. self.run_before_save_methods()
  1529. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1530. self.run_method("validate")
  1531. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1532. out = Document.hook(fn)(self, *args, **kwargs)
  1533. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1534. return composed(self, method, *args, **kwargs)
  1535. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1536. add_to_return_value(self, fn(self, *args, **kwargs))
  1537. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1538. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1539. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1540. if self.contact_date and self.contact_date < nowdate():
  1541. TypeError: can't compare datetime.datetime to str
  1542.  
  1543. desk.min.js:151 {u'website': u'no website', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.707205', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Perfect View Gym', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6359896', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00020', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.707205', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 15, 20, 0), u'parentfield': None}
  1544. desk.min.js:151 Traceback (most recent call last):
  1545. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1546. doc.insert()
  1547. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1548. self.run_before_save_methods()
  1549. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1550. self.run_method("validate")
  1551. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1552. out = Document.hook(fn)(self, *args, **kwargs)
  1553. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1554. return composed(self, method, *args, **kwargs)
  1555. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1556. add_to_return_value(self, fn(self, *args, **kwargs))
  1557. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1558. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1559. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1560. if self.contact_date and self.contact_date < nowdate():
  1561. TypeError: can't compare datetime.datetime to str
  1562.  
  1563. desk.min.js:151 {u'website': u'not working', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.709297', u'doctype': u'Lead', u'mobile_no': u'9.72E+11', u'campaign_name': u'Groupon', u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Medical Speciality Centre L.L.C', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': None, u'phone': u'+971 2 6336325', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00019', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.709297', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 15, 18, 0), u'parentfield': None}
  1564. desk.min.js:151 Traceback (most recent call last):
  1565. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1566. doc.insert()
  1567. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1568. self.run_before_save_methods()
  1569. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1570. self.run_method("validate")
  1571. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1572. out = Document.hook(fn)(self, *args, **kwargs)
  1573. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1574. return composed(self, method, *args, **kwargs)
  1575. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1576. add_to_return_value(self, fn(self, *args, **kwargs))
  1577. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1578. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1579. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1580. if self.contact_date and self.contact_date < nowdate():
  1581. TypeError: can't compare datetime.datetime to str
  1582.  
  1583. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.711512', u'doctype': u'Lead', u'mobile_no': u'504467091', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Khaled', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Alpha Cargo', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00015', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.711512', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 18, 15, 0), u'parentfield': None}
  1584. desk.min.js:151 Traceback (most recent call last):
  1585. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1586. doc.insert()
  1587. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1588. self.run_before_save_methods()
  1589. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1590. self.run_method("validate")
  1591. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1592. out = Document.hook(fn)(self, *args, **kwargs)
  1593. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1594. return composed(self, method, *args, **kwargs)
  1595. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1596. add_to_return_value(self, fn(self, *args, **kwargs))
  1597. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1598. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1599. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1600. if self.contact_date and self.contact_date < nowdate():
  1601. TypeError: can't compare datetime.datetime to str
  1602.  
  1603. desk.min.js:151 {u'website': u'na', u'__islocal': True, u'email_id': u'sureshbana727@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.713622', u'doctype': u'Lead', u'mobile_no': u'501806353', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Dr. Suresh', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Al Falah Physiotheraphy', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6222708', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00013', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.713622', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 15, 11, 10), u'parentfield': None}
  1604. desk.min.js:151 Traceback (most recent call last):
  1605. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1606. doc.insert()
  1607. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1608. self.run_before_save_methods()
  1609. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1610. self.run_method("validate")
  1611. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1612. out = Document.hook(fn)(self, *args, **kwargs)
  1613. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1614. return composed(self, method, *args, **kwargs)
  1615. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1616. add_to_return_value(self, fn(self, *args, **kwargs))
  1617. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1618. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1619. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1620. if self.contact_date and self.contact_date < nowdate():
  1621. TypeError: can't compare datetime.datetime to str
  1622.  
  1623. desk.min.js:151 {u'website': u'www.educarenursery.com', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.716075', u'doctype': u'Lead', u'mobile_no': u'563380552', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Laudis', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Edu Care Nursery', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6658882', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00014', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.716075', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 15, 13, 0), u'parentfield': None}
  1624. desk.min.js:151 Traceback (most recent call last):
  1625. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1626. doc.insert()
  1627. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1628. self.run_before_save_methods()
  1629. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1630. self.run_method("validate")
  1631. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1632. out = Document.hook(fn)(self, *args, **kwargs)
  1633. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1634. return composed(self, method, *args, **kwargs)
  1635. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1636. add_to_return_value(self, fn(self, *args, **kwargs))
  1637. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1638. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1639. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1640. if self.contact_date and self.contact_date < nowdate():
  1641. TypeError: can't compare datetime.datetime to str
  1642.  
  1643. desk.min.js:151 {u'website': u'www.manal-dental.com', u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.718205', u'doctype': u'Lead', u'mobile_no': u'566698064', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Unknown', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'maria@oryxcloud.com', u'company_name': u'Manal Dental', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6224006', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00007', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.718205', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 13, 14, 0), u'parentfield': None}
  1644. desk.min.js:151 Traceback (most recent call last):
  1645. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1646. doc.insert()
  1647. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1648. self.run_before_save_methods()
  1649. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1650. self.run_method("validate")
  1651. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1652. out = Document.hook(fn)(self, *args, **kwargs)
  1653. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1654. return composed(self, method, *args, **kwargs)
  1655. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1656. add_to_return_value(self, fn(self, *args, **kwargs))
  1657. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1658. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1659. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1660. if self.contact_date and self.contact_date < nowdate():
  1661. TypeError: can't compare datetime.datetime to str
  1662.  
  1663. desk.min.js:151 {u'website': u'na', u'__islocal': True, u'email_id': u'fastlibracargo@gmail.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.720287', u'doctype': u'Lead', u'mobile_no': u'0557300288/0507685404', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Mohamed - Nadir', u'modified_by': u'Administrator', u'source': None, u'contact_by': u'maria@oryxcloud.com', u'company_name': u'FLC - Cargo', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': None, u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00012', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.720287', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 12, 18, 0), u'parentfield': None}
  1664. desk.min.js:151 Traceback (most recent call last):
  1665. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1666. doc.insert()
  1667. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1668. self.run_before_save_methods()
  1669. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1670. self.run_method("validate")
  1671. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1672. out = Document.hook(fn)(self, *args, **kwargs)
  1673. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1674. return composed(self, method, *args, **kwargs)
  1675. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1676. add_to_return_value(self, fn(self, *args, **kwargs))
  1677. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1678. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1679. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1680. if self.contact_date and self.contact_date < nowdate():
  1681. TypeError: can't compare datetime.datetime to str
  1682.  
  1683. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.722753', u'doctype': u'Lead', u'mobile_no': u'502130033', u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'unknown', u'modified_by': u'Administrator', u'source': None, u'contact_by': u'mustapha@oryxcloud.com', u'company_name': u'Al Athar Cargo', u'docstatus': 0, u'territory': None, u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'maria@oryxcloud.com', u'phone': u'02-6716264', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00016', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.722753', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 12, 18, 28), u'parentfield': None}
  1684. desk.min.js:151 Traceback (most recent call last):
  1685. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1686. doc.insert()
  1687. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1688. self.run_before_save_methods()
  1689. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1690. self.run_method("validate")
  1691. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1692. out = Document.hook(fn)(self, *args, **kwargs)
  1693. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1694. return composed(self, method, *args, **kwargs)
  1695. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1696. add_to_return_value(self, fn(self, *args, **kwargs))
  1697. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1698. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1699. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1700. if self.contact_date and self.contact_date < nowdate():
  1701. TypeError: can't compare datetime.datetime to str
  1702.  
  1703. desk.min.js:151 {u'website': u'http://hoorani.com/', u'__islocal': True, u'email_id': u'info@hoorani.com', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.730500', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Hat Group', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'mustapha@oryxcloud.com', u'company_name': u'AL Hoorani Automatic Gear LLC (HAT Group)', u'docstatus': 0, u'territory': None, u'type': u'Client', u'unsubscribed': 0, u'status': u'Replied', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': u'Middle Income', u'lead_owner': u'mustapha@oryxcloud.com', u'phone': u'+971 6 5434990', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00009', u'idx': 0, u'industry': u'Service', u'modified': '2017-01-23 15:08:11.730500', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 12, 17, 0), u'parentfield': None}
  1704. desk.min.js:151 Traceback (most recent call last):
  1705. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1706. doc.insert()
  1707. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1708. self.run_before_save_methods()
  1709. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1710. self.run_method("validate")
  1711. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1712. out = Document.hook(fn)(self, *args, **kwargs)
  1713. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1714. return composed(self, method, *args, **kwargs)
  1715. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1716. add_to_return_value(self, fn(self, *args, **kwargs))
  1717. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1718. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1719. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1720. if self.contact_date and self.contact_date < nowdate():
  1721. TypeError: can't compare datetime.datetime to str
  1722.  
  1723. desk.min.js:151 {u'website': u'http://www.magrabiuae.com', u'__islocal': True, u'email_id': u'abudhabi@magrabi.com.sa', u'naming_series': u'LEAD-', u'image': u'', u'creation': '2017-01-23 15:08:11.745891', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Magrabi', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'mustapha@oryxcloud.com', u'company_name': u'Magrabi', u'docstatus': 0, u'territory': u'United Arab Emirates', u'type': None, u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'mustapha@oryxcloud.com', u'phone': u'02-6345000', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00003', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.745891', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 13, 9, 0), u'parentfield': None}
  1724. desk.min.js:151 Traceback (most recent call last):
  1725. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1726. doc.insert()
  1727. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1728. self.run_before_save_methods()
  1729. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1730. self.run_method("validate")
  1731. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1732. out = Document.hook(fn)(self, *args, **kwargs)
  1733. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1734. return composed(self, method, *args, **kwargs)
  1735. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1736. add_to_return_value(self, fn(self, *args, **kwargs))
  1737. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1738. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1739. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1740. if self.contact_date and self.contact_date < nowdate():
  1741. TypeError: can't compare datetime.datetime to str
  1742.  
  1743. desk.min.js:151 {u'website': None, u'__islocal': True, u'email_id': None, u'naming_series': u'LEAD-', u'image': None, u'creation': '2017-01-23 15:08:11.748386', u'doctype': u'Lead', u'mobile_no': None, u'campaign_name': None, u'owner': u'Administrator', u'lead_name': u'Anji', u'modified_by': u'Administrator', u'source': u'Cold Calling', u'contact_by': u'mustapha@oryxcloud.com', u'company_name': u'Wear Mart', u'docstatus': 0, u'territory': u'United Arab Emirates', u'type': u'Client', u'unsubscribed': 0, u'status': u'Lead', u'fax': None, u'parent': None, u'company': u'Oryx Cloud Information Technology', u'market_segment': None, u'lead_owner': u'mustapha@oryxcloud.com', u'phone': u'97142980053', u'request_type': None, u'customer': None, u'blog_subscriber': 0, u'name': u'LEAD-00002', u'idx': 0, u'industry': None, u'modified': '2017-01-23 15:08:11.748386', u'parenttype': None, u'contact_date': datetime.datetime(2016, 12, 12, 17, 0), u'parentfield': None}
  1744. desk.min.js:151 Traceback (most recent call last):
  1745. File "/home/frappe/frappe-bench/apps/frappe/frappe/core/page/data_import_tool/importer.py", line 260, in upload
  1746. doc.insert()
  1747. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 189, in insert
  1748. self.run_before_save_methods()
  1749. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 750, in run_before_save_methods
  1750. self.run_method("validate")
  1751. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 651, in run_method
  1752. out = Document.hook(fn)(self, *args, **kwargs)
  1753. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 858, in composer
  1754. return composed(self, method, *args, **kwargs)
  1755. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 841, in runner
  1756. add_to_return_value(self, fn(self, *args, **kwargs))
  1757. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 645, in <lambda>
  1758. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  1759. File "/home/frappe/frappe-bench/apps/erpnext/erpnext/crm/doctype/lead/lead.py", line 48, in validate
  1760. if self.contact_date and self.contact_date < nowdate():
  1761. TypeError: can't compare datetime.datetime to str
RAW Paste Data Copied