Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Import never starts #2576

Open
1 task done
Scion-Kin opened this issue Jan 3, 2025 · 1 comment
Open
1 task done

Data Import never starts #2576

Scion-Kin opened this issue Jan 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Scion-Kin
Copy link

Information about bug

When you click on start import on the frontend, nothing happens

The import remains pending indefinitely and no data is ever imported
Context information (for bug reports)

Steps to reproduce the issue

  • Install Frappe, ERPNext and then HRMS
  1. On the frontend, go to Data Import
  2. Click Add new Data
  3. Fill out all the necessary details, and follow all the steps for Data
  4. Click Start Import

Observed result

No error, no output, and no import starts

Expected result

No error, no output, and no import starts
No error output whatsoever
Additional information

OS version / distribution (Ubuntu noble)

Frappe install method:
METHOD 1: Manual bench script installation
METHOD 2: frappe_docker

This problem arises once the HRMS app/module is installed. And then, absolutely nothing can be imported.

@anandology @hernad @ceefour @zeroheure @sokumon

Module

HR, Payroll, other

Version

Output of bench version

$ bench --version   
5.23.0

APPS Versions

1. ERPNext: v15.47.1
2. Frappe Framework: v15.51.0
3. Frappe HR: v15.37.1 (version-15)

Installation method

None

Relevant log output / Stack trace / Full Error Message.

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Scion-Kin Scion-Kin added the bug Something isn't working label Jan 3, 2025
@Scion-Kin
Copy link
Author

I have identified the source of this issue.
Even though it seems I might never get a response on this critical bug, I will not close it, just in case someones decides to make a fix.

So, the data that I had been wanting to import is the list of employees in a certain company that we are working with.
Employee doctype doesn't belong to HRMS. It belongs to the Setup module, and thus it allowed me the following:

There are two methods of installation:

Docker
Manual bench script setup.

I had been trying both installations this whole time, and tested imports. Both had the same issue.
So this morning is when I tried just installing Frappe/ERPNext and excluding HRMS since the data that I wanted don't belong to HRMS. And, boom... imports worked with no issue, no matter which document I wanted.
Then I installed HRMS to also import the attendance that I had in my other Frappe/ERPNext instance. Tried importing... boom, nothing. Tried importing every other doctypes that are not connected to HRMS, and still, nothing. The import never starts. It seems to remain pending forever.
Then I realized HRMS was the problem. Once you install it, you can no longer import anything.

At this point, let me make a bit of a speculation:
HRMS is probably messing with the way frappe.core handles / manages imports. And if that's true, this means that the testing that is being done before version release, is not enough. And HRMS is not fit for production use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant