File "<frozen runpy>", line 198, in _run_module_as_main
11:24:26 schedule.1 | File "<frozen runpy>", line 88, in _run_code
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 128, in <module>
11:24:26 schedule.1 | main()
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 34, in main
11:24:26 schedule.1 | FrappeCommandGroup(commands=commands)(prog_name="bench")
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
11:24:26 schedule.1 | return self.main(*args, **kwargs)
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1078, in main
11:24:26 schedule.1 | rv = self.invoke(ctx)
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
11:24:26 schedule.1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
11:24:26 schedule.1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
11:24:26 schedule.1 | return ctx.invoke(self.callback, **ctx.params)
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
11:24:26 schedule.1 | return __callback(*args, **kwargs)
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/commands/scheduler.py", line 179, in start_scheduler
11:24:26 schedule.1 | start_scheduler()
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/utils/scheduler.py", line 53, in start_scheduler
11:24:26 schedule.1 | enqueue_events_for_all_sites()
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/utils/scheduler.py", line 71, in enqueue_events_for_all_sites
11:24:26 schedule.1 | enqueue_events_for_site(site=site)
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/utils/scheduler.py", line 84, in enqueue_events_for_site
11:24:26 schedule.1 | if is_scheduler_inactive():
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/utils/scheduler.py", line 126, in is_scheduler_inactive
11:24:26 schedule.1 | if is_scheduler_disabled(verbose=verbose):
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/utils/scheduler.py", line 139, in is_scheduler_disabled
11:24:26 schedule.1 | frappe.db.get_single_value("System Settings", "enable_scheduler")
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/database/database.py", line 846, in get_single_value
11:24:26 schedule.1 | ).run()
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/query_builder/utils.py", line 84, in execute_query
11:24:26 schedule.1 | result = frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
11:24:26 schedule.1 | File "/Users/ranvijay/frappe-bench/apps/frappe/frappe/database/database.py", line 264, in sql
11:24:26 schedule.1 | traceback.print_stack()
Error in query:
('SELECT `value` FROM `tabSingles` WHERE `doctype`=%(param1)s AND `field`=%(param2)s', {'param1': 'System Settings', 'param2': 'enable_scheduler'})
I am facing the same warning, have you resolved it?