Changes between Version 15 and Version 16 of BetterErrorMessages
- Timestamp:
- Feb 2, 2007, 4:08:05 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BetterErrorMessages
v15 v16 12 12 * NewbieMistakes 13 13 14 == django.db ==15 16 {{{17 OperationalError: Unable to close due to unfinalised statements18 }}}19 '''Context:''' SQLite file permissions are incorrect (directory or DB file lack write permission)[[BR]]20 '''Suggestion:''' Check file permissions when running with SQLite backend and warn user if they seem incorrect21 14 22 15 == django.contrib.admin == … … 41 34 * Ticket #3221 -- patch for better error message for faulty URLconf 42 35 36 37 == django.db == 38 39 {{{ 40 OperationalError: Unable to close due to unfinalised statements 41 }}} 42 '''Context:''' SQLite file permissions are incorrect (directory or DB file lack write permission)[[BR]] 43 '''Suggestion:''' Check file permissions when running with SQLite backend and warn user if they seem incorrect 44 45 46 == django.http == 47 48 {{{ 49 AttributeError: Http404 instance has no attribute 'has_header' 50 }}} 51 '''Context:''' Http404 is {{{return}}}ed instead of {{{raise}}}d[[BR]] 52 '''Suggestion:''' Check type of HttpResponse before attempting to use (perhaps unPythonic?) or possibly give Http404 a clearer name like Http404Exception 53 43 54 == django.template == 44 55 … … 49 60 50 61 * Ticket #1732 -- a problem that elicits no error message, but should. 62 63