Comment 1 for bug 496327

Revision history for this message
Christophe Sauthier (christophe.sauthier) wrote : Re: [Bug 496327] [NEW] lacking python-cairo dependency causes segmentation fault

I am on a real rush right now, but I hope to give it a real look on wednesday

On Sun, Dec 13, 2009 at 11:34 PM, springmeyer
<email address hidden> wrote:
> Public bug reported:
>
> Urgent, we need an update to the python-mapnik package.
>
> When Karmic systems do not have the 'python-cairo' package installed the
> python-mapnik package is unusable and segfaults. This was fixed in the
> debian 0.6.1 package and upstream - both workarounds.
>
> Ideally the existing python-mapnik package can up updated so that
> python-cairo is a required dependency AND the fix from upstream can be
> included as a patch.
>
> See http://trac.mapnik.org/ticket/392 for more detail.
>
> Here is the situation on a fresh Karmic machine:
>
> # apt-get install python-mapnik
> # python
>>>> from mapnik import *
>>>> m = Map(10,10)
>>>> im = Image(10,10)
>>>> render(m,im)
> Segmentation fault
> # apt-get install python-cairo
> # python
>>>> from mapnik import *
>>>> m = Map(10,10)
>>>> im = Image(10,10)
>>>> render(m,im)
>>>> # works!
>
> ** Affects: mapnik (Ubuntu)
>     Importance: Undecided
>         Status: New
>
> --
> lacking python-cairo dependency causes segmentation fault
> https://bugs.launchpad.net/bugs/496327
> You received this bug notification because you are subscribed to mapnik
> in ubuntu.
>