Skip to content

Fix ModuleNotFoundError: No module named 'frappe.pulse' #1594

@Harsh-Singh-007

Description

@Harsh-Singh-007

Describe the bug
The CRM application crashes with ModuleNotFoundError: No module named 'frappe.pulse' when accessing the CRM page. The is_frappe_version function in crm/utils/init.py attempts to import from a non-existent frappe.pulse.utils module.

Using frappe, erpnext v15.76.0

To Reproduce
Steps to reproduce the behavior:

Go to '/crm' page

See error

Expected behavior
The CRM page should load successfully without import errors.

Screenshots

Image

Desktop (please complete the following information):

OS: macOS

Browser: Any

Version: N/A

Smartphone (please complete the following information):

Device: N/A

OS: N/A

Browser: N/A

Version: N/A

Additional context:
The frappe.pulse module doesn't exist in Frappe framework. The fix is to use frappe.version instead, which is the standard way to access Frappe's version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions