You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run bench trigger-scheduler-event gives AttributeError
Context information (for bug reports)
Output of bench version
Frappe Framework: v12.x.x-develop () (develop)
Steps to reproduce the issue
Run bench trigger-scheduler-event plaid_settings.automatic_synchronization
Observed result
Traceback below
Expected result
Scheduled job runs
Stacktrace / full error message
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/frappe/staging-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
main()
File "/home/frappe/staging-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
click.Group(commands=commands)(prog_name='bench')
File "/home/frappe/staging-bench/env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/frappe/staging-bench/env/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/frappe/staging-bench/env/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/frappe/staging-bench/env/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/frappe/staging-bench/env/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/frappe/staging-bench/env/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/frappe/staging-bench/env/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/frappe/staging-bench/apps/frappe/frappe/commands/__init__.py", line 25, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/home/frappe/staging-bench/apps/frappe/frappe/commands/scheduler.py", line 30, in trigger_scheduler_event
frappe.utils.scheduler.trigger(site, event, now=True)
AttributeError: module 'frappe.utils.scheduler' has no attribute 'trigger'
Additional information
ubuntu 18.04
The text was updated successfully, but these errors were encountered:
Description of the issue
Run
bench trigger-scheduler-event
gives AttributeErrorContext information (for bug reports)
Output of
bench version
Steps to reproduce the issue
bench trigger-scheduler-event plaid_settings.automatic_synchronization
Observed result
Traceback below
Expected result
Scheduled job runs
Stacktrace / full error message
Additional information
ubuntu 18.04
The text was updated successfully, but these errors were encountered: