lacking python-cairo dependency causes segmentation fault

Bug #496327 reported by springmeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mapnik (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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!

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.
>

Revision history for this message
springmeyer (springmeyer) wrote :

note, this is fixed in the 0.7.0 release, so this bug can be closed if https://bugs.launchpad.net/ubuntu/+source/mapnik/+bug/526070 were addressed.

Felix Geyer (debfx)
Changed in mapnik (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.