Index: /WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt	(revision 1301)
+++ /WAeUP_SRP/trunk/skins/waeup_student/accommodation_slip.pt	(revision 1302)
@@ -3,8 +3,8 @@
                 tal:define="info_acco context/getAccommodationInfo;
                             info_app  context/getApplicationInfo">
-      <span tal:condition="not: info_acco">
+      <span tal:condition="python: not info_acco or not info_acco['acco']">
             <metal:block use-macro="here/error_not_found/macros/not_found" />
       </span>   
-      <span tal:condition="info_acco">                    
+      <span tal:condition="python: info_acco and info_acco['acco']">                   
           <h3>Hostel Allocation Slip (and Maintenance Receipt)</h3>
           <br />
Index: /WAeUP_SRP/trunk/skins/waeup_student/accommodation_view.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/accommodation_view.pt	(revision 1301)
+++ /WAeUP_SRP/trunk/skins/waeup_student/accommodation_view.pt	(revision 1302)
@@ -2,8 +2,8 @@
     <metal:main fill-slot="main"
                 tal:define="info context/getAccommodationInfo">
-      <span tal:condition="not: info">
+      <span tal:condition="python: not info or not info['acco']">
         <metal:block use-macro="here/error_not_found/macros/not_found" />
       </span>
-      <span tal:condition="info">
+      <span tal:condition="python: info and info['acco']">
         <div style="text-align: right">
         <a href="" target="slip" tal:attributes="href string:accommodation_slip"
Index: /WAeUP_SRP/trunk/skins/waeup_student/getAccommodationInfo.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/getAccommodationInfo.py	(revision 1301)
+++ /WAeUP_SRP/trunk/skins/waeup_student/getAccommodationInfo.py	(revision 1302)
@@ -84,8 +84,4 @@
 acco_id = 'accommodation_2006'
 acco = getattr(student,acco_id,None)
-if acco == None:
-    logger.info('"%s","tried to access non-existing acco object"' % (member_id))
-    return None
-
 info['acco'] = acco
 info['acco_id'] = acco_id
