Skip to content
Snippets Groups Projects
  1. Dec 12, 2019
  2. Dec 11, 2019
  3. Dec 10, 2019
  4. Dec 09, 2019
  5. Dec 08, 2019
  6. Dec 06, 2019
  7. Dec 05, 2019
    • Feanil Patel's avatar
      Handle other places where we might be unpickling things. · 48e97248
      Feanil Patel authored
      We use pickling in conjunction with caches in these cases so we should
      be able to fallback to the uncached behavior if the pickled data is
      corrupt in some way.
      
      eg. it's a python 2 pickle we don't know how to read.
      48e97248
    • Feanil Patel's avatar
      Add error handling in course structure cache. · 684f254a
      Feanil Patel authored
      When going between python 2 and python 3.5 we can get pickeld course
      structires that are incompatible no matter what we do do to the bug
      linked in the comment.  In this case, handle the error and delete the
      corrupt data from the cache.
      
      Making this fairly generic because if we have any bad data in cache we
      don't want it to blow up the whole process.  Just delete the bad data
      and try again.
      684f254a