Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geo_demo fails on OpenBSD #2121

Closed
vext01 opened this issue Jun 10, 2013 · 2 comments
Closed

geo_demo fails on OpenBSD #2121

vext01 opened this issue Jun 10, 2013 · 2 comments

Comments

@vext01
Copy link

vext01 commented Jun 10, 2013

As discussed in #2101, geo_demo from the old test suite fails on OpenBSD:

    driving ../pylab_examples/geo_demo.py           
Traceback (most recent call last):
  File "_tmp_geo_demo.py", line 32, in <module>
    savefig(r"pdf/geo_demo", dpi=150)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/pyplot.py", line 472, in savefig
    return fig.savefig(*args, **kwargs)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/figure.py", line 1370, in savefig
    self.canvas.print_figure(*args, **kwargs)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/backend_bases.py", line 2117, in print_figure
    **kwargs)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/backends/backend_pdf.py", line 2327, in print_pdf
    self.figure.draw(renderer)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/artist.py", line 54, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/figure.py", line 1006, in draw
    func(*args)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/artist.py", line 54, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/axes.py", line 2089, in draw
    a.draw(renderer)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/artist.py", line 54, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/axis.py", line 1055, in draw
    tick.draw(renderer)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/artist.py", line 54, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/axis.py", line 233, in draw
    self.gridline.draw(renderer)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/artist.py", line 54, in draw_wrapper
    draw(artist, renderer, *args, **kwargs)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/lines.py", line 528, in draw
    drawFunc(renderer, gc, tpath, affine.frozen())
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/lines.py", line 867, in _draw_lines
    self._lineFunc(renderer, gc, path, trans)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/lines.py", line 929, in _draw_dotted
    renderer.draw_path(gc, path, trans)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/backends/backend_pdf.py", line 1516, in draw_path
    self.check_gc(gc, rgbFace)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/backends/backend_pdf.py", line 1446, in check_gc
    delta = self.gc.delta(gc)
  File "/home/edd/source/matplotlib/build/lib.openbsd-5.3-amd64-2.7/matplotlib/backends/backend_pdf.py", line 2171, in delta
    ours = np.asarray(ours)
  File "/usr/local/lib/python2.7/site-packages/numpy/core/numeric.py", line 235, in asarray
    return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.

'''
@vext01
Copy link
Author

vext01 commented Jun 10, 2013

This is from the v1.2.x branch.

@tacaswell
Copy link
Member

@vext01 I can not reproduce this on arch with current master. If you can still reproduce this please re-open this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants