Comments (4)
from lms.
@nomi-gee can you please check if there is any error in the console and share that as well.
from lms.
@nomi-gee can you please check if there is any error in the console and share that as well.
{ "exception": "AttributeError: 'str' object has no attribute 'get'", "exc_type": "AttributeError", "_exc_source": "lms (app)", "exc": "[\"Traceback (most recent call last):\\n File \\\"apps/frappe/frappe/app.py\\\", line 110, in application\\n response = frappe.api.handle(request)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/api/__init__.py\\\", line 49, in handle\\n data = endpoint(**arguments)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/api/v1.py\\\", line 36, in handle_rpc_call\\n return frappe.handler.handle()\\n ^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/handler.py\\\", line 49, in handle\\n data = execute_cmd(cmd)\\n ^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/handler.py\\\", line 85, in execute_cmd\\n return frappe.call(method, **frappe.form_dict)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/__init__.py\\\", line 1803, in call\\n return fn(*args, **newargs)\\n ^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/utils/typing_validations.py\\\", line 31, in wrapper\\n return func(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/client.py\\\", line 201, in insert\\n return insert_doc(doc).as_dict()\\n ^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/client.py\\\", line 484, in insert_doc\\n return frappe.get_doc(doc).insert()\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/model/document.py\\\", line 311, in insert\\n self.run_method(\\\"after_insert\\\")\\n File \\\"apps/frappe/frappe/model/document.py\\\", line 968, in run_method\\n out = Document.hook(fn)(self, *args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/model/document.py\\\", line 1332, in composer\\n return composed(self, method, *args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/model/document.py\\\", line 1310, in runner\\n add_to_return_value(self, fn(self, *args, **kwargs))\\n ^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/model/document.py\\\", line 965, in fn\\n return method_object(*args, **kwargs)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/lms/lms/job/doctype/lms_job_application/lms_job_application.py\\\", line 18, in after_insert\\n self.send_email_to_employer()\\n File \\\"apps/lms/lms/job/doctype/lms_job_application/lms_job_application.py\\\", line 34, in send_email_to_employer\\n frappe.sendmail(\\n File \\\"apps/frappe/frappe/__init__.py\\\", line 872, in sendmail\\n return builder.process(send_now=now)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/email/doctype/email_queue/email_queue.py\\\", line 721, in process\\n queue_data = self.as_dict(include_recipients=False)\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/email/doctype/email_queue/email_queue.py\\\", line 766, in as_dict\\n mail = self.prepare_email_content()\\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n File \\\"apps/frappe/frappe/email/doctype/email_queue/email_queue.py\\\", line 688, in prepare_email_content\\n mail = get_email(\\n ^^^^^^^^^^\\n File \\\"apps/frappe/frappe/email/email_body.py\\\", line 95, in get_email\\n if attach.get(\\\"fcontent\\\") is None:\\n ^^^^^^^^^^\\nAttributeError: 'str' object has no attribute 'get'\\n\"]" }
from lms.
Fixed with #778
from lms.
Related Issues (20)
- Download and Upload Functionality for Course Assignments
- Batches not working HOT 1
- UI: Batch Management Page UI Bug
- PDF file upload error HOT 3
- Percentage goes beyond 100% if new lesson is added and completed HOT 1
- Delete a lesson from dashboard
- Icons not showing properly HOT 2
- Check question based on an expression
- Checking quiz answers via external service
- Tabs "disappear" when we switch to Discussions tab in manage batch page HOT 3
- Unable to choose instructor from web HOT 2
- error on creating new site for lms HOT 1
- Date filters in statistics page
- Dark theme for lms portal
- Ability to delete one's question topics
- Pagination for courses list
- Ui: fix header items alignment on mobile device viewport HOT 1
- RTL support for RTL lanuages
- Feature: Show related courses under the course description in the course page
- User vs Total Sign Up HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lms.