Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
kewbsl
Contributor III
Contributor III

Help! Disappearing Job Design!

I had a disk issue earlier and when I closed Talend it said there was a problem saving the state of the workbench.

Opening Talend again, the job I was working on is not listed. I had 4 job designs but only 3 are present. I definitely saved the file (successfully!) before the disk error arose, so I can't see why there would be an issue.

Similarly, when I go into

C:\MyProject\MYPROJECT\process

there are 12 files visible each of the 4 job designs has 3 files with extensions

  .item

  .properties

  .screenshot 

So they should be there, right? But they're not.

Can anyone suggest what might be going wrong?

Thanks

Labels (2)
1 Solution

Accepted Solutions
kewbsl
Contributor III
Contributor III
Author

OK, we're back in business. For the benefit of anyone else who has the same issue, I'll list the steps taken. 

 

  1. Create a new job design called "expendable". Save it and close Talend
  2. Go to the folder where the job designs are kept (in my case C:\MyProject\MYPROJECT\process)
  3. Back up the properties file - in my case ExportDocsAsAttachments_0.1.properties
  4. Open the properties files for expendable_0.1.properties
  5. Copy the contents into the empty properties file of the missing job design
  6. This file contains references to the name of the job design so change "expendable" to "ExportDocsAsAttachments" (or whatever your job is called) in the three places it appears 
  7. Save and close 
  8. Delete the three expendable files
  9. Restart Talend
  10. The job should now be there
  11. Do a little dance of joy

NB in my case, both jobs were version 0_1, so all the instructions reference 0_1 in the file name. I guess if yours was a higher version your best bet would be to save the "expendable" job (in step 1) with the same version number and then follow the rest of the steps but adjusting so that 0_1 becomes 0_3 or whatever

View solution in original post

3 Replies
Anonymous
Not applicable

Hi,

 

    If you have not saved your job before the disk crash happened, that job will not be available when you open the job next time.

 

     So my advise would be to save the jobs at regular intervals and if you have GIT, copy the source code to GIT also at regular intervals.

 

Warm Regards,

 

Nikhil Thampi

kewbsl
Contributor III
Contributor III
Author


@nthampi wrote:

Hi,

 

    If you have not saved your job before the disk crash happened, that job will not be available when you open the job next time.

 

     So my advise would be to save the jobs at regular intervals and if you have GIT, copy the source code to GIT also at regular intervals.

 

Warm Regards,

 

Nikhil Thampi


Thanks for the reply. They definitely were saved. In fact, they were created almost a week ago, so they were saved before I turned my computer on. Even if none of my changes for that day had been saved, the job design should still be visible. I'll attach a screenshot of the files sitting in the folder.

Hm, now that I look at it, it's interesting that although the .item and .screenshot files are bigger than any of the equivalent files for the other job designs, the .properties file says 0kb (all the others are 2kb) so I'm now thinking maybe the file got corrupted during the attempted save and that's why it's broken. Possible clue there...

 

 


Untitled.png
kewbsl
Contributor III
Contributor III
Author

OK, we're back in business. For the benefit of anyone else who has the same issue, I'll list the steps taken. 

 

  1. Create a new job design called "expendable". Save it and close Talend
  2. Go to the folder where the job designs are kept (in my case C:\MyProject\MYPROJECT\process)
  3. Back up the properties file - in my case ExportDocsAsAttachments_0.1.properties
  4. Open the properties files for expendable_0.1.properties
  5. Copy the contents into the empty properties file of the missing job design
  6. This file contains references to the name of the job design so change "expendable" to "ExportDocsAsAttachments" (or whatever your job is called) in the three places it appears 
  7. Save and close 
  8. Delete the three expendable files
  9. Restart Talend
  10. The job should now be there
  11. Do a little dance of joy

NB in my case, both jobs were version 0_1, so all the instructions reference 0_1 in the file name. I guess if yours was a higher version your best bet would be to save the "expendable" job (in step 1) with the same version number and then follow the rest of the steps but adjusting so that 0_1 becomes 0_3 or whatever