whitelabel icon indicating copy to clipboard operation
whitelabel copied to clipboard

AttributeError: 'NoneType' object has no attribute 'split'

Open cyberdee opened this issue 2 years ago • 4 comments

This happens when I tried the apps on my V13.

image

cyberdee avatar Jun 24 '22 11:06 cyberdee

Yes. I'm also getting this error while clicking on the save button.

elan-k avatar Jul 04 '22 17:07 elan-k

Same here.

TechAbout avatar Oct 20 '22 23:10 TechAbout

Try replacing this line in api.py: return frappe.db.get_value("Installed Application",{"app_name":"frappe"},"app_version").split('.')[0]

        frappe_version = next((item for item in frappe.utils.get_installed_apps_info() if item['app_name'] == 'frappe'), '13.0')
        return frappe_version['version'].split('.')[0]

samjaninf avatar Nov 02 '22 20:11 samjaninf

Try replacing this line in api.py: return frappe.db.get_value("Installed Application",{"app_name":"frappe"},"app_version").split('.')[0]

        frappe_version = next((item for item in frappe.utils.get_installed_apps_info() if item['app_name'] == 'frappe'), '13.0')
        return frappe_version['version'].split('.')[0]

make sure to delete spaces in line 2 and replace with tab

Thedigitalcontractor1 avatar Nov 07 '22 01:11 Thedigitalcontractor1