Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58884 closed defect (fixed)

qhull @2019.1_0 failure with Python/Matplotlib/Scipy

Reported by: spacecataz Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: mamoll (Mark Moll)
Port: qhull

Description (last modified by mf2k (Frank Schima))

Greetings,

When I try to use py37-matplotlib @3.1.1_0+cairo+webagg to perform an action that requires a triangulation via the Qhull library, it fails with the following message:

QH6249 qh_lib_check: Incorrect qhull library called.  Size of qhT for caller is 2792, but for qhull library is 2896.
QH6256 qhull internal error (qh_lib_check): Cannot continue due to QH6249..  Library 'qhull 7.3.2 (2019.1 2019/06/21)' should use a static qhT (e.g., libqhull.so).  It may be out-of-date.  Exit with 49

While this appears to happen with any triangulation, it is easily reproducible using this example from the Maptlotlib website: https://matplotlib.org/3.1.1/gallery/images_contours_and_fields/irregulardatagrid.html#sphx-glr-gallery-images-contours-and-fields-irregulardatagrid-py

The error states that qhull may be out of date, this does not appear to be the case.

This is new behavior, but I cannot pinpoint when it started happening (I upgraded outdated ports last week, but haven't attempted a triangulation recently).

I am currently listing this as an issue with Qhull, but this could be a problem with matplotlib or scipy. My apologies as I'm not entirely sure where to direct this request.

Change History (3)

comment:1 Changed 5 years ago by mamoll (Mark Moll)

Owner: set to mamoll
Resolution: fixed
Status: newclosed

In 1356a882f888dd03dbe39d07da2562ec6bacc030/macports-ports (master):

gdal, libpcl, saga, ipe, palapeli, octave, py-matplotlib, FreeSOLID, plplot, plplot510, solid: revbump ports that depend on qhull, since qhull got updated recently. Closes #58884.

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Cc: mmoll@… removed
Description: modified (diff)
Keywords: matplotlib removed
Port: @2019.1_0 removed

comment:3 Changed 5 years ago by spacecataz

Thank you- I must have just missed some of these updates as I did an update outdated yesterday before posting this. This morning, both MPL and Numpy are updated and things work.

Thanks; sorry for the poor timing.

Note: See TracTickets for help on using tickets.