WM to DCC Errors
Doug 6/9/04
These errors typically occur because of missing attributes that the DCC is expecting to get from WM.
The Problems - Example:
1) Meta-Data required field for 26B403A (AL-0008-8965) ... FAILURE :: MISSING :: TITLE3
2) Meta-Data required field for 26B412A (AL-0008-8969) ... FAILURE :: MISSING :: TITLE3
For clues to other problems look at:
Home/ginger/pdf_code_11.61/pdf_err.txt
When you see and error like this start by checking in WorkManager to figure out what is going on it this case the attribute title 3 is missing.
The solution:
Correct the attribute, normally this will mean talking with the user to determine what they want the attribute to be.
Purge the PDF document from WorkManager, note you must have admin rights to delete this document.
Use VNC to access ginger with usual vnc psswd.
Next purge the PDF_released subdirectory from:
/home/ginger/pdf_released/print number with revision
Navigate to a unix shell, click on title bars of windows to move them to the back bringing the shell window forward.
Use the command cd /home/ginger/pdf_released
Use ll –tr | tail this will give you the last 10 enteries in the directory
Next make sure the directory is in the list.
Then use rm –rf dir name, note r means recursive, f means force or don’t pay attention to permissions.
Next reset PDF_DONE for the 2D drawing in WorkManager, PDF_DONE is an attribute that the pdf generation script uses to determine if the file needs to be created. Zero indicates that the pdf file has not been generated, 1 means that the pdf file has been created.
Find the drawing in the editor.
Click on it to put it in the document editor
Reserve the drawing
Edit the master data to correct for the missing attribute. In this case Title 3 was left blank so it is now filled in.
Open the classic UI; extras / admin
Run a query; query / show and then select to box for “DRAWING 2D”
The query window will appear.
In the name field paste in the unique number as = = “unique number”
Click Run Query
Double click on the query results
If you get:
this means that somehow you did not reserve the drawing, go back to the WorkManager client and reserve the drawing.
Select “view” attributes
Scroll down to PDF_DONE
Reset PDF_DONE to zero from 1
Close out of all the Classic UI windows.
Unreserved the document, this is very important because the pdf generation script will not process reserved items.
Finally go back to ginger and cd to home/ginger/pdf_code_11.61 and run the generate_pdf.sh script. You can just type cd if you want instead of cd’ing to the full path.
That is all there is to it.