{‘retry’: 0, ‘log’: <function log at 0x7fbb15f31c80>, ‘site’: u’site1.local’, ‘event’: u’weekly_long’, ‘method_name’: u’frappe.utils.change_log.check_for_update’, ‘method’: <function check_for_update at 0x7fbb15ff8758>, ‘user’: u’Administrator’, ‘kwargs’: {}, ‘async’: True, ‘job_name’: u’frappe.utils.change_log.check_for_update’}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 97, in execute_job
method(**kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/change_log.py”, line 146, in check_for_update
instance_version = Version(apps[app][‘branch_version’].split(’ ‘)[0])
KeyError: u’branch_version’
Hello Fellows,
What does this error mean?
It is the second time I got this error in all my instances.
It occurs at exactly Mid Night (12:00 AM) once a week.
Last Sunday Mid Night I got this error. And today Sunday Midnight I got exact same error.
Same Error.
I think it’s related to the check update of erpnext and frappe framework.
The scheduler at midnight compare the installed version with the one available to the repository.
In fact, I no longer see the login pop-up where it indicates the availability of a new version.
I’ve been having the same problem. In my case, looking at code for check_for_update, I found that it cannot get the branch_version for my custom app since its working folder hasn’t been initialized as a git repo yet.
If this is the same case for you guys, you can try running the following commands: