Sun Microsystems 800-1256-04 — Sun Microsystems 800-1256-04 SunCGI Reference Manual PDF

0 D Error Messages This appendix lists the error messages in numerical order. Furthermore, the probable cause of each error is given in the sentences following the error. In addition to explaining the error message, an initial suggestion for corrective action is given. In the title for each group of errors, the range of error numbers is given in parentheses after the title. If your application program is not behaving as you want it to, but does not generate error messages, then the table at the end ofthis appendix which lists commonly encountered problems and frequent causes may be he! pful. D.1. Successful Return (0) Q D.2. State Errors (1-5) NO_ERROR [0] No error.

ENOTCGCL [I] CG/ not in proper state: CG! should be in state CGCL. A call to open_ cg i was attempted when cgi was already open. Elimination of the error can be accomplished by removing the offending call to open cgi. ENOTCGOP [2] CG! not in proper state: CG! should be in state CGOP. Every function except open_ cgi requires that CGI be open. If this error is received, make sure that your applica- tion program has called open cgi, or that it has not recently called close_cgi ENOTVSOP [3] CG! not in proper state: CG/ should be in state VSOP. The function which generated the error requires that at least one view surface be open.

Corrective action would include either removing the most recent call to close_vws orby including a call to open_vws. ENOTVSAC [4] CG/ not in proper state: CG/ should be in state VSAC. The function which generated the error requires that at least one view surface be active. Corrective action would include either removing the most recent call to deactivate_ vws or by including a call to activate_vws. 0 ENOTOPOP [5] CG/ not in proper state CG/ should be in state CGOP, VSOP, or VSAC. The function which generated the error requires that SunCGI is at least initialized. If this error is received, make sure that your application program has 123 Version C of 17 M irch 1986