Ticket #1337 (closed defect: fixed)

Opened 1 year ago

Last modified 8 months ago

[PATCH] AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs'

Reported by: prasand Assigned to: 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

get_htdocs_dirs.diff (402 bytes) - added by coling on 06/19/07 09:23:37.
Fix for the problem. FWIW, this bug breaks e.g. TimingAndEstimationPlugin

Change History

03/20/07 12:26:39 changed by prasand

  • severity changed from normal to critical.

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.

06/19/07 09:23:37 changed by coling

  • attachment get_htdocs_dirs.diff added.

Fix for the problem. FWIW, this bug breaks e.g. TimingAndEstimationPlugin

06/19/07 09:24:08 changed by coling

  • summary changed from AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs' to [PATCH] AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs'.

11/12/07 18:10:35 changed by coling

  • status changed from new to closed.
  • resolution set to fixed.

(In [2771]) Fixes #1337 by applying patch. Also add some directories to ignore for neatness sake.


Add/Change #1337 ([PATCH] AttributeError: 'BatchModifyModule' object has no attribute 'get_htdocs_dirs')




Change Properties
Action