[Bug 496327] [NEW] lacking python-cairo dependency causes segmentation fault

springmeyer dane.springmeyer at gmail.com
Sun Dec 13 22:34:51 UTC 2009


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 a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list