Opened 6 years ago

Closed 6 years ago

#42431 closed defect (fixed)

py-tables crash on Mavericks involving blosc

Reported by: r.ryans@… Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: dershow
Port: py-tables

Description (last modified by mf2k (Frank Schima))

The latest update to py-tables has caused an error for me on Mavericks on more than one machine. This seems linked to the added dependency on blosc. When running python and trying to import tables an error occurs:

matt::{ ~ }-> ipython-2.7 
Python 2.7.6 (default, Nov 18 2013, 15:12:51) 
Type "copyright", "credits" or "license" for more information.

IPython 1.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import tables
ImportError                               Traceback (most recent call last)
<ipython-input-1-389ecae14f10> in <module>()
----> 1 import tables

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/ in <module>()
     81 # Necessary imports to get versions stored on the cython extension
---> 82 from tables.utilsextension import (
     83     get_pytables_version, get_hdf5_version, blosc_compressor_list,
     84     blosc_compcode_to_compname_ as blosc_compcode_to_compname,

ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/, 2): Symbol not found: _blosc_compcode_to_compname
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tables/

Reverting to the previous Portfile, which omits blosc, makes everything work again for me, but obviously I don't need blosc!

Change History (4)

comment:1 Changed 6 years ago by dershow

Cc: dersh@… added

Cc Me!

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

Description: modified (diff)
Keywords: py-tables blosc removed
Owner: changed from macports-tickets@… to mmoll@…

In the future, please use WikiFormatting, and Cc the port maintainers (port info --maintainers py-tables).

comment:3 Changed 6 years ago by mamoll (Mark Moll)

Fixed in r116933. Apparently, the version of blosc was too old.

comment:4 Changed 6 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.