Opened 13 years ago
Closed 13 years ago
#10551 closed defect (worksforme)
Static files cannot be loaded
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.13dev |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I am facing the problem that no static page content of Trac is loaded anymore (means no CSS, Javascript and Image files).
When looking into the logs, I am getting:
2012-02-02 08:45:21,234 Trac[build\bdist.win32\egg\trac\web\main] ERROR: Internal Server Error: Traceback (most recent call last): File "build\bdist.win32\egg\trac\web\main.py", line 478, in _dispatch_request dispatcher.dispatch(req) File "build\bdist.win32\egg\trac\web\main.py", line 198, in dispatch resp = chosen_handler.process_request(req) File "build\bdist.win32\egg\trac\web\chrome.py", line 569, in process_request and req.args['hash'] == self.static_hash KeyError: 'hash'
I thought there have already been a ticket, but I haven't found it. I am using Trac 0.13dev-r10932
on that system.
Attachments (0)
Change History (2)
comment:1 by , 13 years ago
Severity: | critical → normal |
---|
comment:2 by , 13 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This can't happen under normal conditions. process_request()
is only ever called if match_request()
returns True
, and if this is the case, then req.args
has the key 'hash'
.
Of course, a plugin removing arbitrary keys from req.args
is bound to make trouble.
I fixed the problem, since I removed a plugin, which a collegue of mine developed and installed.
So this ticket might then just a ticket for changing documentation of plugin development (and of course for further investigators).