The TQLI error is caused by the routine encountering a singularity in the covariance matrix. Below is a tech tip describing why you can get this error running a PCA in ENVI but ENVI uses the underlying IDL routine PCOMP, so the information should be helpful to track down the source of the error in your data:
http://www.ittvis.com/ser...echtip.asp?ttid=3343