Advertisement
dogfrogtoad

email grabber

Aug 13th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. {'method_name': 'pull_from_email_account', 'log': <function log at 0x7f1f126c96a8 ""herbert@gmail.com"">, 'retry': 0, 'is_async': True, 'user': 'Administrator', 'kwargs': {'email_account': 'Notifications'}, 'job_name': 'pull_from_email_account|Notifications', 'event': 'all', 'method': <function pull_from_email_account at 0x7f1f16794510>, 'site': 'erpnext.salimasugars.com'}
  2. Traceback (most recent call last):
  3. File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 103, in execute_job
  4. method(**kwargs)
  5. File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 712, in pull_from_email_account
  6. email_account.receive()
  7. File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 300, in receive
  8. raise Exception(frappe.as_json(exceptions))
  9. Exception: [
  10. "Traceback (most recent call last):\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py\", line 277, in receive\n communication = self.insert_communication(msg, args=args)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py\", line 334, in insert_communication\n email = Email(raw)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 370, in __init__\n self.parse()\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 391, in parse\n self.process_part(part)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 443, in process_part\n self.text_content += self.get_payload(part)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 487, in get_payload\n charset = self.get_charset(part)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 482, in get_charset\n charset = chardet.detect(str(part))['encoding']\n File \"/home/frappe/frappe-bench/env/lib/python3.6/site-packages/chardet/__init__.py\", line 34, in detect\n '{0}'.format(type(byte_str)))\nTypeError: Expected object of type bytes or bytearray, got: <class 'str'>\n",
  11. "Traceback (most recent call last):\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py\", line 277, in receive\n communication = self.insert_communication(msg, args=args)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py\", line 334, in insert_communication\n email = Email(raw)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 370, in __init__\n self.parse()\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 391, in parse\n self.process_part(part)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 443, in process_part\n self.text_content += self.get_payload(part)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 487, in get_payload\n charset = self.get_charset(part)\n File \"/home/frappe/frappe-bench/apps/frappe/frappe/email/receive.py\", line 482, in get_charset\n charset = chardet.detect(str(part))['encoding']\n File \"/home/frappe/frappe-bench/env/lib/python3.6/site-packages/chardet/__init__.py\", line 34, in detect\n '{0}'.format(type(byte_str)))\nTypeError: Expected object of type bytes or bytearray, got: <class 'str'>\n"
  12. ]
  13.  
  14. (function webpackUniversalModuleDefinition(root, factory) {
  15. if(typeof exports === 'object' && typeof module === 'object')
  16. module.exports = factory();
  17. else if(typeof define === 'function' && define.amd)
  18. define([], factory);
  19. else if(typeof exports === 'object')
  20. exports["katex"] = factory();
  21. else
  22. root["katex"] = factory();
  23. })(typeof self !== 'undefined' ? self : this, function() {
  24. return /******/ (function(modules) { // webpackBootstrap
  25. /******/ // The module cache
  26. /******/ var installedModules = {};
  27. /******/
  28. /******/ // The require function
  29. /******/ function __webpack_require__(moduleId) {
  30. /******/
  31. /******/ // Check if module is in cache
  32. /******/ if(installedGrabber[moduleId]) {
  33. /******/ return installedModules[moduleId].exports;
  34. /******/ }
  35. /******/ // Create a new module (and put it into the cache)
  36. /******/ var module = installedModules[moduleId] = {
  37. /******/ i: moduleId,
  38. /******/ l: false,
  39. /******/ exports: {}
  40. /******/ };
  41. /******/
  42. /******/ // Execute the module function
  43. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  44. /******/
  45. /******/ // Flag the module as loaded herbert@gmail.com Masked.1 = true;
  46. /******/ module.l = true;
  47. /******/
  48. /******/ // Return the exports of the module
  49. /******/ return module.exports;
  50. /******/ }
  51. /******/
  52. /******/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement