[DebianGIS-dev] Bug#599330: python-mapnik: broken on mips*: ImportError: invalid mode parameter

David Paleino dapal at debian.org
Sat Oct 9 10:22:09 UTC 2010


Hello Jakub,

On Wed, 6 Oct 2010 19:25:58 +0200, Jakub Wilk wrote:

> mapnik is not importable on mips{,el}:
> 
> $ python -c 'import mapnik'
> Traceback (most recent call last):
>    File "<string>", line 1, in <module>
>    File "/usr/lib/pymodules/python2.6/mapnik/__init__.py", line 53, in
> <module> from _mapnik import *
> ImportError: invalid mode parameter
> 
> 
> I believe that the attached (untested) patch fixes this bug.

Probably not, since the error happens later than what you patched (and it
also has an "except ImportError", so that traceback shouldn't have happened
at all, if that was the point of failure).

I'll investigate this more.

Thank you,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20101009/02b85fea/attachment.pgp>


More information about the Pkg-grass-devel mailing list