lacking python-cairo dependency causes segmentation fault
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://
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!
Changed in mapnik (Ubuntu): | |
status: | New → Fix Released |
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 trac.mapnik. org/ticket/ 392 for more detail. /bugs.launchpad .net/bugs/ 496327
<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://
>
> 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:/
> You received this bug notification because you are subscribed to mapnik
> in ubuntu.
>