[MapProxy] Problems with UMN Mapserver 6.0

Oliver Tonnhofer olt at omniscale.de
Thu May 19 05:26:23 EDT 2011


On 18.05.2011, at 17:21, Stefan Schantz wrote:
> My Mapproxy installation (MapProxy Version 1.0.1) works fine with the UMN 5.6.6. But if I change my UMN version to 6.0, I get an error (IndexError: string index out of range, see paster.log).
> The same request in a browser (see client.log) works. So it seems, that the Mapserver 6.0 works fine.
> Any idea?
> [...]
> File "/usr/lib64/python2.6/site-packages/PIL/PngImagePlugin.py", line 44, in i32
>   return ord(c[3]) + (ord(c[2])<<8) + (ord(c[1])<<16) + (ord(c[0])<<24)
> IndexError: string index out of range


Looks like PIL doesn't like the PNG image returned by Mapserver. Can you upload that image somewhere?

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn






More information about the MapProxy mailing list