[IPOL discuss] Corrected bug in demos archive

Miguel Colom colom at cmla.ens-cachan.fr
Tue Apr 14 16:03:48 CEST 2015


Dear all,
yesterday we corrected a bug in the part of the code of the demo  
system that manages the archive.
This bug caused that the system thought that the experiment didn't  
contain any image and thus it showed black lines when browsing the  
archive or when looking at some particular examples. You might have  
seen many of this blank lines.

The good news is that the actual data (the images) was in the  
database, so it was possible to recover those blank entries, which now  
show the missing images.

The bug has been corrected and the databases of all demos have been  
rebuilt, so we can consider this problem solved in production.

However, we have many workshops running, which need to be fixed.

To do it, do the following:
1) Copy file http://dev.ipol.im/~colom/archive.py in the lib/  
directory of your demo system in Purple.
2) Restart (or stop/start) your demo system.
3) In every workshop, upload an image and browse the experiment in the  
archive. In the URL, change "archive" by "archive_admin". A button to  
remove entries will appear. Remove the entry of your experiment. With  
this, your archive will be fixed. Do this for every workshop.

All the best,
Miguel




More information about the discuss mailing list