#66: "Sent error report" button... doesn't.
------------------------+---------------------------------------------------
Reporter: jblayloc | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: BibBowling | Version:
Keywords: |
------------------------+---------------------------------------------------
When Invenio throws an exception during search, such as for example:
"Internal Error exceptions.TypeError 'dict' object is not callable"
...it puts up this pretty pink box saying something like:
"
Internal Error exceptions.TypeError 'dict' object is not callable
Please contact [email protected] quoting the following information:
URI: http://N/AN/A
Time: 25/May/2010:19:45:28 +0200
Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9)
Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5.9: N/A
Client: N/A
Error: N/A
System Error: exceptions.TypeError 'dict' object is not callable
Traceback:
File "/usr/lib/python2.4/site-
packages/invenio/webstyle_templates.py", line 592, in tmpl_error_box
host_s = req.hostname
File "/usr/lib/python2.4/site-
packages/invenio/webinterface_handler_wsgi.py", line 241, in get_hostname
return self.__environ('HTTP_HOST', '')
Please send an error report to the administrator. " followed by a blue
button with the words "Send error report" on it.
Pressing this button goes to http://inspirebeta.net/error/send, which has
no handler.
So the user now has to deal with two errors rather than one.
--
Ticket URL: <http://cdswaredev.cern.ch/invenio/ticket/66>
Invenio <http://invenio-software.org>