cubicweb-vcreview #2055431 self.patch_repository[0] IndexError: tuple index out of range [deprecated]
Seen on server logs 2011-10-25 15:45:11 - (cubicweb.appobject) ERROR: tuple index out of range Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/cubicweb/mail.py", line 216, in render_emails subject = self.subject() File "/usr/share/cubicweb/cubes/trackervcs/sobjects.py", line 10, in subject if patch.repository.project: File "/usr/share/cubicweb/cubes/vcreview/entities.py", line 46, in repository return self.patch_repository[0] IndexError: tuple index out of range 2011-10-25 15:45:11 - (cubicweb.appobject) ERROR: tuple index out of range Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/cubicweb/mail.py", line 216, in render_emails subject = self.subject() File "/usr/share/cubicweb/cubes/trackervcs/sobjects.py", line 10, in subject if patch.repository.project: File "/usr/share/cubicweb/cubes/vcreview/entities.py", line 46, in repository return self.patch_repository[0] IndexError: tuple index out of range | |
priority | normal |
---|---|
type | bug |
done in | <not specified> |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2012/08/30 19:50, written by sthenault
-
2012/08/31 09:15, written by acampeas
-
2012/08/31 09:30, written by sthenault
add commentauc: that won't help: patch_repository is not mandatory
I see:
my bad, I though 'self' was a repository, not a patch.