Opened 18 years ago
Closed 7 years ago
#607 closed defect (wontfix)
pagelist corrupt html output when reload a wiki page
Reported by: | nextime | Owned by: | Peter Kropf |
---|---|---|---|
Priority: | high | Component: | PageListPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description (last modified by )
When reload a wiki page containing pagelist:something pagelist plugin cause an error in the log:
12:34:55 Trac[__init__] ERROR: 'TracPageList.web_ui.PageListModule' object has no attribute 'get_htdocs_dirs' Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/web/chrome.py", line 166, in process_request for dir in [os.path.normpath(dir[1]) for dir File "/usr/lib/python2.3/site-packages/trac/core.py", line 165, in __getattr__ raise AttributeError, "'%s' object has no attribute '%s'" % (cls, name) AttributeError: 'TracPageList.web_ui.PageListModule' object has no attribute 'get_htdocs_dirs'
This cause errors in formatting html output of trac
Attachments (0)
Change History (7)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 18 years ago by
I've tried to reproduce this error under trac 0.9 and trac 0.10 but was unable to do so. Can you provide some more details on your installation (trac version, using trac or apache, server platform, etc.) and instructions on how to reproduce the error?
comment:3 Changed 18 years ago by
Sure! I'm using trac 0.9.6 on a debian sid ( installed from source, NOT from debian package), with apache 2.0.55 from debian package, with mod_python even from debian package, python 2.3.5. The plugin is installed at global trac plugin, with egg file build on my sistem, with the latest version of setuptools ( installed from source ). I can see that the error not even cause formatting corruption, but you can see every time the traceback in the log file of trac. To reproduce error simply add something like pagelist:Wiki in a wiki page, an then reload the page by pressing the reload button on the web browser ( i've tried with firefox ). when you reload the page, you can see tracebacks in the logfile.
A note: my apache is chrooted with mod_chroot, of course, all needed python libs for trac exists into chroot. Anyway, i don't think that this can be the cause.
comment:4 Changed 17 years ago by
I am too getting similar error:
2007-08-18 21:04:24,085 Trac[main] ERROR: 'PageListModule' object has no attribute 'get_htdocs_dirs' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 225, in process_request for dir in [os.path.normpath(dir[1]) for dir AttributeError: 'PageListModule' object has no attribute 'get_htdocs_dirs'
It does not interrupt normal work. It can be seen only in log.
comment:5 Changed 17 years ago by
Sorry forgot to add that I am using TracPageList 0.1.0 and Trac 0.10.4.
comment:6 Changed 17 years ago by
Hi, I am also getting the error. I am using Gentoo with Trac version 0.10.4. I am using Python 2.5 and Apache 2.0.61 but not using mod_python. The egg is installed globally.
All I did to my knowledge in order to reproduce the error was to enable TracPageList.web_ui in my trac.ini
The following is from the log:
2007-09-09 12:20:52,444 Trac[main] ERROR: 'PageListModule' object has no attribute 'get_htdocs_dirs' Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line 226, in process_request in provider.get_htdocs_dirs() if dir[0] == prefix]: AttributeError: 'PageListModule' object has no attribute 'get_htdocs_dirs'
comment:7 Changed 7 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Fixing formatting.