Modify

Opened 8 years ago

Closed 7 years ago

#1337 closed defect (fixed)

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

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

get_htdocs_dirs.diff (402 bytes) - added by coling 7 years ago.
Fix for the problem. FWIW, this bug breaks e.g. TimingAndEstimationPlugin

Download all attachments as: .zip

Change History (4)

comment:1 Changed 8 years ago 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.

Changed 7 years ago by coling

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

comment:2 Changed 7 years ago 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'

comment:3 Changed 7 years ago by coling

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain ashwin_phatak.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.