Modify

Opened 17 years ago

Closed 16 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)

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 17 years ago by Prasand J.

Severity: normalcritical

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 17 years ago by Colin Guthrie

Attachment: get_htdocs_dirs.diff added

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

comment:2 Changed 17 years ago by Colin Guthrie

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

comment:3 Changed 16 years ago by Colin Guthrie

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ashwin_phatak.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.