Index: WAeUP_SRP/trunk/skins/waeup_utilities/ti_165_resolve.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_utilities/ti_165_resolve.py	(revision 1663)
+++ WAeUP_SRP/trunk/skins/waeup_utilities/ti_165_resolve.py	(revision 1664)
@@ -53,9 +53,45 @@
     pres = pumeresults(jamb_reg_no = des.jamb_reg_no)
     if not pres:
-        rwrite('>>>>>>>> %s with jamb_reg_no %s not found in pumeresults' % (des.id,des.jamb_reg_no))
+        student_obj = getObject(students,des.id)
+        if student_obj is None:
+            rwrite('%s with jamb_reg_no %s %s/%s/%s student object not found' % (des.id,
+                                                                            des.jamb_reg_no,
+                                                                            des.faculty,
+                                                                            des.department,
+                                                                            des.course,
+                                                                            ))
+            continue
+        pume_obj = getObject(student_obj,'pume')
+        if pume_obj is None:
+            rwrite('%s with jamb_reg_no %s %s/%s/%s pume object not found' % (des.id,
+                                                                            des.jamb_reg_no,
+                                                                            des.faculty,
+                                                                            des.department,
+                                                                            des.course,
+                                                                            ))
+            continue
+        pume_doc = pume_obj.getContent()
+        score = pume_doc.pume_tot_score
+        dict = {}
+        dict['student_id'] = des.id
+        dict['jamb_reg_no'] = des.jamb_reg_no
+        dict['course_code'] = des.course
+        dict['department'] = des.department
+        dict['faculty'] = des.faculty
+        dict['name'] = des.name
+        dict['score'] = score
+        dict['result_type'] = 'DE'
+        dict['sex'] = 'M'
+        if des.sex:
+            dict['sex'] = 'F'
+        s = '%(jamb_reg_no)s with student_id %(student_id)s not in pumeresults should be recreatet<br>\r\n'
+        s += 'Sex:%(sex)s,Name: %(name)s,Type:%(result_type)s<br>\n\r'
+        s += 'Studycourse: %(course_code)s,Faculty: %(faculty)s,Department: %(department)s,Score: %(score)s'
+        rwrite(s % (dict))
+            
         not_found += 1
         continue
     found += 1
-    rwrite('%s with jamb_reg_no %s found in pumeresults' % (des.id,des.jamb_reg_no))
+    #rwrite('%s with jamb_reg_no %s found in pumeresults' % (des.id,des.jamb_reg_no))
 rwrite('%d found in pumeresults <br>%d not found in pumeresults<br>total in portal_pumeresults %d <br>' 
         % (found,not_found,len(pumeresults())))
