Modify ↓
Opened 18 years ago
Closed 17 years ago
#1337 closed defect (fixed)
[PATCH] AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs'
Reported by: | Prasand J. | Owned by: | ashwin_phatak |
---|---|---|---|
Priority: | normal | Component: | BatchModifyPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
This error isn't critical, but it occurs rather frequently (on every page load). The output of the error is:
2007-03-14 23:28:47,075 Trac[main] ERROR: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs' Traceback (most recent call last): File "/home/username/packages/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/home/username/packages/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/home/username/packages/lib/python2.3/site-packages/trac/web/chrome.py", line 225, in process_request for dir in [os.path.normpath(dir[1]) for dir AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs'
Attachments (1)
Change History (4)
comment:1 Changed 18 years ago by
Severity: | normal → critical |
---|
Changed 18 years ago by
Attachment: | get_htdocs_dirs.diff added |
---|
Fix for the problem. FWIW, this bug breaks e.g. TimingAndEstimationPlugin
comment:2 Changed 18 years ago by
Summary: | AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs' → [PATCH] AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs' |
---|
comment:3 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The previous output is also triggerd when trac attempts to load other scripts (some javascripts and css). While the batch modify plugin works, the bug causes other sections of trac to 'not' work / load. Plugin must be disabled in order for trac to load correctly.