Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#4896 closed defect (fixed)

Incomplete error message for unknown handler

Reported by: Emmanuel Blot Owned by: Christian Boos
Priority: low Milestone: 0.10.5
Component: general Version: devel
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When no request handler is defined for a URL, the error message parameters are not evaluated.

The resulting error message looks like:

404 Not Found (No handler matched request to %s)

Attachments (1)

nohandler.png (67.8 KB ) - added by Emmanuel Blot 17 years ago.
Error message snapshot

Download all attachments as: .zip

Change History (12)

comment:1 by Christian Boos, 17 years ago

Can you be a bit more specific about the URL that triggered this?

When I try to access, e.g. http://localhost:8000/devel/wikki, I get a normal error page saying:

Not Found

No handler matched request to /wikki

in reply to:  1 comment:2 by Emmanuel Blot, 17 years ago

Replying to cboos:

Can you be a bit more specific about the URL that triggered this?

On my machine, it was

http://localhost:8080/project/timelin

for example

I also tried with several other URLs.

by Emmanuel Blot, 17 years ago

Attachment: nohandler.png added

Error message snapshot

comment:3 by Emmanuel Blot, 17 years ago

I've attached a snapshot (that shows the Trac version btw).

comment:4 by Emmanuel Blot, 17 years ago

The system information, if that matters:

System Information

Trac: 0.11dev-r4937
Python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)]
setuptools: 0.6c5
SQLite: 3.3.5
pysqlite: 2.3.2
Genshi: 0.4dev-r505
Subversion: 1.4.3 (r23084)

comment:5 by anonymous, 17 years ago

I have got exactly the same error message when I accessed the project. My system info is:

Trac: Trac 0.11dev-r5022 Python: 2.5 MySQL: 5.0 Apache: 2.0.59 Subversion: 1.4.0 Genshi: 0.4dev-r509 OS: XP Pro

Please advise if you have any suggestion. I've also tried running standalone web server without using Apache. I got the same error. So the problem does not lie in Apache configuration. My SVN works fine independent of Trac. I assume this part is OK. I've checked the MySQL database after I successfully created the Trac environment. There were a bunch of tables created. So I assume MySQL also works fine.

comment:6 by Christian Boos, 17 years ago

Milestone: 0.11

comment:7 by anonymous, 17 years ago

I have the same error message,but just /wiki,other URLs are all right.and after search i found this: http://www.nabble.com/No-handler-matched-request-to...-t3407881.html i am a newbie,this is is the first time that i install trac,and should recovery the data,so i am not sure how to do,if you successfully fix it,plz tell me how

comment:8 by Christian Boos, 17 years ago

Milestone: 0.110.10.5
Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

This bug is somehow uncovered by another bug, #5066. Due to #5066 (still not yet fully understood), the HTTPNotFound exception was handled as an Exception and not as an HTTPException, in dispatch_request. This made apparent the problem with the call of Exception.__init__ within HTTPException.__call__.

comment:9 by Christian Boos, 17 years ago

Resolution: fixed
Status: assignedclosed

Ok, the incomplete message problem itself was fixed in [5367-5368], let's focus on #5066.

comment:11 by anonymous, 16 years ago

hey guys, please consider setting ticket privileges on your public trac site I've just changed this ticket (4896)! without even having to log in. Sorry for being bad guy; but pllllease, require logging in. I'm using Trac too and it would be good to know that only developers can change your tickets!

comment:12 by Christian Boos, 16 years ago

Well, that buggy change was just reverted. So while it's not fun to monitor such things, this tends to happen rarely those days thanks to the SpamFilter.

The policy on t.e.o's Trac(s) is that anyone can create tickets and contribute to them. Works pretty well, except for trials tickets and less often trial changes, which, despites our efforts, seem to be unavoidable (see #6059 though).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.