Opened 12 years ago

Last modified 11 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.



Subtickets

Change History (9)

comment:1 Changed 12 years ago by Christopher Allan Webber

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 Changed 12 years ago by Christopher Allan Webber

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 Changed 12 years ago by Caleb Davis

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



comment:4 Changed 12 years ago by Caleb Davis

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



comment:5 Changed 12 years ago by Christopher Allan Webber

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 Changed 12 years ago by Will Kahn-Greene

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



comment:7 Changed 11 years ago by Jef van Schendel

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 Changed 11 years ago by Christopher Allan Webber

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 Changed 11 years ago by Will Kahn-Greene

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

Note: See TracTickets for help on using tickets.