Repository does not contain an Application file to import

cbarlock
Kilo Guru

I may have a serious problem.  For reasons that aren't that important, I deleted my application and went to Studio to reimport it from github.  I've done this a number of times before, but now I get:

Repository does not contain an Application file to import

I found a post that said to go to the Repository Config table (sys_repo_config), find the old config record for the app I just removed, delete it and import from source control again.  This, too, has worked fine for me in the past.  Not today!  I even tried this on a brand new PDI and got the same result.

Any other suggestions on how to fix this?  What is the application file that the import process is looking for?

5 REPLIES 5

cbarlock
Kilo Guru

The system log contains:

sys_repo_config record does not exist by sys_id: c7a3fb352fa120100a0693acf699b6a9: no thrown error

and

Repository does not contain an Application file to import: com.glide.sourcecontrol.SourceControlException: Import validation failed. Unable to find Application file in repository root for Repository Configuration ID c7a3fb352fa120100a0693acf699b6a9:

cbarlock
Kilo Guru

I have no idea if this is significant, but in github, my root directory contains a directory named for my app scope.  Under that, there is a "dictionary" directory that did not exist in the previous commit.  In the previous commit, there was "author_elective_update" and "update" but no "dictionary".

cbarlock
Kilo Guru

I notice there is one of my update sets set to "Ignore", but it contains over 1300 records all with an Action of DELETE.  I wonder if the existence of this update set is causing problems -- yet that wouldn't explain the import failure in my brand new PDI which doesn't have this.

Renat Akhmedov
Tera Contributor

Make sure that before you use the Import application from source control you did a "merge" on your repository.

For example, your branch was "master" merge it to "main",

Also please mark this comment as "Helpful" if it really helped you.