ERROR: unexpected error - unable to open database file

Hi,
I am using dvc exp to run different experiment from my pipeline. However when I try to apply the experiment I have the following error: ERROR: unexpected error - unable to open database file .

I will describe all the steps that I made:

  1. dvc init --subdir
  2. dvc repro
  3. dvc exp run
  4. dvc exp push origin experiment_name
  5. Then I made some commits (with other work)
  6. Then I tried to do dvc exp apply experiment_name
  7. I get the error: ERROR: unexpected error - unable to open database file
  8. I did not know that I needed to be in the same project version as when the experiment was run. So I made reset for the commit where I run the experiences
  9. dvc exp apply experiment_name
  10. I got the same error: ERROR: unexpected error - unable to open database file
  11. dvc exp pull origin experiment_name
  12. I got the same error: ERROR: unexpected error - unable to open database file

Can anyone help me to understant how can I resolve this issue?

Thanks

Hi, @dsmendes
From the current information, it is still not clear what problem with it. Could you please:

  1. provide the the dvc version and environment with dvc doctor
  2. provide a detailed log with -vv flag after your command.

database file error usually caused from Sqlite handing files in network or with wrong permission.

I could not reproduce the behaviour explained in the post. I repeated all the work with some differences and it worked:

  1. dvc repro
  2. dvc push
  3. dvc exp run
  4. dvc exp push origin experiment_name
  5. dvc exp apply commit_of_experience