cubicweb-preview #1206489 crash when previewing a non image file [resolved]

trace:

 File "/home/auc/src/fcw/logilab/common/deprecation.py", line 88, in wrapped
   return func(*args, **kwargs)
 File "/home/auc/src/fcw/cubes/file/entities.py", line 90, in download_encoding
   return self.cw_adapt_to('IDownloadable').download_encoding()
 File "/home/auc/src/fcw/cubicweb/view.py", line 560, in decorated
   DeprecationWarning)
 File "/usr/lib/python2.5/warnings.py", line 62, in warn
   globals)
 File "/usr/lib/python2.5/warnings.py", line 80, in warn_explicit
   if registry.get(key):
RuntimeError: maximum recursion depth exceeded in cmp

it means that download_encoding is not wrapped ...

prioritynormal
typebug
done in0.2.1
load0.100
load left0.000
closed by<not specified>