Opened 13 years ago

Closed 13 years ago

#29994 closed defect (fixed)

py26-biggles runtime error

Reported by: smaret (Sebastien Maret) Owned by: deric@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: py26-biggles

Description

py26-biggles @1.6.5 seems to be broken:

% /opt/local/bin/python2.6
Python 2.6.6 (r266:84292, Jun  9 2011, 15:13:52) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import biggles
>>> p = biggles.FramedPlot()
>>> p.add(biggles.Curve([1,2,3],[1,2,3]))
>>> p.show()
libplot: ignoring request to create plotter of unknown type
Segmentation fault

Attachments (1)

crash-log.txt (13.9 KB) - added by smaret (Sebastien Maret) 13 years ago.
Crash log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to deric@…

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Could you please attach the crash log?

Changed 13 years ago by smaret (Sebastien Maret)

Attachment: crash-log.txt added

Crash log

comment:3 Changed 13 years ago by smaret (Sebastien Maret)

I could fix the problem by installing the x11 variant of libplot and rebuilding biggles (the default variant of libplot does not have X11 support). Maybe the biggles port should depend on that specific variant of libplot ?

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Seems to be an upstream bug. They're not detecting when creating an X11 renderer fails. They already have fallback code that renders to a PNG file and then opens it with the OS's standard handler.

comment:5 Changed 13 years ago by deric@…

Reported upstream, thanks.

comment:6 Changed 13 years ago by deric@…

Resolution: fixed
Status: newclosed

Fixed in 1.6.7. r92754, it now throws a python exception instead.

Note: See TracTickets for help on using tickets.