#mapnik log: Tuesday 10, March 2009

2009 | 03

previous | next
01:38:58 *** aub (n=aubrey@216.156.96.6) has joined #mapnik
03:53:10 *** rcoup_ has quit ()
04:21:48 *** weizhuo has quit (Read error: 110 (Connection timed out))
09:53:39 *** rcoup (n=rcoup@ip-118-90-3-165.xdsl.xnet.co.nz) has joined #mapnik
10:10:33 *** makghosh (n=Joy@117.201.96.94) has joined #mapnik
10:40:59 *** rcoup has quit ()
16:34:00 *** makghosh_ (n=Joy@117.201.99.66) has joined #mapnik
16:39:55 *** makghosh has quit (Read error: 145 (Connection timed out))
17:32:02 *** Scelestis (n=Scelesti@c-69-255-250-38.hsd1.va.comcast.net) has joined #mapnik
17:33:03 <Scelestis> I am trying to modify the S3.py portion of tilecache to allow for puts to include an public read ACL, anyone have any experience with this ?
17:33:27 <Scelestis> I've tried a few mehods of adding it into the headers section, but no luck
17:43:55 *** tomhughes (n=tom@gate.compton.nu) has joined #mapnik
17:43:55 *** tomhughes1 has quit (Read error: 104 (Connection reset by peer))
18:04:16 <Scelestis> adding:
18:04:19 <Scelestis>     if not interesting_headers.has_key('x-amz-acl'):
18:04:19 <Scelestis>         interesting_headers['x-amz-acl'] = ':public-read'
18:04:30 <Scelestis> it seems to render the file, but it wont store it to S3
18:06:03 <Scelestis> or adding to aws_auth_headers:
18:06:04 <Scelestis>         if not headers.has_key('x-amz-acl'):
18:06:04 <Scelestis>             headers['x-amz-acl'] = ":public-read"
18:29:27 *** rcoup (n=rcoup@ip-118-90-79-181.xdsl.xnet.co.nz) has joined #mapnik
18:47:57 <Scelestis> Hmm, if anyone cares, looks like my syntax was a bit off in the _aws_auth_headers method, should have been:
18:47:59 <Scelestis>         if not headers.has_key('x-amz-acl'):
18:47:59 <Scelestis>             headers['x-amz-acl'] = 'public-read'
18:49:08 *** Scelestis has quit (Remote closed the connection)
22:24:46 *** weizhuo (n=chatzill@nat/yahoo/x-a76852f71d1c87a8) has joined #mapnik
23:30:23 *** aub has quit ()