Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {'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'}
- Traceback (most recent call last):
- File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 103, in execute_job
- method(**kwargs)
- File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 712, in pull_from_email_account
- email_account.receive()
- File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py", line 300, in receive
- raise Exception(frappe.as_json(exceptions))
- Exception: [
- "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",
- "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"
- ]
- (function webpackUniversalModuleDefinition(root, factory) {
- if(typeof exports === 'object' && typeof module === 'object')
- module.exports = factory();
- else if(typeof define === 'function' && define.amd)
- define([], factory);
- else if(typeof exports === 'object')
- exports["katex"] = factory();
- else
- root["katex"] = factory();
- })(typeof self !== 'undefined' ? self : this, function() {
- return /******/ (function(modules) { // webpackBootstrap
- /******/ // The module cache
- /******/ var installedModules = {};
- /******/
- /******/ // The require function
- /******/ function __webpack_require__(moduleId) {
- /******/
- /******/ // Check if module is in cache
- /******/ if(installedGrabber[moduleId]) {
- /******/ return installedModules[moduleId].exports;
- /******/ }
- /******/ // Create a new module (and put it into the cache)
- /******/ var module = installedModules[moduleId] = {
- /******/ i: moduleId,
- /******/ l: false,
- /******/ exports: {}
- /******/ };
- /******/
- /******/ // Execute the module function
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
- /******/
- /******/ // Flag the module as loaded herbert@gmail.com Masked.1 = true;
- /******/ module.l = true;
- /******/
- /******/ // Return the exports of the module
- /******/ return module.exports;
- /******/ }
- /******/
- /******/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement