#1596 closed defect (duplicate)
connection.close
Reported by: | anonymous | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Management commands) | Version: | magic-removal |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
it seemed that the r2611's fix still cause some error.
when i terminate the django buildin server, the console show some information like below:
Django version 0.91 (magic-removal), using settings 'foo.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows).
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'print_
exc'" in <function remove at 0x00C80530> ignored
and if i change the django/db/_init_.py back to
dispatcher.connect(lambda: connection.close(), signal=signals.request_finished)
the error no longer raised!
my env: windows xp sp2, python 2.4.3, pysqlite2.2.0
Duplicate of [1601].