ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Error Log: frappe.utils.change_log.check_for_update


#1

{‘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.

Running on Digitalocean Ubuntu 16.04

Installed Apps
ERPNext: v10.1.69 (master)
Frappe Framework: v10.1.59 (master)

Please help.


#2

help anyone?


#3

The same error… what dose mean please???


#4

I still don’t know. Got the error again today for the third time.
at exactly midnight Sunday


#5

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.


#6

Same error in 2 of my instance.

I understand the error but I have a concern of it getting updated automatically and maybe cause issues.

Anyone have any detail on this Weekly check for update command?


#7

Same error here for some weeks

{'retry': 0, 'log': <function log at 0x7ff84e0eecf8>, 'site': u'instance', 'event': u'weekly_long', 'method_name': u'frappe.utils.change_log.check_for_update', 'method': <function check_for_update at 0x7ff84e236c08>, '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'

My configuration is here

Installed Apps
ERPNext: v10.1.73 (master)
Frappe Framework: v10.1.66 (master)