Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

PDF rendering errors (cairo Context.restore without matching Context.save) #1790

Closed
craigds opened this Issue · 1 comment

3 participants

@craigds

test case: https://gist.github.com/craigds/961b3340aa46afc6c1ec

Traceback (most recent call last):
  File "./mapnik_pdf_test.py", line 39, in <module>
    page.render_map(m, "output.pdf")
  File "/usr/lib/pymodules/python2.6/mapnik/printing.py", line 613, in render_map
    render_map()
  File "/usr/lib/pymodules/python2.6/mapnik/printing.py", line 610, in render_map
    ctx.restore()
cairo.Error: Context.restore without matching Context.save
python: /build/buildd/cairo-1.8.10/src/cairo.c:218: cairo_destroy: Assertion `((*&(&cr->ref_count)->ref_count) > 0)' failed.
Aborted

with mapnik 2.1.0 and python-cairo 1.8.8-1 on ubuntu 10.04.4

cc @rcoup

@rcoup rcoup was assigned
@springmeyer
Owner

Pretty sure I fixed this in 86dfa07#diff-8bebdff030c2ae7fa18b66719ab9d236

@springmeyer springmeyer closed this
@springmeyer springmeyer added this to the Mapnik 3.x milestone
@Furcube Furcube referenced this issue from a commit in Furcube/mapnik
Ilya Danilyuk Applied fix for #1790
Updated deps
Fixed agg_conv_adaptor_vpgen.h to initialize variabled
a921e1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.