Modify ↓
#8667 closed defect (fixed)
trac should guard against errors when loading components
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12 |
| Component: | general | Version: | 0.11-stable |
| Severity: | major | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Currently trac guards only against some exceptions when loading components from eggs. Others (e.g. NameError, SyntaxError) are not caught. I believe that this is an oversight: Probably every exception should be caught as in load_py_files.
Attachments (2)
Change History (5)
by , 16 years ago
| Attachment: | Evil-1.0-py2.6.egg added |
|---|
by , 16 years ago
| Attachment: | 8667_trac_should_guard_against_errors_when_loading_components added |
|---|
proposed solutin
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Applied in [8623], and additionally print a full traceback for "unexpected" exceptions.
comment:3 by , 16 years ago
| Owner: | changed from to |
|---|
Note:
See TracTickets
for help on using tickets.



example plugin that triggers the problem