Opened 13 years ago

Last modified 13 years ago

#130 closed defect (FIXED)

Nicer error pages

Reported by: Caleb Davis Owned by: Jef van Schendel
Priority: minor Milestone: 0.0.5
Component: ui Keywords:
Cc: Parent Tickets:

Description

It's not a big deal until deployment, granted. But, it would be
nice to have something other than a massive white page with tiny
black text when I break gmg. Chris said it would be bytesized, so I
will try it!

[BONUS] - something in config that tells this page whether to
display for a deployment or development environment.



Change History (9)

comment:1 by Christopher Allan Webber, 13 years ago

I think it's best that we use some sort of middleware. We can
probably use one or both of these:

`http://pythonpaste.org/modules/errordocument.html <http://pythonpaste.org/modules/errordocument.html>`_
`http://pythonpaste.org/modules/exceptions.html <http://pythonpaste.org/modules/exceptions.html>`_

We could probably filter on one or both of those and both get more
granular control of how errors are processed/logged and also show
something nice when things are borked.



comment:2 by Christopher Allan Webber, 13 years ago

I can show how to set up middleware for this in paste.ini if you
need help with it. It's not completely obvious.



comment:3 by Caleb Davis, 13 years ago

sure, honestly I haven't started this one yet, so it will help get
me going.



comment:4 by Caleb Davis, 13 years ago

Owner: set to Caleb Davis
no more squatting on this one. I just haven't gotten to it yet.



comment:5 by Christopher Allan Webber, 13 years ago

From `#442 </issues/442>`_

Aaron Williamson wrote:

    The error pages are dull, off-the-rack affairs; their appearance
    isn't consistent with Mediagoblin's otherwise lush visual theme and
    as Caleb Davis points out, they miss an opportunity to convey
    Mediagoblin's sense of whimsy and humor to users it has recently
    disappointed. He suggests something akin to Reddit's
    `you broke reddit <http://www.chaaps.com/wp-content/uploads/2009/08/reddit.png>`_
    page. Other examples of amusing(?) error pages include
    `tumblr's tumbeasts <http://5.mshcdn.com/wp-content/uploads/2011/01/tumbeasts.jpg>`_
    and the
    `Twitter Fail Whale <http://tctechcrunch.files.wordpress.com/2010/01/fail-whale.png>`_,
    neither of which any of us has ever seen because we use free
    software only ever.




comment:6 by Will Kahn-Greene, 13 years ago

Milestone: 0.0.40.0.5
We release 0.0.4, so I'm bumping this to 0.0.5.



comment:7 by Jef van Schendel, 13 years ago

A simple 404.html page has been pushed. In the future me might want
to add a search box or similar to the page.

It still needs to be integrated though. The other error pages have
not yet been made, but cwebber is busy making ASCII art as we
speak. ;)



comment:8 by Christopher Allan Webber, 13 years ago

Component: Graphic Design / UI
Owner: set to Jef van Schendel
Status: NewClosed
Jef and I worked together on this, and we now have 404 and 500
error messages that I'm very happy with. Closing this!



comment:9 by Will Kahn-Greene, 13 years ago

The original url for this bug was http://bugs.foocorp.net/issues/420 .
Relations:
#152: duplicated

Note: See TracTickets for help on using tickets.