Page 1 of 1

Error compiling generated subroutine for stage

Posted: Wed Aug 23, 2006 11:41 am
by jmperezrus
Hi guys,

I get this error everytime I try to compile a job.
The error relates to a transformer stage.
I have checked EVERYTHING (constraints, variables,...). I have even written trivial derivations (with no routines involved, just mapping directly from input fields)
I have even tried to rebuild the transformer in case the internal code was corrupted, but nothing.

The "More" button returns
Compiling: Source = 'RT_BP1776/JOB.1876606699.DT.1411563621.TRANS1', Object = 'RT_BP1776.O/JOB.1876606699.DT.1411563621.TRANS1'
*************************************************************
Compilation Complete.
(PRUEBAS_Obj_4_1_3_ObjectL_Mapping.Transformer_xculero)


However, Director states that the job status is "not compiled"

Any suggestion you may have can be of great help...
Cheers!

Posted: Wed Aug 23, 2006 11:51 am
by kris007
These kind of errors pop up when you try to perform some numerical operation on non-numerical data. What are the derivations you are trying to perform in the Transformer Stage. Double check them.

Posted: Wed Aug 23, 2006 11:54 am
by jmperezrus
Thanks Kris,

Actually, as I said there are not any numerical operations. The only derivations are direct copies from input fields (drag&dropped)

Thanks anyways...

Posted: Wed Aug 23, 2006 12:06 pm
by DSguru2B
Double check all the derivations, stage variables and constraints in the transformer. Something in there is causing the problem.
Have you encountered similar problems with any other job?

Posted: Wed Aug 23, 2006 12:08 pm
by kris007
Did you try creating a new job and face the same error? You might want to go and check the code generated in the folder RT_BP1776 and figure it out. But again thats a tough call if your code is really big. Does it happen with any other jobs?

Posted: Wed Aug 23, 2006 12:11 pm
by jmperezrus
Yup, as you reckon I have tried by "rebuilding" the same job. It was not hard to do since there is almost no code involved, as I said the derivations are direct copies of input links.

I have just noticed that the same issue comes up for other jobs in the same folder... And they are pretty simple too...

I have read a similar post and the guy managed to solve it, this was his final post:

"The issue is there is no enough space in the unix box and also i rebuild the repository indexes using DS.TOOLS and now it's working fine. "

Do you think this is the issue? If yes, how can I do that?

Posted: Wed Aug 23, 2006 12:36 pm
by jmperezrus
Hi everyone,

The problem has been fixed. How? Restarting my PC and trying to compile again. That's it.

Thanks for your help & best regards

Posted: Thu Aug 24, 2006 12:49 am
by ray.wurlod
If this error ever recurs, try clearing the job's status file (Tools menu in Director, or DS.TOOLS menu on server). I'm guessing that the status record for the job somehow got "stuck" (there are a few possibilities, which I will not canvas now, since the problem is resolved).