You're receiving this reply because you didn't ask a question.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
You've posted this link a few times now, Shawn, but I'd rather you
didn't make a habit of doing so.
While ESR's point is valid, and many people would benefit from
following the spirit of his advice, ESR's tone in that document (and
many other documents) isn't helpful.
I don't care how wonderful "hackers" are -- they don't get special
permission to treat other people like crap. Using phrases like "you
are one of the idiots we are talking about" and "lazy sponge" isn't
productive in any situation, and especially when you're trying to
foster a community spirit. Writing about how hackers are just trying
to "protect their communications channels from being drowned in
irrelevance" completely ignores the fact the person asking the
question probably doesn't think their question is irrelevant.
If you must post a link to a 'howto' guide, might I suggest that [1]
is a much better document. It addresses bug reports rather than
questions specifically, but at the very least, the tone is a lot
better.
[1] http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Yours
Russ Magee %-)
On Feb 4, 3:54 am, punwaicheung <punwaiche...@gmail.com> wrote:
> Page not found (404)
> Request Method: GET
> Request URL:http://www.cadal.zju.edu.cn/djvu_ulib/16003525/00000001.djvu
>
> Using the URLconf defined in cadal.urls, Django tried these URL
> patterns, in this order:
>
> ^personal/?$
> ^personal/Eng/?$
> ^personal/addrule/book/?
> ^personal/delrule/(\d+)/?$
> ^personal/addfld/([^/]+)/?$
> ^personal/renrule/(\d+)/([^/]+)/?$
> ^personal/hotbooks/?$
> ^personal/hotbooks/Eng/?$
> ^personal/quicksearch/(\w+)/?$
> ^personal/mytags/?$
> ^personal/mytags/Eng/?$
> ^personal/mybookmarks/?$
> ^personal/mybookmarks/Eng/?$
> ^personal/mybookmarks/(?P<book_id>\d{8})/?$
> ^personal/info/?$
> ^personal/password/?$
> ^personal/subtree/?
> ^personal/quickadd/?
> ^fulltext/search/?$
> ^fulltext/text/(?P<bookNo>\d+)/(?P<pageNo>\d+)/?$
> ^book/(?P<book_id>\d+)/$
> ^book/(?P<book_id>\d+)/Eng/$
> ^book/(?P<book_id>\d+)/(?P<page_id>\d+)/$
> ^book/(?P<book_id>\d+)/(?P<page_id>\d+)/Eng/$
> ^book/(?P<book_id>\d+)/(?P<page_id>\d+)/list/$
> ^book/(?P<book_id>\d+)/(?P<page_id>\d+)/list/Eng/$
> ^book/(?P<book_id>\d+)/catalog/$
> ^book/(?P<book_id>\d+)/sidebar/$
> ^book/(?P<book_id>\d+)/sidebar/Eng/$
> ^book/(?P<book_id>\d+)/navigator/$
> ^book/(?P<book_id>\d+)/navigator/Eng/$
> ^book/(?P<book_id>\d+)/submitComment/$
> ^book/(?P<book_id>\d+)/delComment/$
> ^book/(?P<book_id>\d+)/submitMeta/$
> ^book/(?P<book_id>\d+)/allComments/$
> ^book/(?P<book_id>\d+)/allComments/Eng/$
> ^book/(?P<book_id>\d+)/addBookmark/$
> ^book/(?P<book_id>\d+)/deleteBookmark/$
> ^book/(?P<book_id>\d+)/tags/$
> ^book/(?P<book_id>\d+)/tags/Eng/$
> ^book/(?P<book_id>\d+)/delTag/(?P<tag>[^/]+)/$
> ^book/tags/(?P<tag>[^/]+)/$
> ^book/tags/(?P<tag>[^/]+)/Eng/$
> ^book/tags/(?P<tag>[^/]+)/(?P<page_id>\d+)/$
> ^book/tags/(?P<tag>[^/]+)/(?P<page_id>\d+)/Eng/$
> ^book/(?P<book_id>\d+)/submitTag/$
> ^book/(?P<book_id>\d+)/recommendation/$
> ^book/(?P<book_id>\d+)/recommendation/Eng/$
> ^class/$
> ^class/(?P<className>[^/]+)/$
> ^class/(?P<className>[^/]+)/(?P<pageId>\d+)/$
> ^class/(?P<className>[^/]+)/cards/(?P<pageId>\d+)/$
> ^account/login/(?P<book_id>\d+)/(?P<page_id>\d+)/$
> ^account/login/Eng/(?P<book_id>\d+)/(?P<page_id>\d+)/$
> ^account/login/$
> ^account/login/Eng/$
> ^account/logout/$
> ^account/logout/Eng/$
> ^account/register/Eng/$
> ^account/register/$
> ^auth/(?P<book_id>\d{8})/?$
> ^auth/user/?$
> ^admin/?$
> ^admin/login/?$
> ^admin/logout/?$
> ^admin/group_auth/?$
> ^admin/show_ug/?$
> ^admin/add_ug/?$
> ^admin/del_ug/?$
> ^admin/show_rg/?$
> ^admin/show_rg/(?P<by_what>\w+)/?$
> ^admin/show_rg/(?P<by_what>\w+)/(?P<limit_up>\d+)/?$
> ^admin/add_rg/?$
> ^admin/del_rg/?$
> ^admin/modify_rg_view/?$
> ^admin/modify_rg/?$
> ^admin/show_books/(?P<group_id>\d+)/?$
> ^admin/show_books/(?P<group_id>\d+)/(?P<limit_up>\d+)/?$
> ^admin/add_book_rg_view/?$
> ^admin/add_book_rg/?$
> ^admin/del_book_rg/(?P<book_no>\d+)/?$
> ^admin/addtogroup/?$
> ^admin/show_ACL/?$
> ^admin/show_users/(?P<group_id>\d+)/?$
> ^admin/show_IPs/(?P<group_id>\d+)/?$
> ^admin/add_group_ip/?$
> ^admin/del_group_ip/?$
> ^admin/add_user2group/?$
> ^admin/del_group_user/?$
> ^admin/search_user/?$
> ^admin/show_scancenter/?$
> ^djvu/(?P<bookid>\d+)/(?P<pageid>\d{8})(?P<mask>\w{7}).djvu/?$
> ^djvu/get_mask/(?P<bookno>\d+)/(?P<pageid>\d{8})/?$
> ^djvu/(?P<bookid>\d+)/(?P<pageid>\d+).tif/?$
> ^cover/(?P<book_id>\d{8})
> ^tag/(?P<book_id>\d{8})/?$
> ^captcha/image/?$
> ^captcha/?$
> ^captcha/en/?$
> ^captcha/en/image/?$
> ^meta/page/(\d{8})/?$
> ^html/(?P<bookid>\d+)/(?P<pageid>\d+).htm/?$
> ^html/(?P<bookid>\d+)/(?P<imageid>[\-\d]+).gif/?$
> ^html/(?P<bookid>\d+)/(?P<imageid>[\-\d]+).jpg/?$
> ^flexSupport/(?P<bookid>\d+)/(?P<pageid>[\-\d]+).jpg/?$
> ^ulib/(?P<bookid>\d+)/?$
> ^Reader\.action
> ^ReaderEng\.action
> ^personal/imagesearch/(?P<ruleTitle>[^/]*)/(?P<ruleId>\d+)/?
> ^personal/callisearch/(?P<ruleTitle>[^/]*)/(?P<ruleId>\d+)/?
> ^catalogsearch/?$
> ^catalogsearch/detail/(\d{8})/?
> ^personal/recsysdemo/?$
> The current URL, /djvu_ulib/16003525/00000001.djvu, didn't match any
> of these.
>
> You're seeing this error because you have DEBUG = True in your Django
> settings file. Change that to False, and Django will display a
> standard 404 page.
To actually help you though, /djvu_ulib/16003525/00000001.djvu isn't
being matched because there isn't a regex for it in the list!
There are two similar regexes in your list:
> ^ulib/(?P<bookid>\d+)/?$
> ^djvu/(?P<bookid>\d+)/(?P<pageid>\d{8})(?P<mask>\w{7}).djvu/?$
Presumably you meant the second, but it wouldn't match because it has
8 chars before .djvu not 7, and the url has djvu/ not djvu_ulib/.
Also, I don't think you need to put "/?" at the end of the url even if
you may send it GET data.
It looks like you need to either change your url or the regex for it.
There is also a lot of inconsistency in your naming conventions for
the groups in the regex (sometimes page_id sometimes pageId). It is
usually best to decide to use one and stick to it so you don't have to
keep going back to check which it should be.
HTH,
Emily