Good day!
I have some problems in Frappe Cloud.
This error keeps popping up:
I don’t know why this pops up but I have already installed my custom app.
Also this error does not show up in my Ubuntu VM but in Frappe Cloud it does.
Idk why it does not get the method command.
Here are the installed apps:
Here is my python code that this error tries to get: (course.py)
@frappe.whitelist()
def get_college_departments(college):
departments = frappe.db.sql(f"""
SELECT
department
FROM
`tabDepartment`
WHERE
parent = '{college}'
""", as_dict=True)
return departments
@frappe.whitelist()
def get_course_schedule(course_title):
schedule = frappe.db.sql(f"""
SELECT
section,
day_time,
room
FROM
`tabCourse Schedule`
WHERE
parent = '{course_title}'
""", as_dict=True)
return schedule
Here is my file path:
frappe-bench/apps/course_syllabus_builder/course_syllabus_builder/course_syllabus_builder/doctype/course/course.py
Any reason why this is happening?
Thank you so much