Wednesday, September 19

Geek

I Need A Bigger Hammer

My footer won't foot.

Grr.

There's a tool around somewhere that shows you div lines overlaying your web page so you can work out where that unwanted space is coming from.  Have to go find it.

Posted by: Pixy Misa at 10:32 PM | Comments (7) | Add Comment | Trackbacks (Suck)
Post contains 41 words, total size 1 kb.

1 Both the Web Developer and Firebug plugins for Firefox have been enormously helpful for me when trying to layout and design a web page.  I highly recommend both for web development work.

Posted by: Nick at Wednesday, September 19 2007 11:52 PM (lFlQd)

2 I've been using Firebug a lot, and it is incredibly useful.  Sadly it's also a terrible CPU hog.  I'll check out the Web Developer plugin, thanks.

Posted by: Pixy Misa at Thursday, September 20 2007 01:21 AM (PiXy!)

3

Hey Pixy, I think there's something going on with the images used for the banner (at least with IE 6.0.29yada-yada).

I'm getting this.

And the post editing screen extends out beyond its own default width. The arrow of the status pulldown is just barely visible.

Posted by: Will at Thursday, September 20 2007 03:15 PM (pqGaZ)

4

Oh, and when I tried to tweak the banner text a bit, I got this.

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cprequest.py", line 342, in respond
    cherrypy.response.body = self.handler()
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cpdispatch.py", line 15, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "Minx.py", line 156, in default
    return go(cherrypy)
  File "Minx.py", line 121, in go
    raise
  File "Minx.py", line 95, in go
    return Page.go(cp)
  File "/var/minx/live1.1/Page.py", line 395, in go
    Form.go(page)
  File "/var/minx/live1.1/Form.py", line 2917, in go
    handler(page)
  File "/var/minx/live1.1/Form.py", line 2490, in form_styleimage
    Photo.imagemacro(page,image)
  File "/var/minx/live1.1/Photo.py", line 902, in imagemacro
    im=load(ipath)
  File "/var/minx/live1.1/Photo.py", line 875, in load
    p.load(file)
  File "/var/minx/live1.1/Photo.py", line 51, in load
    self.im=Image.open(file)
  File "/usr/local/lib/python2.5/site-packages/PIL/Image.py", line 1888, in open
    fp = __builtin__.open(fp, "rb")
IOError: [Errno 21] Is a directory

Posted by: Will at Thursday, September 20 2007 03:19 PM (pqGaZ)

5

And here's what I got when I tried to make a copy of a style

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cprequest.py", line 342, in respond
    cherrypy.response.body = self.handler()
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cpdispatch.py", line 15, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "Minx.py", line 156, in default
    return go(cherrypy)
  File "Minx.py", line 121, in go
    raise
  File "Minx.py", line 95, in go
    return Page.go(cp)
  File "/var/minx/live1.1/Page.py", line 395, in go
    Form.go(page)
  File "/var/minx/live1.1/Form.py", line 2917, in go
    handler(page)
  File "/var/minx/live1.1/Form.py", line 2380, in form_style_multi
    do_mod_style(page,t,act)
  File "/var/minx/live1.1/Form.py", line 2397, in do_mod_style
    style['name']='Copy of '+style['name']
TypeError: tuple indices must be integers

Posted by: Will at Thursday, September 20 2007 03:29 PM (pqGaZ)

6 Thanks Will.

With the tweaking of the banner, you actually need to choose an image to build the banner from.  (And I need to produce a sensible error if you don't.)

I'll check the post editing screen and fix that up.  It works with my browser and my font settings, but it needs to work for other people too.

With the IE 6 appearance problem...  Uh-oh.  I tested it in IE 7, Mozilla 2, Opera 9 and Safari, but not IE 6.  I'll see what I can do about that; IE 6's transparency is kind of broken, so my options are limited, but I can detect the browser and do something different just for IE 6.

And with the style copy problem - yeah, that's a bug.  I'll fix that.

Posted by: Pixy Misa at Thursday, September 20 2007 04:08 PM (PiXy!)

7

Thanks. I was just trying to tweak the colors of the banner without modifying any other attributes. Is there somewhere else I should be doing that?

Posted by: Will at Friday, September 21 2007 12:40 AM (pqGaZ)

Hide Comments | Add Comment

Comments are disabled. Post is locked.
50kb generated in CPU 0.0137, elapsed 0.3853 seconds.
56 queries taking 0.377 seconds, 350 records returned.
Powered by Minx 1.1.6c-pink.